2025-10-17 7:13 PM - edited 2025-10-17 8:13 PM
Just upgraded to the latest version of STM32Cube for VS Code extension (3.6.4) and now the extension stopped to work. I've tried reinstalling the extension pack several times. Every time after the bundle was installed an error show up saying "An error occurred while synchronizing metadata. Please try run "STM32Cube: Install prerequisite bundle" and "STM32Cube: Synchronize pack list". Or work offline."
Running "STM32Cube: Install prerequisite bundle" from the VS Code command palette will result in a message saying "No STM32Cube bundle to install", subsequently running "STM32Cube: Synchronize pack list" will return the original metadata synchronization error.
I checked my HOME/Library/"Application Support"/stmcube/ directory, the bundle/ folder seems to contain what I expected, things like cmake, gnu-gdb-for-stm32 or the stink-gdbserver, etc. However, the packs/ folder is empty, not sure if that's the problem.
I checked the output log of STM32Cube Core and found the following:
Solved! Go to Solution.
2025-10-19 1:25 PM
at this point I am pretty sure the problem is st's server hosting APIs for accessing the device packs. a simple curl https://developer.st.com/st-pack-server/api/v1/ would return a html with the following content: "
An error occurred while processing your request"
hopefully st can address the problem asap this Monday.
2025-10-19 2:13 PM
Thank you for your kind advice. I want to reassure you that we are not "playing this game" at all. Our VSCode-related releases are always pushed on Mondays. We conduct thorough validation, but given the wide variety of combinations involving the marketplace, third parties, and Microsoft itself, some issues may still arise.
For your reference, our latest update was released on October 13th. This update moved the extension pack from pre-release to release and updated metadata only. All other features remain the same as in the pre-release version published on September 29th. Over the two weeks between releases, we had more than 3,000 end users and almost no complaints.
Interestingly, the move to release exposed the extension to a wider user base and more varied setups, which has led to the issues you are reporting here.
We worked over the weekend to address this, and I can confirm progress. We will update you as soon as possible.
2025-10-19 2:24 PM
Thank you for pointing out the date of the last update, and for your valiant efforts working over the weekend to resolve this. It's appreciated.
I'm also mindful that I made the conscious decision to participate in the pre-release, and understand that there are risks involved for early adoption.
2025-10-19 8:22 PM
Has it been fixed?
2025-10-19 10:29 PM
As far as I know, not yet. I assume a solution will be published here!
2025-10-20 1:17 AM
I have the same issue.
and running either of these commands brings the error back or says "No STM32Cube bundle to install"
2025-10-20 1:32 AM
All,
We acknowledge the issue, technical Teams are analyzing it.
No bundles nor packs were published late last friday, neither during the weekend.
We will post here any further information.
2025-10-20 1:54 AM
I thought there was something wrong with my configuration.
Because I just started learning to write stm32 with vscode
I hope the environment can become more mature and stable, otherwise it will be too difficult to troubleshoot errors when learning.
2025-10-20 2:32 AM
@zhuxiaodics6be assured that maturity and stability is in our Team's mindset, wherever it comes to software or infrastructure.
The issue has been localized, still working on the fix.
2025-10-20 5:39 AM
All,
Fyi the infrastructure has been fixed, cube pack sync should be ok now.
Apologies for the inconvenience.