Page 1 of 1
Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Fri Dec 19, 2025 10:56 pm
by DickyOZ
Downloading esp32 3.3.5 to Arduino platform fails with the following error:
Downloading packages
esp32:esp32-arduino-libs@idf-release_v5.5-9bb7aa84-v2
esp32:esp-x32@2511
esp32:xtensa-esp-elf-gdb@16.3_20250913
esp32:esp-rv32@2511
Failed to install platform: 'esp32:esp32:3.3.5'.
Error: 4 DEADLINE_EXCEEDED: net/http: request canceled (Client.Timeout or context cancellation while reading body)
My internet connection is 100/100Mbs up/ down so I don't think the problem is at this end.
I have tried to update a few times but the problem persists.
Any ideas?
Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Fri Dec 19, 2025 11:40 pm
by DickyOZ
Problem fixed! The network connection needed a longer timeout. The esp32 boards file is rapidly growing in size

Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Sat Dec 20, 2025 2:46 pm
by PawelM1980
Same problem...where to change timeout?

Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Sat Dec 20, 2025 6:01 pm
by surfino-ita
add the follow lines on:
C:\Users\your_windows_user_\.arduinoIDE\arduino-cli.yaml
Save the file ad restart Arduino IDE
Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Sat Dec 20, 2025 6:12 pm
by stanw4321
Hoping you can help. I just went to a 100mbs and started to get the same message. I was able to get my desktops to increase the timeout but my laptop refuses to behave. How did you increase the timeout? I used the arduino-cli to increase but its still timing out. arduino-cli config set network.connection_timeout 900s
Thanks, Stan
Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Tue Dec 23, 2025 10:08 am
by DickyOZ
These are the instructions for fixing the timeout on the Arduino PC IDE:
The timeout at which Arduino IDE cancels a download is configurable. You should be able to work around this problem by configuring a higher timeout value. I'll provide instructions you can follow to do that:
Select File > Quit from the Arduino IDE menus if it is running.
All Arduino IDE windows will close.
Open the file at the following path in any text editor:
C:\Users\<username>\.arduinoIDE\arduino-cli.yaml
(where <username> is your Windows username)
Add the following content to the arduino-cli.yaml file (or replace the existing content if equivalent content is already present in the file):
network:
connection_timeout: 300s
ⓘ I arbitrarily chose a timeout value of 300 s. You can adjust this as needed.
Save the file.
Start Arduino IDE.
Now try installing/updating the "esp32" boards platform again, just the same as you did before. Hopefully this time it will be successful.
The Arduino CLI developers are tracking the need to adjust the timeout system to avoid spurious failures when the default configuration is in place here:
Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Fri Dec 26, 2025 4:09 pm
by NeGenxt
Thanks DickyOZ.
I was also facing the same issue. After your clear instruction I was able to overcome the issue.
Also if anyone facing issue follow those step. If your network/internet is slow then it would be better if you increase the duration from 300s to 10,000s or more.
My download speed was 5Mbs. So, I went with 10,000sec.
Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Sat Jan 10, 2026 1:17 pm
by sth007
I tried to implement the suggested changes
which extended the installation progress, but it still aborted in the end. I simply
tried again the next day and it went through immediately. For anyone experiencing the same problem, just try again in the next few days. The server seems to be busy, which is the reason for the problem.
Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Sat Jan 10, 2026 5:51 pm
by kstein@wolke7.net
...and for the MacOS users: /Users/<username>/.arduinoIDE/arduino-cli.yaml
Strange, that this setting is missing in the installed/default config.
Re: Downloading esp32 3.3.5 to Arduino platform fails.
Posted: Mon Feb 16, 2026 3:00 pm
by Grimnyr
add the follow lines on:
C:\Users\your_windows_user_\.arduinoIDE\arduino-cli.yaml
Save the file ad restart Arduino IDE