2025-03-31 5:22 AM - edited 2025-03-31 5:25 AM
Hi. Newby question about my STM32CubeMX (6.14.0) installation on Ubuntu. With the initial 'update', why do I get so many...
:
2025-03-31 14:17:40,313 [INFO] WebApp:194 - Connection lost
2025-03-31 14:17:40,865 [INFO] WebApp:191 - Connection restablished
...messages on the console? Is this normal? Its being going on for hours now !!!!
(I have a good fiber connection to the internet)
Thanks for your time
LeonB
Followed step described in the readme as close as possible:
On Linux®:
I did not do the last step but instead started the app with:
$ sudo /usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/STM32CubeMX
2025-03-31 5:49 AM
I am not a Cube user...
> $ sudo /usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/STM32CubeMX
For several reason, I would avoid running normal user space applications as root.
They should never require such privileges.
Installation is a different matter.
> 2025-03-31 14:17:40,313 [INFO] WebApp:194 - Connection lost
> 2025-03-31 14:17:40,865 [INFO] WebApp:191 - Connection restablished
Especially considering the frequent hick-ups and issues on this forum (especially with logging in), this might be a problem on the other side - at ST.
Or poor design that can't deal with well with networking latencies.
Apart from that, I don't trust any application which regularly phones home at runtime, for no apparent reason.
Or an IDE with "web-apps" which could be done equally well or better locally.
And on a side note ...
> Do chmod 777 SetupSTM32CubeMX-6.14.0 to change the properties, so that the file is executable.
From the readme file, I suppose. This is bad style, as it grants blanket right to everybody.
I would do chmod +x <file> instead.
2025-03-31 7:26 AM
Yes, I had the same concerns, but doing the correct way do not solve this problem. Sigh.
2025-03-31 10:36 PM
> 2025-03-31 14:17:40,313 [INFO] WebApp:194 - Connection lost
> 2025-03-31 14:17:40,865 [INFO] WebApp:191 - Connection restablished
As you can see, these messages have "Info" level. So no need to really be concerned.
And, I would not start a GUI application from a shell, unless you really want to see those messages, e.g. if the application crashes or fails to start up.
Create a desktop launcher or start menu entry, and run it that way.
Although I think the Cube installer should have done that already.
But this way, you are not bothered with a torrent of info messages.
2025-03-31 11:36 PM
I do not care about the 'secure' or correct way of doing things nor about the output of the app.
I want to know why it takes so long. Can anybody from ST reply please.