2025-03-04 3:53 AM
Hi community,
I'm encountering a "network connection failed" error in my Cube IDE. Despite reinstalling the IDE multiple times, the issue persists. As a result, I'm unable to generate the code. Any suggestions on how to resolve this?
2025-03-04 5:45 AM
Hello @qw2 ,
First let me thank you for posting.
Before checking the connection, you should set the connection parameters for STM32CubeIDE:
Go to [Window]>[Preferences]>[General]>Network connections]
Change [Active provider] to Manual.
Update the proxy entries for HTTP and HTTPS with specific HOST, Port, User, and Password using the [Edit...] button.
Then, go to [Window]>[Preferences]>[STM32Cube]>[Firmware Updater] and click on the "Check connection" button.
For more details, check the STM32CubeIDE user manual UM2609 section 1.5.3 Preferences - Network proxy settings.
Thanks.
Mahmoud