Arduino IDE start up

When I start up the Arduino IDE I receive a message in the bottom r/h of the screen (below)

Some indexes could not be updated. Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": proxyconnect tcp: dial tcp: lookup _: no such host: https://downloads.arduino.cc/libraries/library_index.tar.bz2 Get "https://downloads.arduino.cc/packages/package_index.tar.bz2": proxyconnect tcp: dial tcp: lookup _: no such host: https://downloads.arduino.cc/packages/package_index.tar.bz2

Can anyone give me step by step instructions on how to remedy the problem.

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

I ask because I would like to give you the appropriate instructions for your operating system.

Hello, I am using windows 11 home ver 23H2

You must have changed the proxy settings in the Arduino IDE preferences since the last time the IDE was in a functional state. There is a bug in Arduino IDE (which should be fixed in the next release) that causes it to get an invalid configuration if you set the preferences to cause Arduino IDE to access the Internet through a proxy and then later change the preferences back to "No proxy".

I'll provide instructions you can follow to fix the configuration:

  1. Select File > Quit from the Arduino IDE menus if it is running.
  2. Delete the file at the following path:
    C:\Users\<username>\.arduinoIDE\arduino-cli.yaml
    
    (where <username> is your Windows username)
    :warning: Please be careful when deleting things from your computer. When in doubt, back up!
  3. Start Arduino IDE.

Arduino IDE should now start up fully and be functional as usual.

Note that the file you deleted is also used to store other IDE preferences. These will all have been reset to the default values. If you had customized either the "Sketchbook location"
or "Additional Boards Manager URLs" preferences, you'll need to select File > Preferences from the Arduino IDE menus and then set those preferences once again.


Please let me know if you have any questions or problems while following those instructions.

Thank you so much. Your solution was easy to follow and worked first time. I honestly do not remember deleting any files as I am new to the Arduino IDE and have been very careful. I checked the preferences and the "no proxy" was already checked.
Thanks again
Warm regards

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

The problem is not caused by deleting files. The problem is caused by adjusting the settings under the "Network" tab of the Arduino IDE preferences.

Thank you very much for your solutio ,It resolved my problem
I had spent a lot of time lookinf for a solution and you have it

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.