Arduino-esp32: super slow download from arduino ide board manager

Created on 26 Oct 2019  路  23Comments  路  Source: espressif/arduino-esp32

Does your server have a performance or other problem?

I am currently downloading the esp32 boards support from arduino ide's "boards manager" at about 20kB/s. Sometimes it is even much slower than that.

Last try, it aborted after downloading half of the 69.248kB package and the whole procedure is taking hours already, which is rather annoying.

I have a 250Mbit/s connection here and a speed test shows ok speed for my connection, so it seems to be either the server or the connection to it in the internet.

Debian Linux "stretch", Arduino IDE 1.8.10 64bit.

stale

Most helpful comment

I'm also having the same issue. Downloading is very very very slow.

All 23 comments

https://github.com/espressif/arduino-esp32/releases/download/1.0.4/esp32-1.0.4.zip

This is from the console log. So, is github slow or throttling connections?

How exactly would you like this issue resolved?

Does it matter? If it is resolved at all, I'm fine.

Does your server have a performance or other problem?

Github is not run by Espressif, it's not "their server." Github is owned by Microsoft.

I have a 250Mbit/s connection here and a speed test shows ok speed for my connection, so it seems to be either the server or the connection to it in the internet.

And on the other hand, I just tested it and I got 9.78MBps, or 78.24Mbps.

The issue could very well be e.g. a routing-problem at your ISP or somewhere between your ISP and Github, for example. It's not necessarily anything to do with Github itself.

I can test it monday from another ISP to see if it can be reproduced.

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

Hmm, still need to test it again. If somebody else gets to it before me, feel free.

[STALE_CLR] This issue has been removed from the stale queue. Please ensure activity to keep it openin the future.

[STALE_SET] This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

[STALE_DEL] This stale issue has been automatically closed. Thank you for your contributions.

Obviously this is not espressif's problem but thought I'd chime in here that I'm having the same issue. Unbelievably slow. Visiting the sites is fine. Tried downloading the release directly via a download manager and that too is incredibly slow. Slower in fact. 3.4KBps is the peak and it's constantly cutting out. Each request to add a new chunk is replied with a 403.

I'm also having the same issue. Downloading is very very very slow.

Ditto. Getting ridiculously throttled by somebody!!

Considering that likely a lot of people are seeing this: reopen issue?

Reopen issue wont change too much. Its problem with slow github server and solution is to use different servers provider, but its no point to use github in that case.

is it other server to download? Download too slow from my country

@igrr reopen and try to provide a faster distribution mechanism?

If you could build a worldwide CDN to provide your 50MB of free software, that'd be great.

Actually seems to be the espressif server thats extreamly slow:

esptool-2.6.1-windows.zip
https://dl.espressif.com/dl/esptool-2.6.1-windows.zip
6 B/s - 192 KB de 3,3 MB

I can see the bits coming in one after another at that speed

I had the same issue.
I downloaded those file separately from the browser(as it was faster than downloading from Arduino IDE)

  1. https://github.com/espressif/arduino-esp32/releases/download/1.0.4/esp32-1.0.4.zip
  2. https://dl.espressif.com/dl/esptool-2.6.1-windows.zip
  3. https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip
  4. https://github.com/igrr/mkspiffs/releases/download/0.2.3/mkspiffs-0.2.3-arduino-esp32-win32.zip
    Download this 4file from given link. and copy those to "C:\Users[UserName]\AppData\Local\Arduino15\staging\packages\" directory.
    Then open Arduino Board Manager, Search for "esp32", and click install. As those files were already downloaded, so this time it will just install those files.
    Note: If you can't find "esp32" in board manager, make sure you added this link : "https://dl.espressif.com/dl/package_esp32_index.json" into "Additional Board Manager URLs" (You will find this option in File>Preference)

4. Note: If you can't find "esp32" in board manager, make sure you added this link : "https://dl.espressif.com/dl/package_esp32_index.json" into "Additional Board Manager URLs" (You will find this option in File>Preference)

Note that link is not valid or supported. The correct link is https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json as documented here.

I've just found the solution. I was trying to download the file from Argentina, but then I tried by downloading it using a VPN, and it worked perfectly.

I had the same issue.
I downloaded those file separately from the browser(as it was faster than downloading from Arduino IDE)

  1. https://github.com/espressif/arduino-esp32/releases/download/1.0.4/esp32-1.0.4.zip
  2. https://dl.espressif.com/dl/esptool-2.6.1-windows.zip
  3. https://dl.espressif.com/dl/xtensa-esp32-elf-win32-1.22.0-80-g6c4433a-5.2.0.zip
  4. https://github.com/igrr/mkspiffs/releases/download/0.2.3/mkspiffs-0.2.3-arduino-esp32-win32.zip
    Download this 4file from given link. and copy those to "C:\Users[UserName]\AppData\Local\Arduino15\staging\packages" directory.
    Then open Arduino Board Manager, Search for "esp32", and click install. As those files were already downloaded, so this time it will just install those files.
    Note: If you can't find "esp32" in board manager, make sure you added this link : "https://dl.espressif.com/dl/package_esp32_index.json" into "Additional Board Manager URLs" (You will find this option in File>Preference)

I tried this solution yesterday, but it automatic remove what I have done, and do download itself again! so I think it maybe have a mark or flag, which I need to set, and then I can skip download from internet. But I can't find that right now. Can anyone help?

Was this page helpful?
0 / 5 - 0 ratings