cancel
Showing results for 
Search instead for 
Did you mean: 

Network connection failed in Cubeide

Jhon_Henry
Associate II

 

 

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?

2 REPLIES 2
Ghofrane GSOURI
ST Employee

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.

 

Jhon_Henry
Associate II

Hi,

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