IDE hangs on startup: "No connection established"

Hi! I've encountered the same issue of the IDE stalling on startup, but I am running on MacOS Monterey. How should I access the debugger?
Thank you so much!

Hi @ken04zhang. Here are the instructions for macOS:

  1. Open your Applications folder in Finder.
  2. Open the Utilities folder.
  3. Double-click on "Terminal".
  4. Type the following command in the Terminal window:
    "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
    
  5. Press Enter
  6. Wait until you are sure the IDE startup has gone into the hang state
    (as indicated by no additional output being printed to the Terminal window).
  7. Switch back to the Terminal window if the Arduino IDE window took the focus.
  8. Press +A.
    This will select all the text in the Terminal window.
  9. Press +C.
    This will copy the selected text to the clipboard.
  10. Open a forum reply here by clicking the Reply button.
  11. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the output is correctly formatted.
    Code block
  12. Press +V.
    This will paste the output into the code block.
  13. Move the cursor outside of the code block markup before you add any additional text to your reply.
  14. Click the Reply button to post the output.

Please let me know if you have any questions or problems while following those instructions.

Last login: Thu Feb  2 11:01:34 on ttys001
K3nny@Kens-nuMacBook-Pro ~ % /Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE
zsh: no such file or directory: /Applications/Arduino
K3nny@Kens-nuMacBook-Pro ~ % /Applications/"Arduino IDE.app"/Contents/MacOS/"Arduino IDE"

Arduino IDE 2.0.3
Starting backend process. PID: 69411
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/K3nny/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-02-07T13:57:35.367Z root INFO Backend Object.initialize: 5.2 ms [Finished 0.932 s after backend start]
2023-02-07T13:57:35.367Z root INFO Backend Object.configure: 4.2 ms [Finished 0.933 s after backend start]
2023-02-07T13:57:35.367Z root INFO Backend MessagingContribution.onStart: 2.2 ms [Finished 0.933 s after backend start]
2023-02-07T13:57:35.368Z root INFO Backend OSBackendApplicationContribution.configure: 0.4 ms [Finished 0.969 s after backend start]
2023-02-07T13:57:35.368Z root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 0.969 s after backend start]
2023-02-07T13:57:35.370Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.2 ms [Finished 0.969 s after backend start]
2023-02-07T13:57:35.370Z root INFO Backend PluginLocalizationBackendContribution.initialize: 36.8 ms [Finished 0.970 s after backend start]
2023-02-07T13:57:35.370Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.3 ms [Finished 0.970 s after backend start]
2023-02-07T13:57:35.371Z root INFO Backend ElectronTokenBackendContribution.configure: 1.2 ms [Finished 0.971 s after backend start]
2023-02-07T13:57:35.372Z root INFO Backend PluginDeployerContribution.initialize: 0.5 ms [Finished 0.971 s after backend start]
2023-02-07T13:57:35.372Z root INFO Backend ConfigServiceImpl.onStart: 0.8 ms [Finished 0.972 s after backend start]
2023-02-07T13:57:35.373Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.5 ms [Finished 0.973 s after backend start]
2023-02-07T13:57:35.374Z root INFO Backend ArduinoDaemonImpl.onStart: 1.0 ms [Finished 0.974 s after backend start]
2023-02-07T13:57:35.374Z root INFO Backend NodeFileUploadService.configure: 1.9 ms [Finished 0.974 s after backend start]
2023-02-07T13:57:35.374Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
2023-02-07T13:57:35.374Z discovery-log INFO start
2023-02-07T13:57:35.374Z discovery-log INFO start new deferred
2023-02-07T13:57:35.374Z root INFO Backend HostedPluginLocalizationService.initialize: 0.4 ms [Finished 0.974 s after backend start]
2023-02-07T13:57:35.374Z root INFO Backend BoardDiscovery.onStart: 0.9 ms [Finished 0.975 s after backend start]
2023-02-07T13:57:35.374Z root INFO Backend FileDownloadEndpoint.configure: 0.7 ms [Finished 0.975 s after backend start]
2023-02-07T13:57:35.375Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 0.977 s after backend start]
2023-02-07T13:57:35.375Z root INFO Backend PluginApiContribution.configure: 0.5 ms [Finished 0.977 s after backend start]
2023-02-07T13:57:35.375Z root INFO Backend HostedPluginReader.configure: 0.3 ms [Finished 0.978 s after backend start]
2023-02-07T13:57:35.375Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 0.978 s after backend start]
2023-02-07T13:57:35.376Z root INFO Backend PlotterBackendContribution.configure: 0.6 ms [Finished 0.979 s after backend start]
2023-02-07T13:57:35.378Z root INFO Theia app listening on http://localhost:54331.
2023-02-07T13:57:35.379Z root INFO Finished starting backend application: 4.6 ms [Finished 0.982 s after backend start]
2023-02-07T13:57:35.382Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoIDE/extensions does not exist.
2023-02-07T13:57:35.383Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoIDE/plugins does not exist.
2023-02-07T13:57:35.383Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoProIDE/plugins does not exist.
2023-02-07T13:57:35.397Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.397Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-02-07T13:57:35.397Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.397Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-02-07T13:57:35.397Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.397Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-02-07T13:57:35.397Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.398Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-02-07T13:57:35.398Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.398Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-02-07T13:57:35.398Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.398Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-02-07T13:57:35.398Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.398Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-02-07T13:57:35.398Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.398Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-02-07T13:57:35.398Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.398Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-02-07T13:57:35.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.399Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-02-07T13:57:35.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.399Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-02-07T13:57:35.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.399Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-02-07T13:57:35.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.399Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-02-07T13:57:35.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.399Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-02-07T13:57:35.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.399Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-02-07T13:57:35.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.399Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-02-07T13:57:35.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.400Z 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-07T13:57:35.400Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.400Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-02-07T13:57:35.400Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.400Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-02-07T13:57:35.400Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.400Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-02-07T13:57:35.400Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T13:57:35.400Z 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-07T13:57:35.418Z root INFO Resolve plugins list: 45.7 ms [Finished 1.021 s after backend start]
2023-02-07T13:57:35.424Z 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": 5.1 ms [Finished 1.027 s after backend start]
2023-02-07T13:57:35.427Z 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": 3.5 ms [Finished 1.030 s after backend start]
2023-02-07T13:57:35.434Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-cpp/extension": 6.8 ms [Finished 1.037 s after backend start]
2023-02-07T13:57:35.436Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json/extension": 1.7 ms [Finished 1.039 s after backend start]
2023-02-07T13:57:35.437Z 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.8 ms [Finished 1.040 s after backend start]
2023-02-07T13:57:35.496Z 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": 59.7 ms [Finished 1.100 s after backend start]
2023-02-07T13:57:35.546Z 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": 49.3 ms [Finished 1.149 s after backend start]
2023-02-07T13:57:35.556Z daemon INFO INFO[0000] Using config file: /Users/K3nny/.arduinoIDE/arduino-cli.yaml 
INFO[0000] arduino-cli version 0.29.0                   
INFO[0000] Executing `arduino-cli daemon`               
{"IP":"127.0.0.1","Port":"54332"}

