2025-08-29 1:45 AM - edited 2025-08-29 1:46 AM
VS Code report: "Unable to contact the STM32Cube registry, verify your Internet connection..."
Can I know the registry URL of the STM32Cube bundles registry and test its connection?
2025-09-16 11:54 PM
Everything looks ok from the logs, the failures are due to the fact that our underlying cube command fails to get the list of remote bundles, we have an internal discussion about your case on-going.
In the meantime, you can retry after removing every stm32cube folders:
2025-09-17 4:09 AM - edited 2025-09-17 4:10 AM
Thanks a lot, I retry the method and it seems not work.
And, if you need more information, please feel free to contact me. ;)
2025-09-17 6:16 AM
Hi,
Could you help us investigate two things, we are a bit suspicious that Your user name could be interpreted wrongly.
Do you have this as a login name 41541 ?
Can you run echo $LASTEXITCODE after running cube --verbose bundle list-all-online
2025-09-17 4:15 PM
Hi @Niklas-Dahlquist ,
"41541" is my Microsoft Email Account, the full name is "41541xxxx@xx.xxx". I run "whoami" in PowerShell, it show "laptop-2n9slqe6\41541".
It works on echo $LASTEXITCODE and cube --verbose bundle list-all-online.
But if I run STM32Cube: Install prerequisite bundles, it show these reports.
2025-09-18 6:22 AM
Seems like you are now able to list the content of the bundle registry, did you changed something (network connection, etc..) on your side which could explain?
What Niklas suggested was to do the echo $LASTEXITCODE once the cube command completes. It allows to print the exit code of the last executed command (usually 0 means success, >0 means a failure).
The second screenshot highlights that there are still some issues with the installation of the required bundles. Could you run the following commands in the suggested order?
cube bundle list
echo $LASTEXITCODE
cube bundle install cube-code-manifest@1.0.3+st.1 --yes
echo $LASTEXITCODE
cube bundle install cmake ninja --yes
echo $LASTEXITCODE
cube bundle list
echo $LASTEXITCODE
list: lists the bundles installed on your PC.
--yes: accepts the bundle licences by default (up to you to remove this option to read the licence terms)
2025-09-18 7:32 AM
Hi @Julien D ,
I don't change the network connection, it is interesting that it work in the morning...
And I run these commands in order, please check. Is here one error in cube bundle install cube-code-manifest@1.0.3+st.1 --yes?
Then I run the STM32Cube: Install prerequisite bundles again, and get some error.
2025-09-18 8:20 AM
Just sent a PM