-
-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Network configuration items can't be unset #1677
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
Thanks for the report @butor32! I was able to reproduce the issue directly via the Arduino CLI gRPC interface (using the excellent grpcurl tool), so I have now transferred this issue to the Setup
Reproduce issue via the gRPC interface
🙂 The
🐛 The
🙂 The
🐛 The WorkaroundI will share the workaround for this issue:
You should now find that "No proxy" is selected in the "Network" tab of the "Preferences" dialog. |
Thanks to the recently added enhanced logging capabilities of Arduino IDE 2.x, I can now see that my use of This is the relevant log output from trying to set "No proxy" in the Arduino IDE 2.0.0-rc9.2.snapshot-34a7fdb preferences:
(note also the Setup
Reproduce issue via the gRPC interface
🙂 The
🐛 The 😕 The
🙂 The
🐛 The The odd thing is this was reported previously and then closed as fixed: #1161 I notice it appears to be more of a "half fix" because it only addressed the bug in the This bug would give the impression there was a regression at some point after that fix. However, I have the same problems even using the Arduino CLI build from the very commit that made the fix. I also notice that the integration test assertion is not as I would expect: arduino-cli/commands/daemon/settings_test.go Lines 65 to 70 in fa478dd
Why should the value of
🙂 The
🐛 The 😕 The
🙂 The
🐛 The |
Describe the problem
If you set the
network.proxy
key (e.g., via the "Network" tab of the Arduino IDE preferences dialog), then during a later IDE session try to disable the proxy preference, Arduino CLI continues to attempt to connect to the Internet via a proxy.To reproduce
🐛 The "Manual proxy configuration" radio button is selected.
🐛 When Arduino CLI attempts to download resources from the Internet, an error like "
proxyconnect tcp: dial tcp: lookup _: no such host
" occurs.Expected behavior
It is possible to disable the proxy after enabling it.
Arduino CLI version
0.29.0
Operating system
Operating system version
Additional context
The
network.proxy
key in~/.arduinoIDE/arduino-cli.yaml
is set tohttp://_/
Workaround
<username>
is your Windows username)~/.arduinoIDE/
folder may be hidden by default in your file manager and terminal.~/.arduinoIDE/
folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.You should now find that "No proxy" is selected in the "Network" tab of the "Preferences" dialog.
Additional reports
Issue checklist
The text was updated successfully, but these errors were encountered: