Can't download ESP32 core with arduino-cli

After I run command

arduino-cli core download esp32:esp32

cli hangs forever. Meanwhile other packages, like basic arduino:avr and arduino:nrf52, were downloaded and installed successfully. I've even checked .json url for Espressif ESP32 core download, and it was available, as well as .zip archive at GitHub on a respective release page.

What can be an issue?

Hi @erlingsigurdson. Do you see a progress indicator during the operation?

You should see something like this:

$ arduino-cli core download esp32:esp32
esp32:esp32@2.0.14 14.99 MiB / 240.81 MiB [=========>------------------------------------------------------------------------------------------------------------------------------------------------]   6.22% 14m39s

If so, what does it show when the process hangs?

Does the progress indicator freeze completely, or does the percentage number continue to increase?

There's not progess indicator, only "time passed" line.

Seems to be a DNS issue (I'm using a cloud VM for this purpose). My local Linux laptop connects to https://raw.githubusercontent.com OK.

What is the exact link you have in your arudino-cli configuration file to download the required platform?

check if firewall can block the installing process.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.