2023-02-07T13:57:35.556Z daemon INFO Daemon is running.
2023-02-07T13:57:35.566Z root ERROR Uncaught Exception: 
2023-02-07T13:57:35.566Z root ERROR Error: 14 UNAVAILABLE: No connection established
    at Object.callErrorFromStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
for call at
    at ServiceClientImpl.makeUnaryRequest (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
    at ServiceClientImpl.create (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
    at instance (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:143:20)
    at new Promise (<anonymous>)
    at CoreClientProvider.createClient (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:142:32)
    at CoreClientProvider.create (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:82:35)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:46:52
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:103:69
    at CallbackList.invoke (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:109:26)
    at Emitter.fire (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:224:29)
2023-02-07T13:57:35.656Z 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": 110.1 ms [Finished 1.259 s after backend start]
2023-02-07T13:57:35.725Z 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": 69.1 ms [Finished 1.328 s after backend start]
2023-02-07T13:57:35.767Z 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": 42.1 ms [Finished 1.370 s after backend start]
2023-02-07T13:57:35.793Z 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.1 ms [Finished 1.397 s after backend start]
2023-02-07T13:57:35.828Z 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.5 ms [Finished 1.431 s after backend start]
2023-02-07T13:57:35.869Z 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": 40.9 ms [Finished 1.472 s after backend start]
2023-02-07T13:57:35.901Z 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": 32.0 ms [Finished 1.504 s after backend start]
2023-02-07T13:57:35.917Z 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": 15.5 ms [Finished 1.520 s after backend start]
2023-02-07T13:57:35.948Z 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": 31.7 ms [Finished 1.552 s after backend start]
2023-02-07T13:57:35.983Z 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.586 s after backend start]
2023-02-07T13:57:36.024Z 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": 41.2 ms [Finished 1.627 s after backend start]
2023-02-07T13:57:36.057Z 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": 33.0 ms [Finished 1.661 s after backend start]
2023-02-07T13:57:36.087Z 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": 29.7 ms [Finished 1.690 s after backend start]
2023-02-07T13:57:36.127Z 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": 39.5 ms [Finished 1.730 s after backend start]
2023-02-07T13:57:36.127Z root INFO Deploy plugins list: 45.7 ms [Finished 1.730 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-07T13:57:37.271Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 253.0 ms [Finished 1.686 s after frontend start]
2023-02-07T13:57:37.469Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 169.2 ms [Finished 1.880 s after frontend start]

And then the GUI hangs on startup and all I see is a pulsing Arduino logo in the center of the window.

Arduino IDE communicates with some of its helper tools via an internal TCP/IP port in your computer on "localhost". This error indicates that it was unable to connect to the tool via that communication channel. Unfortunately the logs don't give us information about the reason for that failure.

I'm going to ask you to post the logs produced by Arduino IDE when some additional debugging output is enabled. This information that might help us to identify the problem.

Please do this:

  1. Open your Applications folder in Finder.
  2. Open the Utilities folder.
  3. Double-click on "Terminal".
  4. Type the following command in the terminal:
    export GRPC_VERBOSITY=DEBUG
    
  5. Press the Enter key.
  6. Type the following command in the terminal:
    export GRPC_TRACE=all
    
  7. Press the Enter key.
  8. Type the following command in the Terminal window:
    "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
    
  9. Press the Enter key.
    Debug output should now be printed to the terminal window as Arduino IDE starts.
  10. Wait for Arduino IDE startup to hang.
    (as indicated by no additional output being printed to the Terminal window).
  11. Switch back to the terminal window if the Arduino IDE window took the focus.
  12. Press Command+A.
    This will select all the text in the Terminal window.
  13. Press Command+C.
    This will copy the selected text to the clipboard.
  14. Open a forum reply here by clicking the "Reply" button.
  15. Click the </> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block
  16. Press Ctrl+V.
    This will paste the output into the code block.
  17. Move the cursor outside of the code block markup before you add any additional text to your reply.
  18. Click the "Reply" button to post the output.

Please let me know if you have any questions or problems while following those instructions.

Hi! Here's the output of the verbose debugger.

Last login: Tue Feb  7 08:56:22 on ttys000
K3nny@Kens-nuMacBook-Pro ~ % export GRPC_VERBOSITY=DEBUG
K3nny@Kens-nuMacBook-Pro ~ % export GRPC_TRACE=all
K3nny@Kens-nuMacBook-Pro ~ % "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
D 2023-02-08T15:14:31.872Z | index | Loading @grpc/grpc-js version 1.6.8
Arduino IDE 2.0.3
Starting backend process. PID: 91563
D 2023-02-08T15:14:33.370Z | index | Loading @grpc/grpc-js version 1.6.8
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/K3nny/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-02-08T15:14:33.615Z root INFO Backend Object.initialize: 6.5 ms [Finished 1.555 s after backend start]
2023-02-08T15:14:33.615Z root INFO Backend Object.configure: 5.4 ms [Finished 1.556 s after backend start]
2023-02-08T15:14:33.615Z root INFO Backend MessagingContribution.onStart: 2.0 ms [Finished 1.556 s after backend start]
2023-02-08T15:14:33.616Z root INFO Backend OSBackendApplicationContribution.configure: 0.5 ms [Finished 1.611 s after backend start]
2023-02-08T15:14:33.617Z root INFO Backend DefaultWorkspaceServer.onStart: 0.4 ms [Finished 1.611 s after backend start]
2023-02-08T15:14:33.618Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.611 s after backend start]
2023-02-08T15:14:33.619Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 55.8 ms [Finished 1.612 s after backend start]
2023-02-08T15:14:33.619Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.4 ms [Finished 1.612 s after backend start]
2023-02-08T15:14:33.620Z root INFO Backend ElectronTokenBackendContribution.configure: 1.2 ms [Finished 1.613 s after backend start]
2023-02-08T15:14:33.620Z root INFO Backend PluginDeployerContribution.initialize: 0.6 ms [Finished 1.613 s after backend start]
2023-02-08T15:14:33.621Z root INFO Backend ConfigServiceImpl.onStart: 0.7 ms [Finished 1.614 s after backend start]
2023-02-08T15:14:33.622Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 1.0 ms [Finished 1.615 s after backend start]
2023-02-08T15:14:33.622Z root INFO Backend ArduinoDaemonImpl.onStart: 1.5 ms [Finished 1.616 s after backend start]
2023-02-08T15:14:33.622Z root INFO Backend NodeFileUploadService.configure: 2.3 ms [Finished 1.616 s after backend start]
2023-02-08T15:14:33.622Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
2023-02-08T15:14:33.622Z discovery-log INFO start
2023-02-08T15:14:33.622Z discovery-log INFO start new deferred
2023-02-08T15:14:33.622Z root INFO Backend HostedPluginLocalizationService.initialize: 0.4 ms [Finished 1.617 s after backend start]
2023-02-08T15:14:33.623Z root INFO Backend BoardDiscovery.onStart: 0.8 ms [Finished 1.617 s after backend start]
2023-02-08T15:14:33.623Z root INFO Backend FileDownloadEndpoint.configure: 0.7 ms [Finished 1.618 s after backend start]
2023-02-08T15:14:33.623Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 1.619 s after backend start]
2023-02-08T15:14:33.623Z root INFO Backend PluginApiContribution.configure: 0.4 ms [Finished 1.619 s after backend start]
2023-02-08T15:14:33.624Z root INFO Backend HostedPluginReader.configure: 0.4 ms [Finished 1.620 s after backend start]
2023-02-08T15:14:33.625Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 1.620 s after backend start]
2023-02-08T15:14:33.625Z root INFO Backend PlotterBackendContribution.configure: 1.3 ms [Finished 1.621 s after backend start]
2023-02-08T15:14:33.628Z root INFO Theia app listening on http://localhost:59888.
2023-02-08T15:14:33.629Z root INFO Finished starting backend application: 6.0 ms [Finished 1.625 s after backend start]
2023-02-08T15:14:33.634Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoIDE/plugins does not exist.
2023-02-08T15:14:33.634Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoIDE/extensions does not exist.
2023-02-08T15:14:33.634Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoProIDE/plugins does not exist.
2023-02-08T15:14:33.668Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.669Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-02-08T15:14:33.669Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.669Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-02-08T15:14:33.669Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.669Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-02-08T15:14:33.669Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.669Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-02-08T15:14:33.669Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z 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-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z 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-08T15:14:33.688Z root INFO Resolve plugins list: 67.1 ms [Finished 1.685 s after backend start]
2023-02-08T15:14:33.694Z 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": 5.4 ms [Finished 1.691 s after backend start]
2023-02-08T15:14:33.698Z 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": 3.9 ms [Finished 1.695 s after backend start]
2023-02-08T15:14:33.710Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-cpp/extension": 12.0 ms [Finished 1.707 s after backend start]
2023-02-08T15:14:33.712Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json/extension": 2.1 ms [Finished 1.709 s after backend start]
2023-02-08T15:14:33.713Z 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.5 ms [Finished 1.709 s after backend start]
2023-02-08T15:14:33.804Z 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": 90.9 ms [Finished 1.800 s after backend start]
2023-02-08T15:14:33.813Z daemon INFO INFO[0000] Using config file: /Users/K3nny/.arduinoIDE/arduino-cli.yaml 
INFO[0000] arduino-cli version 0.29.0                   
INFO[0000] Executing `arduino-cli daemon`               
{"IP":"127.0.0.1","Port":"59889"}

