-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Proxy error, getting Boards and Libraries updates #5887
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 @iggapres , |
Hi @facchinm , At the time of the bug report, I could download the file via a regular browser or even using curl and the same proxy. I tried again today with no success on the Arduino IDE side, but still successfully with my Firefox. I have access to my proxy (squid) logs:
This one is the request made by the Arduino IDE
|
Hi @facchinm , I can confirm that I have the same issue as @iggapres . I'm using Windows 7, 64 bit, and I've installed everything. I've edited the preference file to have my proxy settings embedded -- and you can see that loaded when you restart the Arduino IDE. But I cannot connect to the repository to download the necessary packages (required for MKR 1000). However I can directly type in the link to Firefox and download the package contents - so I know its not an issue with our proxy nor server side issue. I think its an implementation issue with the Arduino IDE, and it sounds like this issue existed from version 1.6.x, from what I saw on google. I've restarted, run as administrator (had to convince IT department!), included domain with backslash before username... still access error. Coupled with the fact that I cannot seem to get the online editor to work either (plugin installed but somehow not recognised), I currently have no way to program the MKR1000; and I need to have some code written ASAP for a commercial feasibility I am working on. I would appreciate it if you can address this with urgency. |
I just installed squid in my local environment (so I have no fancy enterprise networking/NAT setup) and it just works (once configured via the IDE Preference/Network tab).
Using a Windows 10 host configured to connect through this same proxy and I get
I really can't help with your problem unless I'm able to replicate it, so I need some more debug information or a complete description of your proxy setup |
Hi, The only thing I can add is that the proxy, and the computer it's installed on, is configured in a way that only requests through the proxy can reach the web. I can't make tests anymore right now because of unusable computer. Thank you anyways for trying. |
Hi, we still think it's an implementation issue with the IDE. For starters the IDE doesn't seem to want to remember the HTTP proxy crendentials in preferences (resets on reloading of preferences - I think this may be related to the root cause of this issue), but you can type in the details in plain text (which may be a security issue but that's another story) in the configuration script (....\AppData\Local\Arduino15\Preferences.txt) and the IDE has the right settings on start up. If I load up board manager, without trying to use the proxy, we get a bunch of errors pointing to connection time out. If we set the Arduino IDE to use HTTP proxy, with deliberately the wrong credentials the console outputs:
and I get the same output even after using the correct settings. Again, using Firefox and the same proxy settings I can access both: and read the package index in plain text. |
I notice #6628 also involved a 416 error. |
Hi,
Using Aduino IDE 1.8.1 Linux 64 bits
OS is Fedora 25:
Java is OpenJDK:
When trying to "Tools / Board / Boards Manager...", or "Sketch / Include Libraries / Manage Libraries...", I get the following error:
No matter how I set my proxy (Arduino IDE, environment variables, gnome settings, ...) I have the same issue.
Of course, all other programs on my system work fine with this proxy.
I wrote a little Java program to test Java & Proxy together: it's working great.
The text was updated successfully, but these errors were encountered: