Skip to main content
Associate II
March 7, 2025
Question

Network connection failed in Cubeide

  • March 7, 2025
  • 3 replies
  • 692 views

 

 

Hi Community,

I'm encountering a "Network connection failed" error in CubeIDE. Despite reinstalling the IDE multiple times, the issue persists, preventing me from generating code.

Does anyone have suggestions on how to resolve this?

Additionally, regarding this post::

Where do we get this information?
"Update the proxy entries for HTTP and HTTPS with a specific HOST, Port, User, and Password."
For example, where do we find the HOST, PORT, and User credentials?

3 replies

Ghofrane GSOURI
Technical Moderator
March 7, 2025

Hello @Jhon_Henry 

Case 1: Using a Proxy Server ( If a proxy server is used for Internet access)
Open STM32CubeIDE.
Navigate to Window > Preferences (or STM32CubeIDE > Preferences on macOS).
Go to General > Network Connections.
Set Active provider to Manual.
Edit HTTP and HTTPS proxy entries:
Click [Edit…] and enter the Host, Port, User, and Password provided by your network administrator.
Apply and close the Preferences pane.
Case 2: No Proxy Server
Open STM32CubeIDE.
Navigate to Window > Preferences (or STM32CubeIDE > Preferences on macOS).
Go to General > Network Connections.
Set Active provider to Direct.
Apply and close the Preferences pane.

 

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.
Associate II
March 7, 2025

Hi,

I don't have a proxy server. I tried Case 2, but it's still not working.

Associate II
March 11, 2025

Can I get a solution?