Description
Describe the problem
I have a SOCKS proxy on port 1233
and a http proxy on port 1234
. No matter which proxy type I select in Arduino IDE(SOCKS
or HTTP
), if I set the port to 1234
, everything works fine, if I set the port to 1233
, the network error occurs. It seems like the Arduino always uses the http proxy regardless of the proxy type I selected.
Plus, If I configure a http proxy in settings, it will be shown as SOCKS proxy the next time I open the Arduino IDE. But the arduino-cli.yaml
still shows that it's a http proxy.
To reproduce
- Set a SOCKS proxy on port
n
and a http proxy on portn+1
- In Arduino, set the SOCKS proxy on port
n
, the network error occurs (which shows the problem) - Set the http proxy on port
n+1
, the network works fine - Set the SOCKS proxy on port
n+1
, the network works fine (which is unexpected) - Set the http proxy on port
n
, the network error occurs
Expected behavior
The SOCKS proxy should work.
Arduino IDE version
Version: 2.0.3 Date: 2022-12-05T09:30:25.331Z CLI Version: 0.29.0 [76251df9] Copyright © 2022 Arduino SA
Operating system
Windows
Operating system version
Windows 10
Additional context
I have checked the proxy and I'm sure port 1233
only accepts SOCKS and 1234
only accepts http.
Both of proxy work in other apps.
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details