IDE hangs on startup: "dial tcp: lookup downloads.arduino.cc: no such host"

Hi @ptillisch,
I am having a similar problem. The logo keeps blinking and its stuck there. Here is the terminal output. Please help.

Last login: Sun Feb 19 12:56:33 on ttys000
MacAir@MacBook-Air ~ % /Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE
zsh: no such file or directory: /Applications/Arduino
MacAir@MacBook-Air ~ % /Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE
zsh: no such file or directory: /Applications/Arduino
MacAir@MacBook-Air ~ % "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
Arduino IDE 2.0.3
Starting backend process. PID: 90437
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/MacAir/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-02-19T07:27:41.477Z root INFO Backend Object.initialize: 2.8 ms [Finished 0.662 s after backend start]
2023-02-19T07:27:41.477Z root INFO Backend Object.configure: 2.3 ms [Finished 0.662 s after backend start]
2023-02-19T07:27:41.477Z root INFO Backend MessagingContribution.onStart: 0.8 ms [Finished 0.662 s after backend start]
2023-02-19T07:27:41.477Z root INFO Backend OSBackendApplicationContribution.configure: 0.2 ms [Finished 0.687 s after backend start]
2023-02-19T07:27:41.478Z root INFO Backend DefaultWorkspaceServer.onStart: 0.2 ms [Finished 0.687 s after backend start]
2023-02-19T07:27:41.478Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 0.687 s after backend start]
2023-02-19T07:27:41.479Z root INFO Backend PluginLocalizationBackendContribution.initialize: 24.6 ms [Finished 0.687 s after backend start]
2023-02-19T07:27:41.479Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.1 ms [Finished 0.687 s after backend start]
2023-02-19T07:27:41.479Z root INFO Backend ElectronTokenBackendContribution.configure: 0.5 ms [Finished 0.687 s after backend start]
2023-02-19T07:27:41.479Z root INFO Backend PluginDeployerContribution.initialize: 0.2 ms [Finished 0.688 s after backend start]
2023-02-19T07:27:41.479Z root INFO Backend ConfigServiceImpl.onStart: 0.4 ms [Finished 0.688 s after backend start]
2023-02-19T07:27:41.480Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.2 ms [Finished 0.688 s after backend start]
2023-02-19T07:27:41.480Z root INFO Backend ArduinoDaemonImpl.onStart: 0.6 ms [Finished 0.689 s after backend start]
2023-02-19T07:27:41.480Z root INFO Backend NodeFileUploadService.configure: 0.9 ms [Finished 0.689 s after backend start]
2023-02-19T07:27:41.480Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
2023-02-19T07:27:41.480Z discovery-log INFO start
2023-02-19T07:27:41.480Z discovery-log INFO start new deferred
2023-02-19T07:27:41.480Z root INFO Backend HostedPluginLocalizationService.initialize: 0.2 ms [Finished 0.689 s after backend start]
2023-02-19T07:27:41.480Z root INFO Backend BoardDiscovery.onStart: 0.4 ms [Finished 0.690 s after backend start]
2023-02-19T07:27:41.480Z root INFO Backend FileDownloadEndpoint.configure: 0.3 ms [Finished 0.690 s after backend start]
2023-02-19T07:27:41.480Z root INFO Backend AuthenticationServiceImpl.onStart: 0.2 ms [Finished 0.690 s after backend start]
2023-02-19T07:27:41.480Z root INFO Backend PluginApiContribution.configure: 0.3 ms [Finished 0.690 s after backend start]
2023-02-19T07:27:41.481Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 0.691 s after backend start]
2023-02-19T07:27:41.481Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 0.691 s after backend start]
2023-02-19T07:27:41.481Z root INFO Backend PlotterBackendContribution.configure: 0.4 ms [Finished 0.691 s after backend start]
2023-02-19T07:27:41.482Z root INFO Theia app listening on http://localhost:57127.
2023-02-19T07:27:41.482Z root INFO Finished starting backend application: 2.1 ms [Finished 0.693 s after backend start]
2023-02-19T07:27:41.485Z root WARN The local plugin referenced by local-dir:/Users/MacAir/.arduinoIDE/plugins does not exist.
2023-02-19T07:27:41.485Z root WARN The local plugin referenced by local-dir:/Users/MacAir/.arduinoIDE/extensions does not exist.
2023-02-19T07:27:41.485Z root WARN The local plugin referenced by local-dir:/Users/MacAir/.arduinoProIDE/plugins does not exist.
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "vscode-language-pack-pt-BR@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.505Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-02-19T07:27:41.505Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.506Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-02-19T07:27:41.506Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-19T07:27:41.506Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "vscode-language-pack-zh-hans@1.53.2" with engines:
2023-02-19T07:27:41.513Z root INFO Resolve plugins list: 33.1 ms [Finished 0.723 s after backend start]
2023-02-19T07:27:41.517Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/cortex-debug/extension/dist/extension.js": 3.5 ms [Finished 0.727 s after backend start]
2023-02-19T07:27:41.519Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.5" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-arduino-tools/extension/dist/bundle": 2.2 ms [Finished 0.729 s after backend start]
2023-02-19T07:27:41.524Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-cpp/extension": 5.6 ms [Finished 0.735 s after backend start]
2023-02-19T07:27:41.526Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json/extension": 1.3 ms [Finished 0.736 s after backend start]
2023-02-19T07:27:41.526Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json-language-features/extension/client/dist/jsonMain": 0.2 ms [Finished 0.736 s after backend start]
2023-02-19T07:27:41.569Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-bg/extension": 42.4 ms [Finished 0.779 s after backend start]
2023-02-19T07:27:41.573Z daemon INFO INFO[0000] Using config file: /Users/MacAir/.arduinoIDE/arduino-cli.yaml 
INFO[0000] arduino-cli version 0.29.0                   
INFO[0000] Executing `arduino-cli daemon`               
{"IP":"127.0.0.1","Port":"57128"}

