cancel
Showing results for 
Search instead for 
Did you mean: 

“Authentication Error Manager – Connection lost”

vivek-devadiga
Associate

Screenshot 2026-04-27 171248.pngScreenshot 2026-04-27 171412.pngScreenshot 2026-04-27 172027.png

 

I am using STM32CubeIDE version 1.19.0, and I am encountering a network-related issue.

Problem

I receive the error:
“Authentication Error Manager – Connection lost”

Troubleshooting done

  • Verified that my internet connection is working properly

  • Tried using a mobile hotspot instead of Wi-Fi

  • Checked connectivity in the Firmware Updater (status shows OK)

System details

  • OS: Windows 11 Pro 

  • Laptop: Lenovo ThinkPad T14

  • Board: STM32F407VGT6 / STM32F407 Discovery

Additional context

Even though the Firmware Updater indicates a valid connection, the authentication error still occurs across different network setups.

Question

What could be the cause of this authentication/connection issue in STM32CubeIDE, and what steps can be taken to resolve it?


 

10 REPLIES 10
Ghofrane GSOURI
ST Employee

Hello @vivek-devadiga 

Please check the following LINK :How to set the network connection parameters for S... - STMicroelectronics Community where you can find a step-by-step guide to help you resolve the issue.

Another suggestion is to use the latest versions of STM32CubeMX 6.17.0 and STM32CubeIDE 2.1.1, in which the ST login feature has been removed from the user interface.

THX

Ghofrane

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.

Ghofrane GSOURI
ST Employee

Hello @vivek-devadiga 

Let's try to  refresh, close, and reopen the project, restart CubeIDE, and reopen the .ioc. If that does not help, create a new STM32 project for STM32F407VGTx in the same IDE, configure a simple pin like PD12, and test generation; if it works in the new project, your original project is likely corrupted. If it fails there too, try a new workspace; if it works in the new workspace, the old workspace is corrupted. If the issue still persists, verify that the STM32CubeF4 firmware package is properly installed and recognized by CubeIDE, and as a last step, repair or reinstall STM32CubeIDE.

THX

Ghofrane

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.

This does not work

Version 2.1.1 has the login removed but project creation does not work as expected. The target selection page does not load. The ioc does not load as well


@Libelelang wrote:

Version 2.1.1 has the login removed but project creation does not work as expected. The target selection page does not load. The ioc does not load as well


This is explained in your own thread on this subject  - here and here.

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

I have already verified the firmware package installation.

The STM32CubeF4 firmware package is properly installed on my system and it is correctly recognized in STM32CubeIDE. It is also visible under Software Package Installation in the IDE settings.

However, when I create a new STM32 project (STM32F407VGTx), the IDE still prompts me to install the firmware package again, even though it is already installed.

I have confirmed that the firmware files are present on my system and correctly detected by the IDE, but the issue persists.

Could you please help me understand why CubeIDE is not using the already installed firmware package?

Hello @Ghofrane,

Thank you for your response.

I have already followed the steps provided in the network configuration guide, but unfortunately, the solution does not work in my case. The issue still persists even after applying the suggested settings.

Additionally, I understand your recommendation to use the latest versions of STM32CubeMX (6.17.0) and STM32CubeIDE (2.1.1). However, at the moment I am working with STM32CubeIDE 1.19.0, and the problem occurs even when using both online and offline configurations.

To clarify:

- The STM32CubeF4 firmware package is already installed and correctly recognized in the IDE.

- It is visible under Software Package Installation.

- Despite this, when creating a new project, the IDE still asks to install the firmware again.

- The network-based solution did not resolve the authentication/connection issue.

Could you please suggest any offline workaround or explain why the IDE is not detecting the already installed firmware properly?

Thank you for your support.


@vivek-devadiga wrote:

I understand your recommendation to use the latest versions of STM32CubeMX (6.17.0) and STM32CubeIDE (2.1.1).


So why don't you do the update?

Note that you can install the new version without uninstalling the old one - so you can keep the old one as fall-back, just in case ...

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

Hello @vivek-devadiga 

Another suggestion is to use the latest versions, STM32CubeMX 6.17.0 and STM32CubeIDE 2.1.1. In these versions, the ST login feature has been removed from the user interface, and STM32CubeMX 6.17.0 is no longer integrated into STM32CubeIDE 2.1.1. Instead, the two tools are now interoperable.

For more details , please check the following LINKs:

STM32CubeMX download Link:STM32CubeMX | Software - STMicroelectronics

STM32CubeIDE 2.0.0 workflow tutorial - STMicroelectronics Community

STM32CubeIDE 2.0 release - early heads-up! - STMicroelectronics Community

 

 

THX

Ghofrane

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.