Closed mrwgx3 closed 7 years ago
As you can see from your logs there is a 403 error
java.io.IOException: Server returned HTTP response code: 403 for URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json
This means the server refuses to serve Sloeber :-( I just posted a blog about this issue. https://www.patreon.com/posts/esp8266-json-11224741
Your workaround is fine but turn off "update local json files" in the preferences->arduino->third party index url's or you'll get this error at every startup of sloeber.
As esp is not responsive I copied the file to my server and give priority to my server. This way, if this happens for other url's, I can act quickly.
Basic Infos
Hardware
OS, IDE, JAVA
Description
After un-successfully updating my last successful install of Sloeber, I decided for time expediency just to re-install using the latest nightly build. Much to my surprise, I got the following 'Problem Occurred' message just after starting the install:
The install then continues until 'make.zip' is being processed, then terminates prematurely. This results in the board libraries for the ESP8266 part not being installed. The work/error log is included at the end of this resport.
Next, I tried to re-install using the current stable version, with similar results, but WITHOUT the 'Problem Occurred' message. The work/error logs were almost identical, with slight differences in line numbers show for Java exceptions.
Lastly, I re-installed the Sloeber version I had been using, with results identical to the stable build install (work/error log not included, as it contained no new information).
Problem WorkAround
I was able to complete the install manually for all fore-mentioned IDE versions by:
1) Using the IDE's internal browser to download 'http://arduino.esp8266.com/stable/package_esp8266com_index.json' to the install's 'arduinoPlugin' (internal browser was used to see if it would choke as well):
2) Selecting and installing an Esp8266 SDK version:
The SDK install was tested by creating the 'blink' sketch example, then compiling and uploading it to the Huzzah Feather module.
Discussion
First some prior history...
My very first attempts at installing the Sloeber IDE were un-successful; the ESP8266 board selections were always missing. Per advice found on the Arduino forum, I even waited upwards to 20 minutes after the install seeming completed to insure that it had.
Noting that the Windows firewall was interrupting the install to ask for permissions, I then turned off the firewall reasoning that the interruption was the problem, and achieved a SUCCESSFUL INSTALL. Attempts to repeat this failure/recovery were fruitless, however, as EVERY install thereafter completed successfully; obviously some hidden variable(s) had changed.
Now back to the present...
Following the un-successful update attempt, I got several messages warning of missing files/downloads. Wanting to get on with my work, I decided a re-install with the latest nightly build would be the fastest remedy.
Given that I cannot now re-install what worked before, it's likely that another 'hidden' variable has changed. One cannot conclude, however, that the update itself caused the problem. Unfortunately, I didn't record any update warning messages before discarding it, which may have provided useful clues.
Regarding possible firewall interactions, I can offer only the following observations:
Let me know if I can do any testing to help resolve this issue.
Work/Error Log for Latest Nightly Build Install
Work/Error Log for Current Stable Build Install