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-20 5:39 AM
All,
Fyi the infrastructure has been fixed, cube pack sync should be ok now.
Apologies for the inconvenience.
2025-10-18 4:52 AM
I'm the same; many chips can't be selected—they can be compiled but not flashed.
2025-10-18 5:38 AM
Same issue here, had to go back to old version.
2025-10-18 7:39 AM - edited 2025-10-18 9:26 AM
For some reason if the device pack failed to be downloaded you won't be able to select that family again - if you delete the HOME/Library/"Application Support"/stmcube/ folder and run "STM32Cube: Install prerequisite bundle" again you might be able to select every device again.
But for me, downloading the device pack still fails every time.
2025-10-18 8:58 AM
Same issue on VS Code Windows as well. It's happening to both my computers.
2025-10-18 7:08 PM
I also encountered the same problem on WINDOWS, and now I am completely unable to use it
2025-10-18 8:22 PM
Can confirm its affecting me as well on Linux.
Seems like the pack api server is down/broken. Hopefully ST can fix it this weekend.
I can build projects but not debug with the stlink gdb server. Went back to using cortex-debug and that is working OK for now.
2025-10-19 1:41 AM
Has there been a solution found?
2025-10-19 2:57 AM
I’m facing a similar issue after updating to 3.6.4 — it seems like the pack synchronization is failing due to a metadata parsing error (Unexpected close tag) on the ST pack server. The 503 response also suggests a temporary server-side issue. You could try clearing the .stmcube/packs folder and re-syncing once the ST server stabilizes. Running cube --pack-update from the CLI sometimes helps too. Hopefully ST resolves this soon, as the new version seems to break metadata sync on macOS (Aarch64).
2025-10-19 12:56 PM
To the STM32 team, may I suggest that you don't publish updates on a Friday if you're not going to be around during the weekend to fix issues like this?