Could not install Arduino AVR platform.
Error 4 deadline exceeded.
This is the message I'm getting on my Thinkpad. Fresh install of the IDE. Not previous installations on this laptop.
Is there a solution, or possible suggestion?
Thank you
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:
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 Arduino Forum.