2023-02-19T07:27:41.574Z daemon INFO Daemon is running.
2023-02-19T07:27:41.623Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-cs/extension": 54.7 ms [Finished 0.833 s after backend start]
2023-02-19T07:27:41.684Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-de/extension": 61.2 ms [Finished 0.895 s after backend start]
2023-02-19T07:27:41.746Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-es/extension": 61.1 ms [Finished 0.956 s after backend start]
2023-02-19T07:27:41.749Z daemon INFO INFO[0000] Loading hardware from: /Users/MacAir/Library/Arduino15/packages 
INFO[0000] Loading package arduino from: /Users/MacAir/Library/Arduino15/packages/arduino 
INFO[0000] Checking existence of 'tools' path: /Users/MacAir/Library/Arduino15/packages/arduino/tools 
INFO[0000] Loading tools from dir: /Users/MacAir/Library/Arduino15/packages/arduino/tools 
INFO[0000] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
INFO[0000] Loading package esp8266 from: /Users/MacAir/Library/Arduino15/packages/esp8266/hardware 
INFO[0000] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0000] Loaded platform                               platform="esp8266:esp8266@3.0.2"
INFO[0000] Checking existence of 'tools' path: /Users/MacAir/Library/Arduino15/packages/esp8266/tools 
INFO[0000] Loading tools from dir: /Users/MacAir/Library/Arduino15/packages/esp8266/tools 
INFO[0000] Loaded tool                                   tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"
INFO[0000] Loaded tool                                   tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"
INFO[0000] Loaded tool                                   tool="esp8266:python3@3.7.2-post1"
INFO[0000] Loaded tool                                   tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"
INFO[0000] Checking signature                            index=/Users/MacAir/Library/Arduino15/package_index.json signatureFile=/Users/MacAir/Library/Arduino15/package_index.json.sig trusted=true

