Package_esp32_index.json hangs up loading

With apologies if I have missed the solution.
Arduino 2.3.3
Board ESP32C3 Dev Module
Preferences "additional boards manager URLs :https://espressif.github.io/arduino-esp32/package_esp32_index.json
results in "downloading index...." going to about 3/4 and stopping, apparently forever. No error, just doesn't load.
What am I doing wrong?
If I delete it, it hangs downloading index:package_index.tar.bz2, whatever that is.
Thanks in advance

4 Likes

Plus 1.

I noticed the other day that the ESP package downloaded on several startup instances.

1 Like

In addition, i cannot compile. It seems to wait for the download--which never happens.
At the moment, I am dead in the water.

1 Like

Hi! I just had this issue. I ended up deleting the esp32 link for Additional Board Managers URL in preferences, but that only made it freeze on " Downloading index: library_index.tar.bz2" process." I followed the instructions from Exceptionally long duration of "Downloading index: library_index.tar.bz2" process · Issue #2347 · arduino/arduino-cli · GitHub and opened the IDE with my wifi off and that solved my issue (temporarily, at least). Hope this helps!

Thanks. I have reverted to 2.3.2 and it seems to be working--although Auto complete isn't working.
Will check out your link.

1 Like

I had the same problem. I originally stored my sketches on D:/Projects. After allowing Arduino to updating new libraries and boards it got stuck. After copying the sketches to C:/users/ "myName"/Arduino/, everything was fine.

2 Likes

Hi all. It was found that Arduino IDE 2.3.3 has a bug that causes index downloads and installation/updates of boards platforms libraries to hang when Serial Monitor is open.

If you encounter these problems, the workaround is to close the Serial Monitor view until the process is finished. After that, you can open Serial Monitor again.

The Serial Monitor view is a tab in the bottom panel of the Arduino IDE window, so you might not even notice when you have it open. You can close it by clicking the X icon on the tab:

image


The Arduino developers are tracking the bug here:

If you have a GitHub account, you can subscribe to that thread to get notifications of any new developments related to this subject:

screenshot of Subscribe button


:exclamation: Please only comment on the GitHub issue thread if you have new technical information that will assist with the resolution. General discussion and support requests are always welcome here on the Arduino Forum.


19 Likes

Thanks @ptillisch this workaround works perfectly for me.

1 Like

Thanks. This is the kind of bug that is crazy making.

to solve the problem i open a other project that uses an esp8266 (can be as ample as blink.ino) than the upload of esp32 stops. Than without quit arduino, i open again my esp32 project. (note: the esp32load problem happens even the serial monitor is closed)

Don't worry, it can be worse: I have seen a compile for ESP32 based boards that fails without any obvious errors.

Trying to compile a Nano sketch it stays so long downloading Package_esp32_index.json and never ends... Can anyone help me? I´m working with 2.3.3 version for windows

read post #7

1 Like

Thanks a lot stefkpl

How do you downgrade to 2.3.2?

Nevermind, here is how: Download old verison of Arduino 2.x - #2 by ptillisch

1 Like

This is annoying. I can't continue working...

Why? Several work arounds have been mentioned in this and various othet topics.

FWIW I simply downgraded to 2.3.2 and all is working fine. I don't recall what 2.3.3 was supposed to add but whatever it was, I don't have any issues without it.

To refresh your memory :slight_smile: Arduino IDE 2.3.3 is now available