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

Pulsing Logo Hangs on First Install, all DNS requests seem to fail #2510

Open
3 tasks done
mtekman opened this issue Sep 19, 2024 · 0 comments
Open
3 tasks done

Pulsing Logo Hangs on First Install, all DNS requests seem to fail #2510

mtekman opened this issue Sep 19, 2024 · 0 comments
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@mtekman
Copy link

mtekman commented Sep 19, 2024

Describe the problem

When running ./arduino-ide the splash logo pulses indefinitely whilst the logs show that it fails to download any indexes at all.

out

Attached is the full starting log using the -I and -P debug flags, and below is highlighted one of the main error messages:

2024-09-19T20:01:08.660Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp: lookup downloads.arduino.cc on [::1]:53: read udp [::1]:40798->[::1]:53: read: connection refused

log.txt

As you can see it appears to be as if the URL cannot seem to resolve (port 53 is DNS, right?)


I can get around this error by installing the arduino-cli and then doing:

arduino-cli update

in which case all indexes are then correctly downloaded.

If I run ./arduino-ide again, it gets past the splash screen and opens up the IDE, but any further attempts to download additional files (e.g. board specific stuff), results in a complete denial due to this port 53 error.

err

The error inside the IDE:

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: lookup downloads.arduino.cc on [::1]:53: read udp [::1]:56359->[::1]:53: read: connection refused
Downloading [email protected]
[email protected]
Failed to install library: 'Arduino_BuiltIn:1.0.0'.
Error: 13 INTERNAL: Can't download library: Get "https://downloads.arduino.cc/libraries/github.com/firmata/Firmata-2.5.9.zip?query=depends": dial tcp: lookup downloads.arduino.cc on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused

From the command log:

2024-09-19T20:20:47.032Z root ERROR Request install failed with error: 13 INTERNAL: Can't download library: Get "https
://downloads.arduino.cc/libraries/github.com/firmata/Firmata-2.5.9.zip?query=depends": dial tcp: lookup downloads.ardu
ino.cc on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused Error: 13 INTERNAL: Can't download librar
y: Get "https://downloads.arduino.cc/libraries/github.com/firmata/Firmata-2.5.9.zip?query=depends": dial tcp: lookup d
ownloads.arduino.cc on [::1]:53: read udp [::1]:47119->[::1]:53: read: connection refused                             
    at t.callErrorFromStatus (/blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/lib/
backend/main.js:2:911810)                                                                                             
    at Object.onReceiveStatus (/blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/lib
/backend/main.js:2:939427)                                                                                            
    at Object.onReceiveStatus (/blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/lib
/backend/main.js:2:932451)                                                                                            
    at /blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/lib/backend/main.js:2:10185
73                                                                                                                    
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)                                    
for call at                                                                                                           
    at a.makeServerStreamRequest (/blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/
lib/backend/main.js:2:939194)                                                                                         
    at a.libraryInstall (/blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/lib/backe
nd/main.js:2:1003470)                                                                                                 
    at b.install (/blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/lib/backend/main
.js:2:800539)                                                                                                         
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)                                     
    at async u.onRequest (/blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/lib/back
end/main.js:2:1255382)                                                                                                
    at async c.handleRequest (/blah/Downloads/arduino/arduino-ide_nightly-20240919_Linux_64bit/resources/app/lib/
backend/main.js:2:1246277)

It really looks like it cannot resolve the addresses.


I've tried the ./arduino-ide --dnsDefaultResultOrder nodeDefault as well as verbatim to no effect.

I also changed my own dns away from 1.1.1.1 to 8.8.8.8, again to no effect.

To reproduce

  1. Download version arduino-ide nightly version 20240919_Linux_64bit, or the default package in Arch.
  2. Attempt to start the program via ./arduino-ide
  3. Kill the program, download the indexes manually via arduino-cli update
  4. Start the program via ./ardiuno-ide and see the download errors in the image above.

Expected behavior

Indexes should download easily in the same way that arduino-cli update allows

Arduino IDE version

2.3.3-nightly-20240919

Operating system

Linux

Operating system version

Arch, 6.10.10-zen1-1-zen kernel

Additional context

No response

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
@mtekman mtekman added the type: imperfection Perceived defect in any part of project label Sep 19, 2024
@per1234 per1234 added the topic: code Related to content of the project itself label Oct 2, 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