Cannot install library with Arduino IDE 2.0.3

When l try to install a labrary l get the following message:
Failed to install library: Arduino Uno WiFi Dev Ed Library:0.0.3.
Error: 13 INTERNAL: Can't download library: Get "https://downloads.arduino.cc/libraries/github.com/arduino-libraries/Arduino_Uno_WiFi_Dev_Ed_Library-0.0.3.zip": proxyconnect tcp: dial tcp: lookup _: no such host
Can someone tell me what to investigate?
I have disable my firewall and antivirus software and still get the same error message.
Thank for your advice

The link is good... can you click on the link you posted?

Yes l an

Yes l can

There is info about the Arduino layers not communicating (IDE to command line interface).
The solution seemed to be installing a more recent IDE (because some old versions had compile errors).

Hi @mgirard

It appears you have configured Arduino IDE to access the Internet through a proxy server.

Please check this:

  1. Select File > Preferences from the Arduino IDE menus.
    A "Preferences" dialog will open.
  2. Select the "Network" tab of the dialog.

Is the radio button next to "Manual proxy configuration" selected?

2 Likes

When l start the Arduino IDE the network is setup as:

Manual proxy configuration
SOCKS

I tried changing the network to No Proxy and l still get the same error

There is a bug in Arduino IDE 2.x that makes it impossible to set the preference back to "No proxy" after you have set it to "Manual proxy configuration".

The Arduino developers are tracking the bug here:

I'll provide instructions you can follow for a workaround to the bug:

  1. Select File > Quit from the Arduino IDE menus if it is running.
  2. Use any text editor to open the file at the following path:
    • If you are using Windows:
      C:\Users\<username>\.arduinoIDE\arduino-cli.yaml
      
    • If you are using Linux:
      ~/.arduinoIDE/arduino-cli.yaml
      
    • If you are using macOS:
      ~/.arduinoIDE/arduino-cli.yaml
      
    :exclamation: The .arduinoIDE folder may be hidden by default by your operating system.
  3. Delete the line from the file that looks like this:
      proxy: http://_/
    
  4. Save the file.
  5. Start the Arduino IDE.

You should now be able to install the library without an error.

1 Like

ptillisch,
Your fix did the job.
Thank you very much for your help.
Regards,
Michel

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

Regards,
Per

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