2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.809Z | resolving_load_balancer | dns:localhost:59889 IDLE -> IDLE
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.809Z | connectivity_state | (1) dns:localhost:59889 IDLE -> IDLE
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.809Z | dns_resolver | Resolver constructed for target dns:localhost:59889
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.810Z | channel | (1) dns:localhost:59889 Channel constructed with options {
  "grpc.max_send_message_length": 536870912,
  "grpc.max_receive_message_length": 536870912,
  "grpc.primary_user_agent": "arduino-ide/2.0.3"
}
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.810Z | channel_stacktrace | (1) Channel constructed 
    at new ChannelImplementation (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/channel.js:201:23)
    at new Client (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:62:36)
    at new ServiceClientImpl (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/make-client.js:58:5)
    at CoreClientProvider.createClient (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:141:24)
    at CoreClientProvider.create (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:82:35)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:46:52
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:103:69
    at CallbackList.invoke (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:109:26)
    at Emitter.fire (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:224:29)
    at ArduinoDaemonImpl.fireDaemonStarted (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/arduino-daemon-impl.js:240:37)
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.811Z | channel | (1) dns:localhost:59889 createCall [0] method="/cc.arduino.cli.commands.v1.ArduinoCoreService/Create", deadline=Infinity
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.811Z | call_stream | [0] Sending metadata
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.812Z | dns_resolver | Looking up DNS hostname localhost
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.812Z | resolving_load_balancer | dns:localhost:59889 IDLE -> CONNECTING
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.812Z | connectivity_state | (1) dns:localhost:59889 IDLE -> CONNECTING
2023-02-08T15:14:33.815Z root ERROR D 2023-02-08T15:14:33.812Z | channel | (1) dns:localhost:59889 callRefTimer.ref | configSelectionQueue.length=1 pickQueue.length=0
2023-02-08T15:14:33.815Z root ERROR D 2023-02-08T15:14:33.813Z | call_stream | [0] write() called with message of length 0
2023-02-08T15:14:33.815Z root ERROR D 2023-02-08T15:14:33.813Z | call_stream | [0] end() called
2023-02-08T15:14:33.815Z daemon INFO Daemon is running.
2023-02-08T15:14:33.815Z root ERROR D 2023-02-08T15:14:33.815Z | call_stream | [0] deferring writing data chunk of length 5
2023-02-08T15:14:33.817Z root ERROR D 2023-02-08T15:14:33.816Z | dns_resolver | Resolved addresses for target dns:localhost:59889: [::1:59889]
2023-02-08T15:14:33.817Z root ERROR D 2023-02-08T15:14:33.816Z | pick_first | Connect to address list ::1:59889
2023-02-08T15:14:33.817Z root ERROR D 2023-02-08T15:14:33.817Z | subchannel | (2) ::1:59889 Subchannel constructed with options {
  "grpc.max_send_message_length": 536870912,
  "grpc.max_receive_message_length": 536870912,
  "grpc.primary_user_agent": "arduino-ide/2.0.3"
}
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | subchannel_refcount | (2) ::1:59889 refcount 0 -> 1
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | subchannel_refcount | (2) ::1:59889 refcount 1 -> 2
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | pick_first | Start connecting to subchannel with address ::1:59889
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | pick_first | IDLE -> CONNECTING
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | resolving_load_balancer | dns:localhost:59889 CONNECTING -> CONNECTING
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | channel | (1) dns:localhost:59889 callRefTimer.unref | configSelectionQueue.length=1 pickQueue.length=0
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | connectivity_state | (1) dns:localhost:59889 CONNECTING -> CONNECTING
2023-02-08T15:14:33.821Z root ERROR D 2023-02-08T15:14:33.819Z | subchannel | (2) ::1:59889 IDLE -> CONNECTING
2023-02-08T15:14:33.821Z root ERROR D 2023-02-08T15:14:33.819Z | pick_first | CONNECTING -> CONNECTING
2023-02-08T15:14:33.821Z root ERROR D 2023-02-08T15:14:33.819Z | resolving_load_balancer | dns:localhost:59889 CONNECTING -> CONNECTING
2023-02-08T15:14:33.822Z root ERROR D 2023-02-08T15:14:33.819Z | connectivity_state | (1) dns:localhost:59889 CONNECTING -> CONNECTING
2023-02-08T15:14:33.822Z root ERROR D 2023-02-08T15:14:33.819Z | channel | (1) dns:localhost:59889 Pick result for call [0]: QUEUE subchannel: null status: undefined undefined
2023-02-08T15:14:33.822Z root ERROR D 2023-02-08T15:14:33.820Z | channel | (1) dns:localhost:59889 callRefTimer.ref | configSelectionQueue.length=0 pickQueue.length=1
2023-02-08T15:14:33.822Z root ERROR D 2023-02-08T15:14:33.820Z | subchannel | (2) ::1:59889 creating HTTP/2 session
2023-02-08T15:14:33.825Z root ERROR D 2023-02-08T15:14:33.824Z | subchannel | (2) ::1:59889 connection closed with error connect ECONNREFUSED ::1:59889
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | subchannel | (2) ::1:59889 connection closed
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | subchannel | (2) ::1:59889 CONNECTING -> TRANSIENT_FAILURE
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | pick_first | CONNECTING -> TRANSIENT_FAILURE
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | resolving_load_balancer | dns:localhost:59889 CONNECTING -> TRANSIENT_FAILURE
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | channel | (1) dns:localhost:59889 callRefTimer.unref | configSelectionQueue.length=0 pickQueue.length=0
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | channel | (1) dns:localhost:59889 Pick result for call [0]: TRANSIENT_FAILURE subchannel: null status: 14 No connection established
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | call_stream | [0] cancelWithStatus code: 14 details: "No connection established"
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | call_stream | [0] ended with status: code=14 details="No connection established"
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | connectivity_state | (1) dns:localhost:59889 CONNECTING -> TRANSIENT_FAILURE
2023-02-08T15:14:33.827Z root ERROR Uncaught Exception: 
2023-02-08T15:14:33.827Z root ERROR Error: 14 UNAVAILABLE: No connection established
    at Object.callErrorFromStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
for call at
    at ServiceClientImpl.makeUnaryRequest (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
    at ServiceClientImpl.create (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
    at instance (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:143:20)
    at new Promise (<anonymous>)
    at CoreClientProvider.createClient (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:142:32)
    at CoreClientProvider.create (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:82:35)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:46:52
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:103:69
    at CallbackList.invoke (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:109:26)
    at Emitter.fire (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:224:29)
2023-02-08T15:14:33.930Z 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": 126.5 ms [Finished 1.927 s after backend start]
2023-02-08T15:14:34.069Z 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": 139.1 ms [Finished 2.066 s after backend start]
2023-02-08T15:14:34.181Z 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": 111.7 ms [Finished 2.178 s after backend start]
2023-02-08T15:14:34.289Z 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": 108.3 ms [Finished 2.286 s after backend start]
2023-02-08T15:14:34.349Z 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": 59.2 ms [Finished 2.345 s after backend start]
2023-02-08T15:14:34.435Z 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": 86.5 ms [Finished 2.432 s after backend start]
2023-02-08T15:14:34.517Z 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": 81.0 ms [Finished 2.513 s after backend start]
2023-02-08T15:14:34.609Z 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": 92.7 ms [Finished 2.606 s after backend start]
2023-02-08T15:14:34.644Z 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": 35.0 ms [Finished 2.641 s after backend start]
2023-02-08T15:14:34.730Z 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": 85.1 ms [Finished 2.726 s after backend start]
2023-02-08T15:14:34.809Z 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": 79.9 ms [Finished 2.806 s after backend start]
2023-02-08T15:14:34.900Z 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": 90.6 ms [Finished 2.897 s after backend start]
2023-02-08T15:14:34.901Z root ERROR D 2023-02-08T15:14:34.901Z | resolving_load_balancer | dns:localhost:59889 TRANSIENT_FAILURE -> TRANSIENT_FAILURE
2023-02-08T15:14:34.901Z root ERROR D 2023-02-08T15:14:34.901Z | connectivity_state | (1) dns:localhost:59889 TRANSIENT_FAILURE -> TRANSIENT_FAILURE
2023-02-08T15:14:34.901Z root ERROR D 2023-02-08T15:14:34.901Z | subchannel | (2) ::1:59889 TRANSIENT_FAILURE -> IDLE
2023-02-08T15:14:34.902Z root ERROR D 2023-02-08T15:14:34.901Z | subchannel_refcount | (2) ::1:59889 refcount 2 -> 1
2023-02-08T15:14:34.902Z root ERROR D 2023-02-08T15:14:34.901Z | pick_first | TRANSIENT_FAILURE -> IDLE
2023-02-08T15:14:34.902Z root ERROR D 2023-02-08T15:14:34.901Z | resolving_load_balancer | dns:localhost:59889 TRANSIENT_FAILURE -> IDLE
2023-02-08T15:14:34.902Z root ERROR D 2023-02-08T15:14:34.901Z | connectivity_state | (1) dns:localhost:59889 TRANSIENT_FAILURE -> IDLE
2023-02-08T15:14:34.993Z 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": 93.3 ms [Finished 2.990 s after backend start]
2023-02-08T15:14:35.052Z 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": 58.1 ms [Finished 3.048 s after backend start]
2023-02-08T15:14:35.142Z 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": 89.8 ms [Finished 3.138 s after backend start]
2023-02-08T15:14:35.142Z root INFO Deploy plugins list: 67.1 ms [Finished 3.138 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-08T15:14:35.821Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 242.9 ms [Finished 2.025 s after frontend start]
2023-02-08T15:14:43.818Z root ERROR D 2023-02-08T15:14:43.818Z | subchannel_refcount | (2) ::1:59889 refcount 1 -> 0


Hi! I posted my verbose debugger output a couple of days ago but got no reply. Here is it again:

Last login: Tue Feb  7 08:56:22 on ttys000
K3nny@Kens-nuMacBook-Pro ~ % export GRPC_VERBOSITY=DEBUG
K3nny@Kens-nuMacBook-Pro ~ % export GRPC_TRACE=all
K3nny@Kens-nuMacBook-Pro ~ % "/Applications/Arduino IDE.app/Contents/MacOS/Arduino IDE"
D 2023-02-08T15:14:31.872Z | index | Loading @grpc/grpc-js version 1.6.8
Arduino IDE 2.0.3
Starting backend process. PID: 91563
D 2023-02-08T15:14:33.370Z | index | Loading @grpc/grpc-js version 1.6.8
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///Users/K3nny/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-02-08T15:14:33.615Z root INFO Backend Object.initialize: 6.5 ms [Finished 1.555 s after backend start]
2023-02-08T15:14:33.615Z root INFO Backend Object.configure: 5.4 ms [Finished 1.556 s after backend start]
2023-02-08T15:14:33.615Z root INFO Backend MessagingContribution.onStart: 2.0 ms [Finished 1.556 s after backend start]
2023-02-08T15:14:33.616Z root INFO Backend OSBackendApplicationContribution.configure: 0.5 ms [Finished 1.611 s after backend start]
2023-02-08T15:14:33.617Z root INFO Backend DefaultWorkspaceServer.onStart: 0.4 ms [Finished 1.611 s after backend start]
2023-02-08T15:14:33.618Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.611 s after backend start]
2023-02-08T15:14:33.619Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 55.8 ms [Finished 1.612 s after backend start]
2023-02-08T15:14:33.619Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.4 ms [Finished 1.612 s after backend start]
2023-02-08T15:14:33.620Z root INFO Backend ElectronTokenBackendContribution.configure: 1.2 ms [Finished 1.613 s after backend start]
2023-02-08T15:14:33.620Z root INFO Backend PluginDeployerContribution.initialize: 0.6 ms [Finished 1.613 s after backend start]
2023-02-08T15:14:33.621Z root INFO Backend ConfigServiceImpl.onStart: 0.7 ms [Finished 1.614 s after backend start]
2023-02-08T15:14:33.622Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 1.0 ms [Finished 1.615 s after backend start]
2023-02-08T15:14:33.622Z root INFO Backend ArduinoDaemonImpl.onStart: 1.5 ms [Finished 1.616 s after backend start]
2023-02-08T15:14:33.622Z root INFO Backend NodeFileUploadService.configure: 2.3 ms [Finished 1.616 s after backend start]
2023-02-08T15:14:33.622Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/build/arduino-cli...
2023-02-08T15:14:33.622Z discovery-log INFO start
2023-02-08T15:14:33.622Z discovery-log INFO start new deferred
2023-02-08T15:14:33.622Z root INFO Backend HostedPluginLocalizationService.initialize: 0.4 ms [Finished 1.617 s after backend start]
2023-02-08T15:14:33.623Z root INFO Backend BoardDiscovery.onStart: 0.8 ms [Finished 1.617 s after backend start]
2023-02-08T15:14:33.623Z root INFO Backend FileDownloadEndpoint.configure: 0.7 ms [Finished 1.618 s after backend start]
2023-02-08T15:14:33.623Z root INFO Backend AuthenticationServiceImpl.onStart: 0.4 ms [Finished 1.619 s after backend start]
2023-02-08T15:14:33.623Z root INFO Backend PluginApiContribution.configure: 0.4 ms [Finished 1.619 s after backend start]
2023-02-08T15:14:33.624Z root INFO Backend HostedPluginReader.configure: 0.4 ms [Finished 1.620 s after backend start]
2023-02-08T15:14:33.625Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 1.620 s after backend start]
2023-02-08T15:14:33.625Z root INFO Backend PlotterBackendContribution.configure: 1.3 ms [Finished 1.621 s after backend start]
2023-02-08T15:14:33.628Z root INFO Theia app listening on http://localhost:59888.
2023-02-08T15:14:33.629Z root INFO Finished starting backend application: 6.0 ms [Finished 1.625 s after backend start]
2023-02-08T15:14:33.634Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoIDE/plugins does not exist.
2023-02-08T15:14:33.634Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoIDE/extensions does not exist.
2023-02-08T15:14:33.634Z root WARN The local plugin referenced by local-dir:/Users/K3nny/.arduinoProIDE/plugins does not exist.
2023-02-08T15:14:33.668Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.669Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-02-08T15:14:33.669Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.669Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-02-08T15:14:33.669Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.669Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-02-08T15:14:33.669Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.669Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-02-08T15:14:33.669Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-02-08T15:14:33.670Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.670Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z 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-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-02-08T15:14:33.671Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-08T15:14:33.671Z 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-08T15:14:33.688Z root INFO Resolve plugins list: 67.1 ms [Finished 1.685 s after backend start]
2023-02-08T15:14:33.694Z 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": 5.4 ms [Finished 1.691 s after backend start]
2023-02-08T15:14:33.698Z 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": 3.9 ms [Finished 1.695 s after backend start]
2023-02-08T15:14:33.710Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-cpp/extension": 12.0 ms [Finished 1.707 s after backend start]
2023-02-08T15:14:33.712Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "/Applications/Arduino IDE.app/Contents/Resources/app/plugins/vscode-builtin-json/extension": 2.1 ms [Finished 1.709 s after backend start]
2023-02-08T15:14:33.713Z 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.5 ms [Finished 1.709 s after backend start]
2023-02-08T15:14:33.804Z 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": 90.9 ms [Finished 1.800 s after backend start]
2023-02-08T15:14:33.813Z daemon INFO INFO[0000] Using config file: /Users/K3nny/.arduinoIDE/arduino-cli.yaml 
INFO[0000] arduino-cli version 0.29.0                   
INFO[0000] Executing `arduino-cli daemon`               
{"IP":"127.0.0.1","Port":"59889"}

2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.809Z | resolving_load_balancer | dns:localhost:59889 IDLE -> IDLE
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.809Z | connectivity_state | (1) dns:localhost:59889 IDLE -> IDLE
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.809Z | dns_resolver | Resolver constructed for target dns:localhost:59889
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.810Z | channel | (1) dns:localhost:59889 Channel constructed with options {
  "grpc.max_send_message_length": 536870912,
  "grpc.max_receive_message_length": 536870912,
  "grpc.primary_user_agent": "arduino-ide/2.0.3"
}
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.810Z | channel_stacktrace | (1) Channel constructed 
    at new ChannelImplementation (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/channel.js:201:23)
    at new Client (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:62:36)
    at new ServiceClientImpl (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/make-client.js:58:5)
    at CoreClientProvider.createClient (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:141:24)
    at CoreClientProvider.create (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:82:35)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:46:52
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:103:69
    at CallbackList.invoke (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:109:26)
    at Emitter.fire (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:224:29)
    at ArduinoDaemonImpl.fireDaemonStarted (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/arduino-daemon-impl.js:240:37)
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.811Z | channel | (1) dns:localhost:59889 createCall [0] method="/cc.arduino.cli.commands.v1.ArduinoCoreService/Create", deadline=Infinity
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.811Z | call_stream | [0] Sending metadata
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.812Z | dns_resolver | Looking up DNS hostname localhost
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.812Z | resolving_load_balancer | dns:localhost:59889 IDLE -> CONNECTING
2023-02-08T15:14:33.814Z root ERROR D 2023-02-08T15:14:33.812Z | connectivity_state | (1) dns:localhost:59889 IDLE -> CONNECTING
2023-02-08T15:14:33.815Z root ERROR D 2023-02-08T15:14:33.812Z | channel | (1) dns:localhost:59889 callRefTimer.ref | configSelectionQueue.length=1 pickQueue.length=0
2023-02-08T15:14:33.815Z root ERROR D 2023-02-08T15:14:33.813Z | call_stream | [0] write() called with message of length 0
2023-02-08T15:14:33.815Z root ERROR D 2023-02-08T15:14:33.813Z | call_stream | [0] end() called
2023-02-08T15:14:33.815Z daemon INFO Daemon is running.
2023-02-08T15:14:33.815Z root ERROR D 2023-02-08T15:14:33.815Z | call_stream | [0] deferring writing data chunk of length 5
2023-02-08T15:14:33.817Z root ERROR D 2023-02-08T15:14:33.816Z | dns_resolver | Resolved addresses for target dns:localhost:59889: [::1:59889]
2023-02-08T15:14:33.817Z root ERROR D 2023-02-08T15:14:33.816Z | pick_first | Connect to address list ::1:59889
2023-02-08T15:14:33.817Z root ERROR D 2023-02-08T15:14:33.817Z | subchannel | (2) ::1:59889 Subchannel constructed with options {
  "grpc.max_send_message_length": 536870912,
  "grpc.max_receive_message_length": 536870912,
  "grpc.primary_user_agent": "arduino-ide/2.0.3"
}
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | subchannel_refcount | (2) ::1:59889 refcount 0 -> 1
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | subchannel_refcount | (2) ::1:59889 refcount 1 -> 2
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | pick_first | Start connecting to subchannel with address ::1:59889
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | pick_first | IDLE -> CONNECTING
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | resolving_load_balancer | dns:localhost:59889 CONNECTING -> CONNECTING
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | channel | (1) dns:localhost:59889 callRefTimer.unref | configSelectionQueue.length=1 pickQueue.length=0
2023-02-08T15:14:33.818Z root ERROR D 2023-02-08T15:14:33.817Z | connectivity_state | (1) dns:localhost:59889 CONNECTING -> CONNECTING
2023-02-08T15:14:33.821Z root ERROR D 2023-02-08T15:14:33.819Z | subchannel | (2) ::1:59889 IDLE -> CONNECTING
2023-02-08T15:14:33.821Z root ERROR D 2023-02-08T15:14:33.819Z | pick_first | CONNECTING -> CONNECTING
2023-02-08T15:14:33.821Z root ERROR D 2023-02-08T15:14:33.819Z | resolving_load_balancer | dns:localhost:59889 CONNECTING -> CONNECTING
2023-02-08T15:14:33.822Z root ERROR D 2023-02-08T15:14:33.819Z | connectivity_state | (1) dns:localhost:59889 CONNECTING -> CONNECTING
2023-02-08T15:14:33.822Z root ERROR D 2023-02-08T15:14:33.819Z | channel | (1) dns:localhost:59889 Pick result for call [0]: QUEUE subchannel: null status: undefined undefined
2023-02-08T15:14:33.822Z root ERROR D 2023-02-08T15:14:33.820Z | channel | (1) dns:localhost:59889 callRefTimer.ref | configSelectionQueue.length=0 pickQueue.length=1
2023-02-08T15:14:33.822Z root ERROR D 2023-02-08T15:14:33.820Z | subchannel | (2) ::1:59889 creating HTTP/2 session
2023-02-08T15:14:33.825Z root ERROR D 2023-02-08T15:14:33.824Z | subchannel | (2) ::1:59889 connection closed with error connect ECONNREFUSED ::1:59889
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | subchannel | (2) ::1:59889 connection closed
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | subchannel | (2) ::1:59889 CONNECTING -> TRANSIENT_FAILURE
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | pick_first | CONNECTING -> TRANSIENT_FAILURE
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | resolving_load_balancer | dns:localhost:59889 CONNECTING -> TRANSIENT_FAILURE
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | channel | (1) dns:localhost:59889 callRefTimer.unref | configSelectionQueue.length=0 pickQueue.length=0
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | channel | (1) dns:localhost:59889 Pick result for call [0]: TRANSIENT_FAILURE subchannel: null status: 14 No connection established
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | call_stream | [0] cancelWithStatus code: 14 details: "No connection established"
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | call_stream | [0] ended with status: code=14 details="No connection established"
2023-02-08T15:14:33.826Z root ERROR D 2023-02-08T15:14:33.824Z | connectivity_state | (1) dns:localhost:59889 CONNECTING -> TRANSIENT_FAILURE
2023-02-08T15:14:33.827Z root ERROR Uncaught Exception: 
2023-02-08T15:14:33.827Z root ERROR Error: 14 UNAVAILABLE: No connection established
    at Object.callErrorFromStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
    at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78
    at processTicksAndRejections (node:internal/process/task_queues:78:11)
for call at
    at ServiceClientImpl.makeUnaryRequest (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
    at ServiceClientImpl.create (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
    at instance (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:143:20)
    at new Promise (<anonymous>)
    at CoreClientProvider.createClient (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:142:32)
    at CoreClientProvider.create (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:82:35)
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:46:52
    at /Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:103:69
    at CallbackList.invoke (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:109:26)
    at Emitter.fire (/Applications/Arduino IDE.app/Contents/Resources/app/node_modules/@theia/core/lib/common/event.js:224:29)
2023-02-08T15:14:33.930Z 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": 126.5 ms [Finished 1.927 s after backend start]
2023-02-08T15:14:34.069Z 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": 139.1 ms [Finished 2.066 s after backend start]
2023-02-08T15:14:34.181Z 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": 111.7 ms [Finished 2.178 s after backend start]
2023-02-08T15:14:34.289Z 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": 108.3 ms [Finished 2.286 s after backend start]
2023-02-08T15:14:34.349Z 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": 59.2 ms [Finished 2.345 s after backend start]
2023-02-08T15:14:34.435Z 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": 86.5 ms [Finished 2.432 s after backend start]
2023-02-08T15:14:34.517Z 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": 81.0 ms [Finished 2.513 s after backend start]
2023-02-08T15:14:34.609Z 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": 92.7 ms [Finished 2.606 s after backend start]
2023-02-08T15:14:34.644Z 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": 35.0 ms [Finished 2.641 s after backend start]
2023-02-08T15:14:34.730Z 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": 85.1 ms [Finished 2.726 s after backend start]
2023-02-08T15:14:34.809Z 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": 79.9 ms [Finished 2.806 s after backend start]
2023-02-08T15:14:34.900Z 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": 90.6 ms [Finished 2.897 s after backend start]
2023-02-08T15:14:34.901Z root ERROR D 2023-02-08T15:14:34.901Z | resolving_load_balancer | dns:localhost:59889 TRANSIENT_FAILURE -> TRANSIENT_FAILURE
2023-02-08T15:14:34.901Z root ERROR D 2023-02-08T15:14:34.901Z | connectivity_state | (1) dns:localhost:59889 TRANSIENT_FAILURE -> TRANSIENT_FAILURE
2023-02-08T15:14:34.901Z root ERROR D 2023-02-08T15:14:34.901Z | subchannel | (2) ::1:59889 TRANSIENT_FAILURE -> IDLE
2023-02-08T15:14:34.902Z root ERROR D 2023-02-08T15:14:34.901Z | subchannel_refcount | (2) ::1:59889 refcount 2 -> 1
2023-02-08T15:14:34.902Z root ERROR D 2023-02-08T15:14:34.901Z | pick_first | TRANSIENT_FAILURE -> IDLE
2023-02-08T15:14:34.902Z root ERROR D 2023-02-08T15:14:34.901Z | resolving_load_balancer | dns:localhost:59889 TRANSIENT_FAILURE -> IDLE
2023-02-08T15:14:34.902Z root ERROR D 2023-02-08T15:14:34.901Z | connectivity_state | (1) dns:localhost:59889 TRANSIENT_FAILURE -> IDLE
2023-02-08T15:14:34.993Z 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": 93.3 ms [Finished 2.990 s after backend start]
2023-02-08T15:14:35.052Z 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": 58.1 ms [Finished 3.048 s after backend start]
2023-02-08T15:14:35.142Z 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": 89.8 ms [Finished 3.138 s after backend start]
2023-02-08T15:14:35.142Z root INFO Deploy plugins list: 67.1 ms [Finished 3.138 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-08T15:14:35.821Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 242.9 ms [Finished 2.025 s after frontend start]
2023-02-08T15:14:43.818Z root ERROR D 2023-02-08T15:14:43.818Z | subchannel_refcount | (2) ::1:59889 refcount 1 -> 0

I have tried reproducing the issue on multiple environments but could not. I am still guessing what's the problem here, but I suspect some IPv4 vs. IPv6 issues. If somebody with a startup problem is willing to help, we can try a few things to see if it works.

It would be great if somebody could make the following changes inside the bundled IDE2 application.

Modify /Applications/Arduino\ IDE.app/Contents/Resources/app/src-gen/backend/main.js:

This is how the top of the file looks now:

// @ts-check

Please change it to this and start the app:

// @ts-check
require('dns').setDefaultResultOrder('ipv4first');

If above modification did not solve anything, please revert it and change /Applications/Arduino\ IDE.app/Contents/Resources/app/node_modules/arduino-ide-extension/lib/node/core-client-provider.js:

At line 273, there is a function:

address(port) {
    return `localhost:${port}`;
}

Change it to this and start the app:

address(port) {
    return `127.0.0.1:${port}`;
}

Feel free to ping me with questions regarding the requested test changes. Also, feel free to name me if you're willing to help but are on Linux/Windows and cannot find the files mentioned above inside IDE2.

Thanks a lot for the assistance :muscle:

1 Like

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