2023-02-19T07:27:41.790Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-fr/extension": 43.9 ms [Finished 1.000 s after backend start]
2023-02-19T07:27:41.816Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-hu/extension": 26.8 ms [Finished 1.027 s after backend start]
2023-02-19T07:27:41.851Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-it/extension": 34.3 ms [Finished 1.061 s after backend start]
2023-02-19T07:27:41.898Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ja/extension": 46.9 ms [Finished 1.108 s after backend start]
2023-02-19T07:27:41.932Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ko/extension": 34.4 ms [Finished 1.142 s after backend start]
2023-02-19T07:27:41.951Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-nl/extension": 18.8 ms [Finished 1.161 s after backend start]
2023-02-19T07:27:41.992Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-pl/extension": 41.3 ms [Finished 1.203 s after backend start]
2023-02-19T07:27:42.027Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-pt-BR/extension": 34.6 ms [Finished 1.237 s after backend start]
2023-02-19T07:27:42.069Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-ru/extension": 42.4 ms [Finished 1.280 s after backend start]
2023-02-19T07:27:42.104Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-tr/extension": 34.1 ms [Finished 1.314 s after backend start]
2023-02-19T07:27:42.130Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-uk/extension": 26.5 ms [Finished 1.340 s after backend start]
2023-02-19T07:27:42.173Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-language-pack-zh-hans/extension": 42.8 ms [Finished 1.383 s after backend start]
2023-02-19T07:27:42.173Z root INFO Deploy plugins list: 33.1 ms [Finished 1.383 s after backend start]
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-02-19T07:27:42.526Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 198.9 ms [Finished 0.952 s after frontend start]
2023-02-19T07:27:42.688Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:ctags@5.8-arduino11 tool: Get "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-x86_64-apple-darwin.zip": dial tcp: lookup downloads.arduino.cc: no such host
2023-02-19T07:27:44.504Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-discovery@1.3.2 tool: Get "https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.3.2_macOS_64bit.tar.gz": dial tcp: lookup downloads.arduino.cc: no such host
2023-02-19T07:27:46.372Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:mdns-discovery@1.0.6 tool: Get "https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.6_macOS_64bit.tar.gz": dial tcp: lookup downloads.arduino.cc: no such host
2023-02-19T07:27:50.972Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-monitor@0.11.0 tool: Get "https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.11.0_macOS_64bit.tar.gz": dial tcp: lookup downloads.arduino.cc: no such host
2023-02-19T07:27:50.974Z daemon INFO INFO[0009] Loading tools from dir: /Users/MacAir/Library/Arduino15/packages/builtin/tools 
INFO[0009] Adding libraries dir                          dir=/Users/MacAir/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries location=platform
INFO[0009] Loading libraries index file                  index=/Users/MacAir/Library/Arduino15/library_index.json

2023-02-19T07:27:50.974Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: reading directory /Users/MacAir/Library/Arduino15/packages/builtin/tools: open /Users/MacAir/Library/Arduino15/packages/builtin/tools: no such file or directory
2023-02-19T07:27:50.975Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
2023-02-19T07:27:50.975Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
2023-02-19T07:27:50.975Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
2023-02-19T07:27:50.976Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
2023-02-19T07:27:51.099Z daemon INFO INFO[0009] Adding libraries dir                          dir=/Users/MacAir/Library/Arduino15/libraries location=ide

2023-02-19T07:27:51.099Z daemon INFO INFO[0009] Adding libraries dir                          dir=/Users/MacAir/Documents/Arduino/libraries location=user

2023-02-19T07:27:51.314Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-02-19T07:27:51.315Z daemon INFO INFO[0009] Updating index                                url="https://downloads.arduino.cc/packages/package_index.tar.bz2"

2023-02-19T07:27:51.316Z root INFO core-client-provider [platform-index]
2023-02-19T07:27:53.473Z root ERROR Failed to update platform indexes.
2023-02-19T07:27:53.476Z daemon INFO INFO[0011] Loading hardware from: /Users/MacAir/Library/Arduino15/packages 

2023-02-19T07:27:53.477Z daemon INFO INFO[0011] Loading package arduino from: /Users/MacAir/Library/Arduino15/packages/arduino 

2023-02-19T07:27:53.477Z daemon INFO INFO[0011] Checking existence of 'tools' path: /Users/MacAir/Library/Arduino15/packages/arduino/tools 
INFO[0011] Loading tools from dir: /Users/MacAir/Library/Arduino15/packages/arduino/tools 

2023-02-19T07:27:53.478Z daemon INFO INFO[0011] Loaded tool                                   tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"

2023-02-19T07:27:53.478Z daemon INFO INFO[0011] Loading package esp8266 from: /Users/MacAir/Library/Arduino15/packages/esp8266/hardware 

2023-02-19T07:27:53.508Z daemon INFO INFO[0011] Adding monitor tool                           protocol=serial tool="builtin:serial-monitor"
INFO[0011] Loaded platform                               platform="esp8266:esp8266@3.0.2"

