"Preferences" dialog shows proxy is configured as SOCKS after user configures HTTP proxy #1775
Closed
3 tasks done
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Describe the problem
Users may access the Internet via a proxy server. Arduino IDE can be configured for this use case via the "Network" tab of the "Preferences" dialog.
Two types of proxies are supported:
The proxy type is selected via a radio button on the dialog.
🐛 The radio button is set to "SOCKS" after the IDE is reloaded even though the user selected the "HTTP" radio button in the "Preferences" dialog when they configured the proxy preferences.
To reproduce
example.com
42
foo
bar
The index download process may now fail. This is expected due to the use of an dummy proxy configuration for the demo.
🐛 The radio button is set to "SOCKS":
Expected behavior
Proxy type radio button in the "Preferences" dialog always correctly reflects the proxy type that was configured.
Arduino IDE version
908ec4c
Operating system
Windows
Operating system version
10
Additional context
The "Preferences" dialog shows the correct "HTTP" radio button if the dialog is opened again after configuring the proxy but before restarting Arduino IDE. The fault only occurs after a restart.
The
network.proxy
key in~/.arduinoIDE/arduino-cli.yaml
does have thehttp
URL scheme as expected even though the "Preferences" dialog indicates it is a SOCKS proxy (for which Arduino IDE currently uses thesocks
URL scheme):Originally reported by @wh201906 at #1769
Issue checklist
The text was updated successfully, but these errors were encountered: