Skip to content

IDE fails to download web resources and/or hangs on startup when using DNS Proxy #2556

Open
@OzFalcon

Description

@OzFalcon

Describe the problem

Arduino IDE 2.0.4 -> 2.3.3 fails to download web resources and or hangs on startup.
OUTPUT WINDOW

Downloading packages
arduino:arduinoOTA@1.3.0
Failed to install platform: 'arduino:avr:1.8.6'.
Error: 2 UNKNOWN: Get "http://downloads.arduino.cc/tools/arduinoOTA-1.3.0-linux_amd64.tar.bz2": dial tcp [2606:4700::6812:a15]:80: connect: network is unreachable
Downloading TFT@1.0.6
TFT@1.0.6
Failed to install library: 'Arduino_BuiltIn:1.0.0'.
Error: 13 INTERNAL: Can't download library: Get "https://downloads.arduino.cc/libraries/github.com/arduino-libraries/TFT-1.0.6.zip?query=depends": dial tcp [2606:4700::6812:b15]:443: connect: network is unreachable
Image

To reproduce

For some reason my router/modem had reverted some default settings.
Image
Specifically the DHCP allocated DNS servers. And the DNS Proxy option was enabled.
ie. DHCP DNS now pointed to itself and it was running a DNS Proxy.
Image
A workaround to this problem is to manually set the DNS servers / Don't use the DNS proxy.
Image
Image

Expected behavior

On first run, License is agreed to then Arduino IDE starts up (Does not hang) and downloads web resources.

Arduino IDE version

2.3.3

Operating system

Linux

Operating system version

Debian 12.7

Additional context

Related

Issue checklist

  • I searched for previous reports in the issue tracker
    I verified the problem still occurs when using the latest nightly build
    My report contains all necessary details

Activity

changed the title [-][Fixed but not solved] Arduino IDE 2.0.4 -> 2.3.3 fails to download web resources and or hangs on startup.[/-] [+]IDE fails to download web resources and/or hangs on startup when Internet accessed through VPN[/+] on Nov 10, 2024
changed the title [-]IDE fails to download web resources and/or hangs on startup when Internet accessed through VPN[/-] [+]IDE fails to download web resources and/or hangs on startup unless Internet accessed through VPN[/+] on Nov 10, 2024
changed the title [-]IDE fails to download web resources and/or hangs on startup unless Internet accessed through VPN[/-] [+]IDE fails to download web resources and/or hangs on startup when using DNS Proxy[/+] on Nov 11, 2024
self-assigned this
on Dec 12, 2024
removed their assignment
on Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @per1234@OzFalcon

        Issue actions

          IDE fails to download web resources and/or hangs on startup when using DNS Proxy · Issue #2556 · arduino/arduino-ide