2023-02-19T07:27:53.508Z daemon INFO INFO[0011] Checking existence of 'tools' path: /Users/MacAir/Library/Arduino15/packages/esp8266/tools 
INFO[0011] Loading tools from dir: /Users/MacAir/Library/Arduino15/packages/esp8266/tools 

2023-02-19T07:27:53.508Z daemon INFO INFO[0011] Loaded tool                                   tool="esp8266:mklittlefs@3.0.4-gcc10.3-1757bed"

2023-02-19T07:27:53.508Z daemon INFO INFO[0011] Loaded tool                                   tool="esp8266:mkspiffs@3.0.4-gcc10.3-1757bed"

2023-02-19T07:27:53.509Z daemon INFO INFO[0011] Loaded tool                                   tool="esp8266:python3@3.7.2-post1"

2023-02-19T07:27:53.509Z daemon INFO INFO[0011] Loaded tool                                   tool="esp8266:xtensa-lx106-elf-gcc@3.0.4-gcc10.3-1757bed"

2023-02-19T07:27:53.515Z daemon INFO INFO[0011] Checking signature                            index=/Users/MacAir/Library/Arduino15/package_index.json signatureFile=/Users/MacAir/Library/Arduino15/package_index.json.sig trusted=true

2023-02-19T07:27:55.060Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:ctags@5.8-arduino11 tool: Get "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-x86_64-apple-darwin.zip": dial tcp: lookup downloads.arduino.cc: no such host
2023-02-19T07:27:57.499Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-discovery@1.3.2 tool: Get "https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.3.2_macOS_64bit.tar.gz": dial tcp: lookup downloads.arduino.cc: no such host
2023-02-19T07:28:01.752Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:mdns-discovery@1.0.6 tool: Get "https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.6_macOS_64bit.tar.gz": dial tcp: lookup downloads.arduino.cc: no such host
2023-02-19T07:28:05.061Z daemon INFO INFO[0023] Loading tools from dir: /Users/MacAir/Library/Arduino15/packages/builtin/tools 

2023-02-19T07:28:05.062Z daemon INFO INFO[0023] Adding libraries dir                          dir=/Users/MacAir/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries location=platform
INFO[0023] Loading libraries index file                  index=/Users/MacAir/Library/Arduino15/library_index.json

2023-02-19T07:28:05.063Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:serial-monitor@0.11.0 tool: Get "https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.11.0_macOS_64bit.tar.gz": dial tcp: lookup downloads.arduino.cc: no such host
2023-02-19T07:28:05.063Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: reading directory /Users/MacAir/Library/Arduino15/packages/builtin/tools: open /Users/MacAir/Library/Arduino15/packages/builtin/tools: no such file or directory
2023-02-19T07:28:05.063Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
2023-02-19T07:28:05.064Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
2023-02-19T07:28:05.064Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
2023-02-19T07:28:05.065Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
2023-02-19T07:28:05.179Z daemon INFO INFO[0023] Adding libraries dir                          dir=/Users/MacAir/Library/Arduino15/libraries location=ide
INFO[0023] Adding libraries dir                          dir=/Users/MacAir/Documents/Arduino/libraries location=user

2023-02-19T07:28:05.300Z root ERROR Uncaught Exception: 
2023-02-19T07:28:05.300Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed

    at isIndexUpdateRequiredBeforeInit (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:378:11)
    at CoreClientProvider.evaluateErrorStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:190:16)
    at ClientReadableStreamImpl.<anonymous> (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:175:36)
    at ClientReadableStreamImpl.emit (node:events:394:28)
    at endReadableNT (node:internal/streams/readable:1331:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Hi @swapnil1234569

On the first run after a fresh installation, Arduino IDE downloads some additional essential components from the Internet and installs them. If it can't install those components then the startup fails. So the computer must have access to the Internet on the first startup.

The errors indicate Arduino IDE is not able to access the Internet. If it is not already, please connect your computer to the Internet, close the Arduino IDE window, then start Arduino IDE again. This time it should start up successfully.

After that first run, an Internet connection is not required. However, there are some supplemental features such as "Library Manager" that have an inherent dependency on the Internet. Those features will not be usable while your computer is offline. But the essential functionality of editing, compiling, and uploading sketches is available even without an Internet connection.

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