-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Proxy configuration not saved #7573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @matthjes , |
@matthjes are you still having this problem? We're still waiting for you to provide the information requested by facchinm. |
I can reproduce this problem with Arduino IDE 1.8.7 hourly build 2018/10/24 04:33 and Arduino 1.9.0-beta build 87 using Windows 10.
So there is clearly a bug in the Manual Proxy Configuration system. There is no problem writing any other preference and even It's also not clear whether it was intentional for Auto-detect proxy settings and Manual Proxy Configuration to share the same |
I can confirm this behaviour on Win10, IDE 1.8.8 Also behind a corporate firewal wall and must use a proxy with authentification. I tried several combinations in GUI and Does the auto configuration also look for the environment variables |
I can download the When trying to update the boards list I get
I noticed in another thread (#5887) that it could also show something like
This is the section from my
|
Could it be related to this? |
@solarjoe it might indeed be the case. Since you are on Windows it's a bit tricky to modify that config on the fly but I'm preparing a PR so you can test it and report if |
Should fix arduino#7573 Based on the suggestions from https://stackoverflow.com/questions/41806422/java-web-start-unable-to-tunnel-through-proxy-since-java-8-update-111
PR created here #8436 , binaries should be ready in an hour more or less. |
I just tested this and it works when I add
to the file |
I was not testing the new binaries, just modified the installation I had (1.8.8). |
If you could test the PR binaries it would be better since every OS has its own different launcher and adding flags is a bit tricky in some of them (OSX for example) |
Yes, that seems to fix it for me, but only if I enter the following parameters in the
These values are not saved when entered in the GUI, but they are read correctly from the file into the GUI if already present. |
I had the same issue and until 1.8.7 everything was fine. With 1.8.8. I try a lot to get my proxy settings working again. By just adding the mentioned line into |
@ThomasBe, do you also see the issue with the proxy setting not being saved when you enter them in the UI? |
@solarjoe , I only use the "auto_proxy_part" and everything works regarding modyfing in GUI or via preferences.txt. |
With PR #8436 I have the following experience going through the steps from above: Filling the manual proxy config with "abc" clicking ok and opening it again shows only hostname and port filled. proxy.manual.hostname= First thought caused by my job - I should not be able to fill in "abc" into a pure number field :-D Filling the auto proxy config with "abc" clicking ok and opening it again shows everything filled. proxy.manual.hostname= No Proxy shows me nothing special in the config but stays selected in the gui even after reopening |
Beeing on Unbuntu 18.04 with Arduino 1.8.9 I managed to make the IDE remember my proxy credentials by editing the
Can someone help me find those |
Should be in the same folder as your Arduino IDE binary. |
On my Win10-machine, yes, under Ubuntu, sadly not... |
I checked 'my problems' with the latest version (1.8.10) and internet connection stuff works fine for me without any additional work around. So I just entered my network settings using the automatic configuration via configuration url. |
@TomasRoj thanks a lot for testing. I'm closing this as fixed, if it's not please comment here and we'll reopen it. |
@facchinm the proxy host and port is saved in preferences.txt.
|
Hi @QGB. Arduino IDE 2.x uses a completely different preferences store from Arduino IDE 1.x. The You can configure the proxy of Arduino IDE 2.x by doing the following:
If you have any questions or problems, please post over on the Arduino Forum. I'll be glad to help you out over there: |
I delete all I have to manually download and save to cache file
|
Hi,
I'm working behind a corporate proxy, so I need to configure the proxy in the IDE. However, when I enter the proxy credentials, close the configuration window, and reopen it again, the credentials are missing. This also happens when I enter the credentials directly into the preferences.txt: as soon as I restart the IDE the credentials get erased.
This happens with version 1.8.5 and 1.9.0 beta.
This problem is also described in this thread: https://forum.arduino.cc/index.php?topic=392432.0
The text was updated successfully, but these errors were encountered: