-->
Page 1 of 3

Error downloading http://downloads.arduino.cc/packages/pa...

PostPosted: Tue Jun 28, 2016 10:57 pm
by chamathkv
Hello, I've been trying to obtain the board for the ESP 8266 on my Arduino IDE. However there is a small error. The URL "http://arduino.esp8266.com/stable/package_esp8266com_index.json" is added into the Additional Board Manager URLs and then I go into the Boards Manager Section in tools. The manager tries to show the board in the list, and then just displays "Error downloading http://downloads.arduino.cc/packages/package_index.json". The area in the IDE that shows compilation details shows the following:

Error downloading http://downloads.arduino.cc/packages/package_index.json
java.lang.RuntimeException: java.lang.Exception: Error downloading http://downloads.arduino.cc/packages/package_index.json
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$19(ContributionManagerUI.java:151)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Exception: Error downloading http://downloads.arduino.cc/packages/package_index.json
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:113)
at cc.arduino.contributions.packages.ContributionInstaller.download(ContributionInstaller.java:330)
at cc.arduino.contributions.packages.ContributionInstaller.downloadIndexAndSignature(ContributionInstaller.java:305)
at cc.arduino.contributions.packages.ContributionInstaller.updateIndex(ContributionInstaller.java:283)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$19(ContributionManagerUI.java:147)
... 1 more
Caused by: java.io.IOException: Received invalid http status code from server: 416
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


Would greatly appreciate any help on this issue. Thanks in advance.

Re: Error downloading http://downloads.arduino.cc/packages/p

PostPosted: Sun Feb 19, 2017 8:48 pm
by pbarreneche
Me pasa lo mismo, alguien que pueda ayudar? yo lo tenia instalado y al no poder actualizarlo se borro y ahora me da el mismo mensaje

It happens to me, someone who can help? I had it installed and unable to update it deleted and now gives me the same message

Re: Error downloading http://downloads.arduino.cc/packages/p

PostPosted: Sun Feb 19, 2017 8:59 pm
by pbarreneche

Re: Error downloading http://downloads.arduino.cc/packages/p

PostPosted: Sun Feb 26, 2017 10:16 pm
by edualex
Olá,

Estava com o mesmo problema e a solução para meu caso foi:

1. Open command prompt (windows start button, type cmd in search)
2. Click top left of command prompt, click properties, enable quick edit mode
3. Copy: setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true
4. Right click on command prompt, should paste
5. Hit enter. That easy!

Fonte:
https://rntlab.com/question/error-while ... duino-ide/