cancel
Showing results for 
Search instead for 
Did you mean: 

bundles manager takes very long time to load

ianzone
Associate III

Hi, the extension version is 3.8.0, and it usually takes 5min to load, is that normal? Also, is there any CDN or dedicated server for Chinese users? cuz it's troublesome to download those bundles here. Thx

15 REPLIES 15

I mean, I've already put ST domain into my proxy whitelist, so it's the same download speed as without the proxy. The timeout case is before I whitelist the domain. 

Nevertheless, when I don't run my proxy, the plugin load speed is still that slow. 


@ianzone wrote:

I've put *st.com into the proxy whitelist


*st.com is maybe not enough, I think you should add stmicroelectronics.d3.sc.omtrdc.net as well.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

omtrdc.net is whitelisted, still slow. And even if I don't run any proxy, still slow to load.

If network is the case, whether with or without proxy, it shouldn't block the thread to load local toolchain. 

ianzone
Associate III

sometimes it fails

2026-04-24 10:44:10.437 [Info]  Adding STM32Cube CLI path to environment: c:\Users\yihen\.vscode\extensions\stmicroelectronics.stm32cube-ide-core-1.2.1-win32-x64\resources\binaries\win32\x86_64
2026-04-24 10:44:10.559 [Info]  Configuring CUBE_BUNDLE_PATH environment: C:\Users\yihen\AppData\Local\stm32cube\bundles
2026-04-24 10:44:10.560 [Info]  NODE_EXTRA_CA_CERTS is not set
2026-04-24 10:44:10.650 [Info]  CMSIS_PACK_ROOT=C:\Users\yihen\AppData\Local\stm32cube\packs
2026-04-24 10:44:15.379 [Info]  cube wrapper version: 0.10.2
2026-04-24 10:44:16.317 [Info]  Online bundle cache built
2026-04-24 10:51:17.893 [Info]  Installing STM32Cube bundles prerequisites
2026-04-24 10:52:16.145 [Error]  Failed to initialize STM32Cube bundles: Failed to get list of available updates. Command failed with
2026-04-24 10:52:16.150 [Info]  STM32Cube Core activated (485736ms)
2026-04-24 10:52:16.152 [Info]  Syncing CMSIS-Pack metadata for C:\Users\yihen\AppData\Local\stm32cube\packs
2026-04-24 10:52:16.154 [Info]  No need to sync metadata, since recently updated.
ianzone
Associate III

I suspect this extension downloaded the toolchain everytimes, even if there were local files

ianzone_0-1777512548348.png

 

Hi @ianzone,

 


I suspect this extension downloaded the toolchain everytimes, even if there were local files

 

Be assured, it is not downloaded every time. However, yes, when registering a bundle in a project, network access may be used to get an updated list of bundles in the local metadata cache.

I see 2 errors:

[Error]  Failed to initialize STM32Cube bundles: Failed to get list of available updates.

Likely, the cube bundle list-online command run by the extension at startup failed, while a couple of days ago you said it worked fine. Was there any network change in the meantime?

The screenshot notification.

Do you already have any .settings/bundle.store.json file in your project?

If so does it contain Ninja?

Maybe try to do the same operation from the CLI to ensure no useful error message is being hidden by the UI: cube --cwd <project_path> bundle install ninja --project

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.