Problem executing 2.03's appimage[Solved]

I think this is my first posting to the Arduino forum so I'm a newbie here!

I have had a long running battle with trying to get IDE 2.0.x running on my recent Debianx64 system. This has only become an issue after the demise of my old (12 Years) Windows 7 system. Try as I might, I could not get the x64 appimage to run. Despite looking at this form and elsewhere, I could not find an answer to the problem.

An section of my log shows that something was wrong with the setup sequence:-Preformatted text

2023-01-09 20:55:50 Using browser-only version of superagent in non-browser environment
2023-01-09 20:55:50 Configuration directory URI: 'file:///home/tonyp/.theia'
2023-01-09 20:55:50 Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-01-09 20:55:50 2023-01-09T20:55:50.982Z root INFO Backend Object.initialize: 4.7 ms [Finished 1.063 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.982Z root INFO Backend Object.configure: 3.9 ms [Finished 1.063 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.982Z root INFO Backend MessagingContribution.onStart: 1.3 ms [Finished 1.063 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.983Z root INFO Backend OSBackendApplicationContribution.configure: 0.4 ms [Finished 1.096 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.983Z root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 1.096 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.984Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.096 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.985Z root INFO Backend PluginLocalizationBackendContribution.initialize: 32.8 ms [Finished 1.096 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.985Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 1.096 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.985Z root INFO Backend ElectronTokenBackendContribution.configure: 0.6 ms [Finished 1.097 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.986Z root INFO Backend PluginDeployerContribution.initialize: 0.4 ms [Finished 1.097 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.986Z root INFO Backend ConfigServiceImpl.onStart: 0.6 ms [Finished 1.098 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.987Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.4 ms [Finished 1.099 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.987Z root INFO Backend ArduinoDaemonImpl.onStart: 0.8 ms [Finished 1.099 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.987Z root INFO Backend NodeFileUploadService.configure: 1.5 ms [Finished 1.099 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.987Z daemon INFO Starting daemon from /tmp/.mount_arduinOwU3pM/resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
2023-01-09 20:55:50 2023-01-09T20:55:50.988Z discovery-log INFO start
2023-01-09 20:55:50 2023-01-09T20:55:50.988Z discovery-log INFO start new deferred
2023-01-09 20:55:50 2023-01-09T20:55:50.988Z root INFO Backend HostedPluginLocalizationService.initialize: 0.4 ms [Finished 1.100 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.988Z root INFO Backend BoardDiscovery.onStart: 0.7 ms [Finished 1.100 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.988Z root INFO Backend FileDownloadEndpoint.configure: 0.6 ms [Finished 1.101 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.988Z root INFO Backend AuthenticationServiceImpl.onStart: 0.3 ms [Finished 1.101 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.988Z root INFO Backend PluginApiContribution.configure: 0.4 ms [Finished 1.102 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.989Z root INFO Backend HostedPluginReader.configure: 0.2 ms [Finished 1.102 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.989Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 1.102 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.989Z root INFO Backend PlotterBackendContribution.configure: 0.6 ms [Finished 1.103 s after backend start]
2023-01-09 20:55:50 2023-01-09T20:55:50.991Z root ERROR Failed to start the backend application:
2023-01-09 20:55:50 2023-01-09T20:55:50.991Z root ERROR Error: listen EADDRNOTAVAIL: address not available 192.168.2.186
    at Server.setupListenHandle [as _listen2] (node:net:1298:21)
    at listenInCluster (node:net:1363:12)
    at GetAddrInfoReqWrap.doListen [as callback] (node:net:1501:7)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8)
2023-01-09 20:55:50 2023-01-09T20:55:50.991Z root ERROR Uncaught Exception: 
2023-01-09 20:55:50 2023-01-09T20:55:50.991Z root ERROR Error: listen EADDRNOTAVAIL: address not available 192.168.2.186
    at Server.setupListenHandle [as _listen2] (node:net:1298:21)
    at listenInCluster (node:net:1363:12)
    at GetAddrInfoReqWrap.doListen [as callback] (node:net:1501:7)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:73:8)
2023-01-09 20:55:50 2023-01-09T20:55:50.999Z root WARN The local plugin referenced by local-dir:/home/tonyp/.arduinoIDE/plugins does not exist.
2023-01-09 20:55:50 2023-01-09T20:55:50.999Z root WARN The local plugin referenced by local-dir:/home/tonyp/.arduinoIDE/extensions does not exist.
2023-01-09 20:55:50 2023-01-09T20:55:50.999Z root WARN The local plugin referenced by local-dir:/home/tonyp/.arduinoProIDE/plugins does not exist.

I could not understand where the IP address 192.186.2.186 was coming from and a search of the Arduino files revealed nothing.

I should state that I run my own DHCP/BIND9 servers but it was quite a while for me to investigate the BINd9 servers since everything else was working. It turns out that sometime in the dim and distant past that a device had set the master DNS server with 'localhost.domain.name' (real names redacted) which pointed to 192.168.2.186. Removing that 'localhost' entry cured the problem instantly and the IDE sprung into life.

So my fault had nothing to do with the Arduino 2.0.3 IDE but everything to do with nameserver configuration.

This message is for information only! Tony Pemberton

2 Likes

Maybe you can add "-Solved" to the subject so others know you found the problem.

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