2023-12-04 10:57 AM
STM32CubeIDE version: 1.14.0
OS version: Red Hat Enterprise Linux 8
---
I'm having trouble getting the "Check Connection" button under the "Firmware Updater" preferences to work.
I'm running behind a corporate proxy, and have the "Active Provider" under the "Network Connections" preferences is set to "Native", which pulls in the proxy settings from my system. And this allows other connections to work such as "Eclipse Marketplace" and "Available Software Sites".
Two things to note:
Number 2 is of importance, because when attempting to run "Check Connection", the following line is printed to the workspace/.metadata/.ide.log:
[WARN] CheckConnectionManager:291 - Warning during Server Connection : timeout Connect to sw-center.st.com:443 [sw-center.st.com/184.29.143.169, sw-center.st.com/184.29.143.163] failed: Connect timed out
So it's able to reach it for reloading Software Sites, but not for anything else.
Any thoughts on how to get this working? Thanks!
2023-12-05 01:06 AM
Hello @plwalsh
First let me thank you for posting.
Since you are connecting via a PROXY you need to set the "Network connection" settings to Manual.
Check this article for more details.
KR,
Semer.
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.
2023-12-05 06:12 AM - edited 2023-12-05 06:15 AM
Hi Semer,
I should've mentioned that I also tried using "Manual", but it did not work. And I just tried it again now and the "Check Connection" still fails.
What exactly would be the difference between "Manual" and "Native" anyway, when the end result is the same settings? My host system has an /etc/profile.d drop-in script that configures the proxy variables. And when I open "Network Connections" and set it to "Native", those variables are auto-populated with the correct values configured by the drop-in script.
It seems the only difference between setting it to "Manual" is that I then have to manually type in the variable values that were already auto-populated by "Native". Or am I missing something?
Thanks!
2023-12-07 07:49 AM
Hi Semer,
So it turns out that even being behind a corporate proxy, and always needing to have my http_proxy and https_proxy variables set to "hostname.company.com:1234", the only way for the "Check Connection" button to work is by selecting the "Direct" provider in the "Network Connections" settings panel.
After spending days trying to figure this out, there are two issues I've noted:
Please update that documentation so other people don't waste as much time as I have already.
Thank you!