Arduino 2.x proxy - system settings

Hello,

Currently Arduino 2.x only provides 2 kind of settings for proxy : no proxy or manual.

it could be great if a 3rd option would exists (especially under Windows) : automatic proxy using system proxy settings as is was with Arduino 1.x

It could be default behavior.

Because currently if no proxy is set in an environement where proxy is required the nagscreen showing Arduino logo is looping infinitely at first startup for Arduino 2.x

Kind regards

Hi @scls. Thanks for your report.

The Arduino IDE developers are tracking this missing capability here:

The Arduino IDE developers are tracking this bug here:

As mentioned in that issue, it is possible to configure the proxy manually by editing a configuration file. I'll provide instructions you can follow to do that:

  1. Close an Arduino IDE windows that might be running.
  2. Use any text editor to open the file at the following path:
    C:\Users\<username>\.arduinoIDE\arduino-cli.yaml
    
    (where <username> is your Windows username)
  3. Add the following lines anywhere in the file:
    network:
      proxy: <proxy scheme>://<username>:<password>@<proxy address>:<port>
    
    Where the placeholders are:
    • <proxy scheme>: the URL scheme for your proxy server.
      One of the following;
      • http
      • socks5
    • <username>: the username of your proxy server credentials.
    • <password>: the password of your proxy server credentials.
    • <proxy address>: the address of your proxy server.
    • <port>: the port of your proxy server.
  4. Save the file.
  5. Start Arduino IDE.

Hopefully this time it will be able to start.


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

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