Esp32 core download failure

Hi @yahya_abdelrazek. The installation of the "esp32" boards platform failed due to timeout occurred during the download.

The duration of the timeout that causes Arduino IDE to cancel 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:
    • If you are using Linux:
      /home/<username>/.arduinoIDE/arduino-cli.yaml
      
      (where <username> is your Linux username)
      • :red_exclamation_mark: The .arduinoIDE folder may be hidden by default in your file manager and terminal.
    • If you are using macOS:
      /Users/<username>/.arduinoIDE/arduino-cli.yaml
      
      (where <username> is your macOS username)
      • :red_exclamation_mark: The .arduinoIDE folder is hidden by default. You can make it visible by pressing the Command+Shift+. keyboard shortcut.
    • If you are using Windows:
      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: 12000s
    
    I arbitrarily chose a timeout value of 12000 seconds. 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.

1 Like