Arduino IDe 2.3.7

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

Thank you

Hi @r_hatton. Please add a forum reply here to tell us which operating system you are using (e.g., "Windows").

I ask for this information so that we can give you the appropriate instructions for your operating system.

Hello sir. Windows 11

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:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Open the file at the following path in any text editor:
    C:\Users\<username>\.arduinoIDE\arduino-cli.yaml
    
    (where <username> is your Windows username)
  3. 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.
  4. Save the file.
  5. 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:


:red_exclamation_mark: 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.


That worked beautifully
Thank you! :smiley:

You are welcome. I'm glad it is working now.

Regards, Per