Skip to main content
Associate
November 9, 2023
Solved

STM Cube Programmer Server Connection error

  • November 9, 2023
  • 4 replies
  • 6698 views

When I open the Cube Programmer (2.14) I'm greeted by a Connection error message:
The server connection is not established.
The network connection is required to download updates.
Please check your proxy settings.

 

I'm not behind a proxy and tried various proxy settings, reinstalled Cube Programmer and older versions, disabled my firewall and yet can't connect to the server. This seems to prevent me from flashing my STM32G431CB as the Cube programmer needs to download something for that. When I try to program a STM32F446ZE everything is fine. The error message while flashing is:
stm32 Error: failed to download Segment[0]
Error: failed to download the File

 

Thank you!

This topic has been closed for replies.
Best answer by tom_gfriend

I tested it on another board and the programming worked fine. I guess it was just a hardware issue. I can't trace it back on the other board though as all pins are properly connected.

4 replies

Pavel A.
Super User
November 9, 2023

By "download" here it means reading from the MCU. Internet connection is not relevant here and not the reason of the failure to read the flash of STM32G4. Custom board => check everything.

 

Associate
November 9, 2023

Hey Pavel,

Do you know why the read operation might fail? I can connect to the MCU just fine and erasing the flash works too. Initially I didn't have a NRST pin connected but even after connecting it, it still fails. I tried it with an official STLinkV2, an STLink embedded into a Nucleo and a STLinkV2 clone. I'm connecting via SWD with SWDIO, SWCLK, 3V3, GND and optionally SWO connected.

That's probably not enough information to troubleshoot, so is there any way to get a more detailed log of the flash operation?

Pavel A.
Super User
November 10, 2023

Can you paste the whole log from the  Cube Programmer, please? 

tom_gfriendAuthorBest answer
Associate
November 15, 2023

I tested it on another board and the programming worked fine. I guess it was just a hardware issue. I can't trace it back on the other board though as all pins are properly connected.

Graduate
November 17, 2023

I also encountered this problem today. The problem is still unsolved.

In the beginning, I used STM32 Cube Programmer 2.12.0, and tried different proxy settings (both "No Proxy" and "Use System Proxy Parameters"). It didn't work. The server connection was still not established.

Later, I upgraded and used STM32 Cube Programmer 2.14.0, and tried different proxy settings (both "No Proxy" and "Use System Proxy Parameters"). It didn't work. The server connection was still not established.

Operation system:
Use VMware
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS" provided by osboxes.org
I've checked my network connection. The web browser can normally connected to the internet.

Brian H
Senior
April 22, 2024

The problem is definitely not solved.  At issue here is the title versus body of this forum thread.  The body describes two separate, unrelated problems: the "server connection is not established" error and the device programming error.  The OP's programming problem was solved and turned out to be a board issue.  The server connection problem is unrelated and must be an intermittent issue, as I've just run into it today for the first time in my experience with CubeProgrammer.

I've started a new thread specific to the server connection error.