Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
OzFalcon opened this issue Nov 10, 2024 · 0 comments
Open
3 tasks done
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@OzFalcon
Copy link

OzFalcon commented Nov 10, 2024

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
@OzFalcon OzFalcon added the type: imperfection Perceived defect in any part of project label Nov 10, 2024
@per1234 per1234 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 Nov 10, 2024
@OzFalcon OzFalcon 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 Nov 10, 2024
@OzFalcon OzFalcon 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 Nov 11, 2024
@per1234 per1234 self-assigned this Dec 12, 2024
@per1234 per1234 added the topic: code Related to content of the project itself label Dec 12, 2024
@per1234 per1234 removed their assignment Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants