Using IDE 1.6.8 I can't connect to the internet through a proxy, the IDE keeps deleting my account credentials.
I go to File > Preferences > Network panel, select "Manual proxy configuration", fill in the fields but whenever I do this, the IDE deletes my login and password. As a result it doesn't connect to the additionnal boards url I put in the preferences panel.
I even tried to set my password and login directly into the config file with a text editor but the IDE deleted them anyway.
So I'm blocked at this point since I can't download the package for my board.
I tried both the stable and hourly build (7 April 2016 12:13:13 GMT) versions with no luck.
Explain the type of proxy you are using ?
Is it just a VPN type ?
Server type of proxy ?
If it is VPN then there is no need to use it for the Arduino.
Think you need to provide some more details to get a better answer.
You can also edit your preferences file DIRECTLY and that may hold better as the proxy settings are held there too.
Open your IDE
Select File
Select Preferences
Near the bottom you will see a direct link to the prefs file on your machine.
Open that file into whatever text editor is currently your default.
Then CLOSE the IDE
Edit the prefs directly in the proxy settings and save (NOT as a TXT file)
Close your editor
Re start the IDE
Check that your proxy settings held.
If they do not hold then I can only assume you are on a VM or other network based machine.
In which case you should contact your network administrator to enable you to save files properly and not just temp / local
I'm not using a VPN, it's a HTTP proxy. All connexions to the internet in my company runs through it. The access to the internet is OK since all my other programs can go online using the proxy credentials I provided them with.
I'm not using a VM either, I'm on a classic, non-virtual, Windows 7 computer.
As I explained in my OP, I already tried to edit the preferences file directly but as I said, it doesn't take the credentials into account and even erases them from the file if I go back to the preferences panel.
I tried again today with 1.6.10 by manually modifying the preferences file before starting the IDE but still got no luck:
Caused by: java.io.IOException: Received invalid http status code from server: 407
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:194)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:128)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:111)
... 5 more
There are known bugs in 1.6.8
Maybe try 1.6.5 from the Zip version or 1.6.9 as they do work more reliably.
Do you have any cleaners that run during boot up or shut down ?
Just wonder if you might need to point the prefs file to a better location where it wont get deleted or changed.
It does sound like it may be a permissions type of issue or a temporary files location that might get cleaned up at times.