IDE hangs on startup: "Error: 14 UNAVAILABLE: read ECONNRESET"

Hi,
the IDE 2.0.3 is stuck on the boot logo, all I see is a pulsing Arduino logo in the center of the window.

I tried everything from restarting to uninstalling it and reinstalling in all the following:

  • default location prompted during installation as "Only to Me"
  • default location prompted during installation as "All users"
  • for EACH of the above I also tried C:\ root drive (i.e. not in the programs folder) and also D:\ drive in case there was some issue with permissions. But nothing...

A couple of times it did start, but after closing it and re-launching it, it went back to not opening and being stuck on the logo.

Below is the full log as per instructions above.

The only thing I noticed in that log is that there is a line with a folder ".theia" that does not exists on my PC:

Configuration directory URI: 'file:///c%3A/Users/Me/.theia'

How can I fix it?

If you can provide a solution, could you please describe it very detailed steps because I am not that familiar with Windows system technical side.

Many thanks :slight_smile:

RK

PS C:\Users\Me\AppData\Local\Programs\Arduino IDE> .\Arduino IDE
.\Arduino : The term '.\Arduino' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ .\Arduino IDE
+ ~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (.\Arduino:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\Me\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\Me\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\Me\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.0.3
Starting backend process. PID: 20156
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Me/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-02-07T20:30:02.142Z root INFO Backend Object.initialize: 9.4 ms [Finished 1.099 s after backend start]
2023-02-07T20:30:02.142Z root INFO Backend Object.configure: 8.8 ms [Finished 1.099 s after backend start]
2023-02-07T20:30:02.143Z root INFO Backend MessagingContribution.onStart: 1.3 ms [Finished 1.099 s after backend start]
2023-02-07T20:30:02.144Z root INFO Backend OSBackendApplicationContribution.configure: 0.3 ms [Finished 1.131 s after backend start]
2023-02-07T20:30:02.144Z root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 1.131 s after backend start]
2023-02-07T20:30:02.145Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.131 s after backend start]
2023-02-07T20:30:02.146Z root INFO Backend PluginLocalizationBackendContribution.initialize: 32.0 ms [Finished 1.131 s after backend start]
2023-02-07T20:30:02.146Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 1.131 s after backend start]
2023-02-07T20:30:02.146Z root INFO Backend ElectronTokenBackendContribution.configure: 1.3 ms [Finished 1.133 s after backend start]
2023-02-07T20:30:02.147Z root INFO Backend PluginDeployerContribution.initialize: 0.4 ms [Finished 1.133 s after backend start]
2023-02-07T20:30:02.147Z root INFO Backend ConfigServiceImpl.onStart: 0.7 ms [Finished 1.133 s after backend start]
2023-02-07T20:30:02.148Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.3 ms [Finished 1.134 s after backend start]
2023-02-07T20:30:02.148Z root INFO Backend ArduinoDaemonImpl.onStart: 0.9 ms [Finished 1.135 s after backend start]
2023-02-07T20:30:02.148Z root INFO Backend NodeFileUploadService.configure: 1.6 ms [Finished 1.135 s after backend start]
2023-02-07T20:30:02.148Z daemon INFO Starting daemon from C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-02-07T20:30:02.148Z discovery-log INFO start
2023-02-07T20:30:02.149Z discovery-log INFO start new deferred
2023-02-07T20:30:02.149Z root INFO Backend HostedPluginLocalizationService.initialize: 0.3 ms [Finished 1.136 s after backend start]
2023-02-07T20:30:02.149Z root INFO Backend BoardDiscovery.onStart: 0.6 ms [Finished 1.136 s after backend start]
2023-02-07T20:30:02.149Z root INFO Backend FileDownloadEndpoint.configure: 0.5 ms [Finished 1.136 s after backend start]
2023-02-07T20:30:02.149Z root INFO Backend AuthenticationServiceImpl.onStart: 0.3 ms [Finished 1.137 s after backend start]
2023-02-07T20:30:02.149Z root INFO Backend PluginApiContribution.configure: 0.4 ms [Finished 1.137 s after backend start]
2023-02-07T20:30:02.150Z root INFO Backend HostedPluginReader.configure: 0.3 ms [Finished 1.138 s after backend start]
2023-02-07T20:30:02.150Z root INFO Backend HostedPluginReader.configure: 0.1 ms [Finished 1.138 s after backend start]
2023-02-07T20:30:02.150Z root INFO Backend PlotterBackendContribution.configure: 0.9 ms [Finished 1.139 s after backend start]
2023-02-07T20:30:02.154Z root INFO Theia app listening on http://localhost:63974.
2023-02-07T20:30:02.158Z root INFO Finished starting backend application: 5.5 ms [Finished 1.143 s after backend start]
2023-02-07T20:30:02.162Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Me/.arduinoIDE/plugins does not exist.
2023-02-07T20:30:02.162Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Me/.arduinoIDE/extensions does not exist.
2023-02-07T20:30:02.163Z root WARN The local plugin referenced by local-dir:C:\Users\Me\.arduinoProIDE\plugins does not exist.
Restoring workspace roots: c:\Users\Me\Downloads\Starter\Starter.ino
2023-02-07T20:30:02.178Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.178Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-02-07T20:30:02.178Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.179Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-02-07T20:30:02.179Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.180Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-02-07T20:30:02.180Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
isTempSketch: false. Input was c:\Users\Me\Downloads\Starter\Starter.ino
2023-02-07T20:30:02.180Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-02-07T20:30:02.181Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.181Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-02-07T20:30:02.182Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.182Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
2023-02-07T20:30:02.184Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.185Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-02-07T20:30:02.185Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.186Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-02-07T20:30:02.188Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.189Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-02-07T20:30:02.190Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.190Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-02-07T20:30:02.192Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.192Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-02-07T20:30:02.193Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.193Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-02-07T20:30:02.194Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.194Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-02-07T20:30:02.195Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.195Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-02-07T20:30:02.196Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.197Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-02-07T20:30:02.197Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.198Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-02-07T20:30:02.199Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.200Z 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-07T20:30:02.200Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.201Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-02-07T20:30:02.201Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.202Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-02-07T20:30:02.205Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.205Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-02-07T20:30:02.212Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T20:30:02.213Z 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-07T20:30:02.241Z root INFO Resolve plugins list: 93.0 ms [Finished 1.229 s after backend start]
2023-02-07T20:30:02.245Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 3.7 ms [Finished 1.234 s after backend start]
2023-02-07T20:30:02.247Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.5" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 2.4 ms [Finished 1.236 s after backend start]
2023-02-07T20:30:02.254Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 6.7 ms [Finished 1.243 s after backend start]
2023-02-07T20:30:02.256Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 1.7 ms [Finished 1.245 s after backend start]
2023-02-07T20:30:02.256Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 0.6 ms [Finished 1.245 s after backend start]
2023-02-07T20:30:02.314Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 57.7 ms [Finished 1.303 s after backend start]
2023-02-07T20:30:02.333Z daemon INFO INFO[0000] Using config file: c:\Users\Me\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.29.0
INFO[0000] Executing `arduino-cli daemon`
{"IP":"127.0.0.1","Port":"63975"}

2023-02-07T20:30:02.334Z daemon INFO Daemon is running.
2023-02-07T20:30:02.344Z root ERROR Uncaught Exception:
2023-02-07T20:30:02.344Z root ERROR Error: 14 UNAVAILABLE: read ECONNRESET
    at Object.callErrorFromStatus (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\call.js:31:19)
    at Object.onReceiveStatus (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client.js:190:52)
    at Object.onReceiveStatus (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client-interceptors.js:365:141)
    at Object.onReceiveStatus (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client-interceptors.js:328:181)
    at C:\Users\Me\AppData\Local\Programs\Arduino IDE\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 (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client.js:160:30)
    at ServiceClientImpl.create (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\make-client.js:105:19)
    at instance (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:143:20)
    at new Promise (<anonymous>)
    at CoreClientProvider.createClient (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:142:32)
    at CoreClientProvider.create (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:82:35)
    at C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:46:52
    at C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:103:69
    at CallbackList.invoke (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:109:26)
    at Emitter.fire (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:224:29)
2023-02-07T20:30:02.401Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 86.6 ms [Finished 1.390 s after backend start]
2023-02-07T20:30:02.498Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 97.8 ms [Finished 1.487 s after backend start]
2023-02-07T20:30:02.556Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 57.9 ms [Finished 1.545 s after backend start]
2023-02-07T20:30:02.599Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 42.9 ms [Finished 1.588 s after backend start]
2023-02-07T20:30:02.633Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 33.5 ms [Finished 1.622 s after backend start]
2023-02-07T20:30:02.680Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 46.6 ms [Finished 1.668 s after backend start]
2023-02-07T20:30:02.724Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 44.1 ms [Finished 1.713 s after backend start]
2023-02-07T20:30:02.768Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 43.9 ms [Finished 1.757 s after backend start]
2023-02-07T20:30:02.788Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 20.0 ms [Finished 1.777 s after backend start]
2023-02-07T20:30:02.833Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 45.6 ms [Finished 1.822 s after backend start]
2023-02-07T20:30:02.887Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 53.3 ms [Finished 1.876 s after backend start]
2023-02-07T20:30:02.940Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 52.9 ms [Finished 1.929 s after backend start]
2023-02-07T20:30:02.984Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 44.7 ms [Finished 1.973 s after backend start]
2023-02-07T20:30:03.014Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 30.0 ms [Finished 2.003 s after backend start]
2023-02-07T20:30:03.060Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 45.6 ms [Finished 2.049 s after backend start]
2023-02-07T20:30:03.061Z root INFO Deploy plugins list: 93.0 ms [Finished 2.049 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'.

Hi @eagle22

Excellent observation, but don't worry about this message. Arduino IDE is built on a free open source IDE framework called "Theia", so some things in the logs mention that name. But Arduino IDE has a custom configuration folder at C:\Users\Me\.arduinoIDE so it is no problem that there isn't a .theia folder.

This is the relevant part of the logs:

Unfortunately it doesn't give me a clue about what caused the error. 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. Start Windows "File Explorer".
  2. Open the Arduino IDE installation folder.
    (usually C:\Program Files\Arduino IDE or C:\Users\<username>\AppData\Local\Programs\Arduino IDE).
  3. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  4. From the context menu, click "Open PowerShell window here".
    PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  5. Type the following command:
    $Env:GRPC_VERBOSITY = "DEBUG"
    
  6. Press the Enter key.
  7. Type the following command in the terminal:
    $Env:GRPC_TRACE = "all"
    
  8. Press the Enter key.
  9. Type the following command:
    & ".\Arduino IDE"
    
  10. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts (or fails to start).
  11. Wait for Arduino IDE startup to hang.
    (as indicated by no additional output being printed to the PowerShell window).
  12. Switch back to the PowerShell window if the Arduino IDE window took the focus.
  13. Right click on the title bar of the PowerShell window.
    This will open a context menu.
  14. Select Edit > Select All from the context menu.
    This will select all the text in the PowerShell window.
  15. Press Ctrl+C.
    This will copy the contents of the PowerShell window to the clipboard.
  16. Open a forum reply here by clicking the Reply button.
  17. 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.
  18. Press Ctrl+V.
    This will paste the output into the code block.
  19. Move the cursor outside of the code block markup before you add any additional text to your reply.
  20. Click the Reply button to post the output.

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

Thank you @ptillisch

please see below as per your instructions:

PS C:\Users\Me\AppData\Local\Programs\Arduino IDE> $Env:GRPC_VERBOSITY = "DEBUG"
PS C:\Users\Me\AppData\Local\Programs\Arduino IDE> $Env:GRPC_TRACE = "all"
PS C:\Users\Me\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\Me\AppData\Local\Programs\Arduino IDE>
D 2023-02-07T21:08:25.629Z | index | Loading @grpc/grpc-js version 1.6.8
Arduino IDE 2.0.3
Starting backend process. PID: 18788
D 2023-02-07T21:08:26.651Z | index | Loading @grpc/grpc-js version 1.6.8
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Me/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-02-07T21:08:26.863Z root INFO Backend Object.initialize: 9.4 ms [Finished 1.125 s after backend start]
2023-02-07T21:08:26.863Z root INFO Backend Object.configure: 8.7 ms [Finished 1.125 s after backend start]
2023-02-07T21:08:26.863Z root INFO Backend MessagingContribution.onStart: 1.4 ms [Finished 1.125 s after backend start]
2023-02-07T21:08:26.864Z root INFO Backend OSBackendApplicationContribution.configure: 0.3 ms [Finished 1.156 s after backend start]
2023-02-07T21:08:26.865Z root INFO Backend DefaultWorkspaceServer.onStart: 0.3 ms [Finished 1.156 s after backend start]
2023-02-07T21:08:26.865Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.156 s after backend start]
2023-02-07T21:08:26.866Z root INFO Backend PluginLocalizationBackendContribution.initialize: 31.2 ms [Finished 1.156 s after backend start]
2023-02-07T21:08:26.866Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 1.156 s after backend start]
2023-02-07T21:08:26.867Z root INFO Backend ElectronTokenBackendContribution.configure: 1.1 ms [Finished 1.158 s after backend start]
2023-02-07T21:08:26.867Z root INFO Backend PluginDeployerContribution.initialize: 0.6 ms [Finished 1.158 s after backend start]
2023-02-07T21:08:26.868Z root INFO Backend ConfigServiceImpl.onStart: 0.8 ms [Finished 1.158 s after backend start]
2023-02-07T21:08:26.868Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.3 ms [Finished 1.159 s after backend start]
2023-02-07T21:08:26.869Z root INFO Backend ArduinoDaemonImpl.onStart: 0.9 ms [Finished 1.160 s after backend start]
2023-02-07T21:08:26.869Z root INFO Backend NodeFileUploadService.configure: 1.7 ms [Finished 1.160 s after backend start]
2023-02-07T21:08:26.869Z daemon INFO Starting daemon from C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-02-07T21:08:26.869Z discovery-log INFO start
2023-02-07T21:08:26.869Z discovery-log INFO start new deferred
2023-02-07T21:08:26.869Z root INFO Backend HostedPluginLocalizationService.initialize: 0.4 ms [Finished 1.161 s after backend start]
2023-02-07T21:08:26.869Z root INFO Backend BoardDiscovery.onStart: 0.7 ms [Finished 1.161 s after backend start]
2023-02-07T21:08:26.869Z root INFO Backend FileDownloadEndpoint.configure: 0.6 ms [Finished 1.162 s after backend start]
2023-02-07T21:08:26.869Z root INFO Backend AuthenticationServiceImpl.onStart: 0.3 ms [Finished 1.162 s after backend start]
2023-02-07T21:08:26.869Z root INFO Backend PluginApiContribution.configure: 0.4 ms [Finished 1.163 s after backend start]
2023-02-07T21:08:26.870Z root INFO Backend HostedPluginReader.configure: 0.3 ms [Finished 1.163 s after backend start]
2023-02-07T21:08:26.870Z root INFO Backend HostedPluginReader.configure: 0.0 ms [Finished 1.163 s after backend start]
2023-02-07T21:08:26.870Z root INFO Backend PlotterBackendContribution.configure: 0.8 ms [Finished 1.164 s after backend start]
2023-02-07T21:08:26.874Z root INFO Theia app listening on http://localhost:55259.
2023-02-07T21:08:26.874Z root INFO Finished starting backend application: 5.0 ms [Finished 1.168 s after backend start]
2023-02-07T21:08:26.875Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Me/.arduinoIDE/plugins does not exist.
2023-02-07T21:08:26.875Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Me/.arduinoIDE/extensions does not exist.
2023-02-07T21:08:26.876Z root WARN The local plugin referenced by local-dir:C:\Users\Me\.arduinoProIDE\plugins does not exist.
Restoring workspace roots: c:\Users\Me\Downloads\Starter\Starter.ino
2023-02-07T21:08:26.891Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.891Z root INFO Resolved "cortex-debug" to a VS Code extension "cortex-debug@1.5.1" with engines:
2023-02-07T21:08:26.892Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.892Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "vscode-arduino-tools@0.0.2-beta.5" with engines:
2023-02-07T21:08:26.893Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.893Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "cpp@1.52.1" with engines:
2023-02-07T21:08:26.894Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.894Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "json@1.46.1" with engines:
2023-02-07T21:08:26.895Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.895Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "json-language-features@1.46.1" with engines:
2023-02-07T21:08:26.896Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.896Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "vscode-language-pack-bg@1.48.3" with engines:
isTempSketch: false. Input was c:\Users\Me\Downloads\Starter\Starter.ino
2023-02-07T21:08:26.899Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.901Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "vscode-language-pack-cs@1.53.2" with engines:
2023-02-07T21:08:26.903Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.904Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "vscode-language-pack-de@1.53.2" with engines:
2023-02-07T21:08:26.905Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.906Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "vscode-language-pack-es@1.53.2" with engines:
2023-02-07T21:08:26.907Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.907Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "vscode-language-pack-fr@1.53.2" with engines:
2023-02-07T21:08:26.908Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.908Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "vscode-language-pack-hu@1.48.3" with engines:
2023-02-07T21:08:26.908Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.909Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "vscode-language-pack-it@1.53.2" with engines:
2023-02-07T21:08:26.910Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.911Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "vscode-language-pack-ja@1.53.2" with engines:
2023-02-07T21:08:26.912Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.912Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "vscode-language-pack-ko@1.53.2" with engines:
2023-02-07T21:08:26.913Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.916Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "vscode-language-pack-nl@1.48.3" with engines:
2023-02-07T21:08:26.919Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.921Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "vscode-language-pack-pl@1.53.2" with engines:
2023-02-07T21:08:26.921Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.922Z 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-07T21:08:26.922Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.922Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "vscode-language-pack-ru@1.53.2" with engines:
2023-02-07T21:08:26.923Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.923Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "vscode-language-pack-tr@1.53.2" with engines:
2023-02-07T21:08:26.924Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.924Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "vscode-language-pack-uk@1.48.3" with engines:
2023-02-07T21:08:26.924Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-02-07T21:08:26.925Z 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-07T21:08:26.955Z root INFO Resolve plugins list: 87.2 ms [Finished 1.249 s after backend start]
2023-02-07T21:08:26.959Z root INFO Deployed backend plugin "marus25.cortex-debug@1.5.1" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\cortex-debug\extension\dist\extension.js": 3.5 ms [Finished 1.253 s after backend start]
2023-02-07T21:08:26.962Z root INFO Deployed backend plugin "arduino.vscode-arduino-tools@0.0.2-beta.5" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 2.7 ms [Finished 1.256 s after backend start]
2023-02-07T21:08:26.970Z root INFO Deployed backend plugin "vscode.cpp@1.52.1" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-cpp\extension": 7.8 ms [Finished 1.263 s after backend start]
2023-02-07T21:08:26.971Z root INFO Deployed backend plugin "vscode.json@1.46.1" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json\extension": 1.6 ms [Finished 1.265 s after backend start]
2023-02-07T21:08:26.972Z root INFO Deployed backend plugin "vscode.json-language-features@1.46.1" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 0.9 ms [Finished 1.266 s after backend start]
2023-02-07T21:08:27.033Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-bg@1.48.3" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-bg\extension": 60.9 ms [Finished 1.327 s after backend start]
2023-02-07T21:08:27.050Z daemon INFO INFO[0000] Using config file: c:\Users\Me\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.29.0
INFO[0000] Executing `arduino-cli daemon`
{"IP":"127.0.0.1","Port":"55260"}

2023-02-07T21:08:27.051Z root ERROR D 2023-02-07T21:08:27.047Z | resolving_load_balancer | dns:localhost:55260 IDLE -> IDLE
2023-02-07T21:08:27.051Z root ERROR D 2023-02-07T21:08:27.047Z | connectivity_state | (1) dns:localhost:55260 IDLE -> IDLE
2023-02-07T21:08:27.052Z root ERROR D 2023-02-07T21:08:27.047Z | dns_resolver | Resolver constructed for target dns:localhost:55260
2023-02-07T21:08:27.053Z root ERROR D 2023-02-07T21:08:27.048Z | channel | (1) dns:localhost:55260 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-07T21:08:27.054Z root ERROR D 2023-02-07T21:08:27.048Z | channel_stacktrace | (1) Channel constructed
    at new ChannelImplementation (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\channel.js:201:23)
    at new Client (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client.js:62:36)
    at new ServiceClientImpl (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\make-client.js:58:5)
    at CoreClientProvider.createClient (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:141:24)
    at CoreClientProvider.create (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:82:35)
    at C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:46:52
    at C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:103:69
    at CallbackList.invoke (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:109:26)
    at Emitter.fire (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:224:29)
    at ArduinoDaemonImpl.fireDaemonStarted (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\arduino-daemon-impl.js:240:37)
2023-02-07T21:08:27.054Z root ERROR D 2023-02-07T21:08:27.048Z | channel | (1) dns:localhost:55260 createCall [0] method="/cc.arduino.cli.commands.v1.ArduinoCoreService/Create", deadline=Infinity
2023-02-07T21:08:27.057Z root ERROR D 2023-02-07T21:08:27.049Z | call_stream | [0] Sending metadata
2023-02-07T21:08:27.058Z root ERROR D 2023-02-07T21:08:27.049Z | dns_resolver | Looking up DNS hostname localhost
2023-02-07T21:08:27.059Z root ERROR D 2023-02-07T21:08:27.050Z | resolving_load_balancer | dns:localhost:55260 IDLE -> CONNECTING
2023-02-07T21:08:27.059Z root ERROR D 2023-02-07T21:08:27.050Z | connectivity_state | (1) dns:localhost:55260 IDLE -> CONNECTING
2023-02-07T21:08:27.059Z root ERROR D 2023-02-07T21:08:27.050Z | channel | (1) dns:localhost:55260 callRefTimer.ref | configSelectionQueue.length=1 pickQueue.length=0
2023-02-07T21:08:27.060Z root ERROR D 2023-02-07T21:08:27.050Z | call_stream | [0] write() called with message of length 0
2023-02-07T21:08:27.061Z root ERROR D 2023-02-07T21:08:27.050Z | call_stream | [0] end() called
2023-02-07T21:08:27.061Z daemon INFO Daemon is running.
2023-02-07T21:08:27.062Z root ERROR D 2023-02-07T21:08:27.060Z | call_stream | [0] deferring writing data chunk of length 5
2023-02-07T21:08:27.064Z root ERROR D 2023-02-07T21:08:27.063Z | dns_resolver | Resolved addresses for target dns:localhost:55260: [::1:55260,127.0.0.1:55260]
2023-02-07T21:08:27.064Z root ERROR D 2023-02-07T21:08:27.063Z | pick_first | Connect to address list ::1:55260,127.0.0.1:55260
2023-02-07T21:08:27.065Z root ERROR D 2023-02-07T21:08:27.064Z | subchannel | (2) ::1:55260 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-07T21:08:27.067Z root ERROR D 2023-02-07T21:08:27.064Z | subchannel_refcount | (2) ::1:55260 refcount 0 -> 1
2023-02-07T21:08:27.067Z root ERROR D 2023-02-07T21:08:27.064Z | subchannel | (3) 127.0.0.1:55260 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-07T21:08:27.067Z root ERROR D 2023-02-07T21:08:27.064Z | subchannel_refcount | (3) 127.0.0.1:55260 refcount 0 -> 1
2023-02-07T21:08:27.068Z root ERROR D 2023-02-07T21:08:27.064Z | subchannel_refcount | (2) ::1:55260 refcount 1 -> 2
2023-02-07T21:08:27.068Z root ERROR D 2023-02-07T21:08:27.064Z | subchannel_refcount | (3) 127.0.0.1:55260 refcount 1 -> 2
2023-02-07T21:08:27.069Z root ERROR D 2023-02-07T21:08:27.064Z | pick_first | Start connecting to subchannel with address ::1:55260
2023-02-07T21:08:27.070Z root ERROR D 2023-02-07T21:08:27.064Z | pick_first | IDLE -> CONNECTING
2023-02-07T21:08:27.070Z root ERROR D 2023-02-07T21:08:27.064Z | resolving_load_balancer | dns:localhost:55260 CONNECTING -> CONNECTING
2023-02-07T21:08:27.073Z root ERROR D 2023-02-07T21:08:27.064Z | channel | (1) dns:localhost:55260 callRefTimer.unref | configSelectionQueue.length=1 pickQueue.length=0
2023-02-07T21:08:27.073Z root ERROR D 2023-02-07T21:08:27.064Z | connectivity_state | (1) dns:localhost:55260 CONNECTING -> CONNECTING
2023-02-07T21:08:27.076Z root ERROR D 2023-02-07T21:08:27.075Z | subchannel | (2) ::1:55260 IDLE -> CONNECTING
2023-02-07T21:08:27.077Z root ERROR D 2023-02-07T21:08:27.075Z | pick_first | CONNECTING -> CONNECTING
2023-02-07T21:08:27.077Z root ERROR D 2023-02-07T21:08:27.075Z | resolving_load_balancer | dns:localhost:55260 CONNECTING -> CONNECTING
2023-02-07T21:08:27.078Z root ERROR D 2023-02-07T21:08:27.075Z | connectivity_state | (1) dns:localhost:55260 CONNECTING -> CONNECTING
2023-02-07T21:08:27.078Z root ERROR D 2023-02-07T21:08:27.075Z | channel | (1) dns:localhost:55260 Pick result for call [0]: QUEUE subchannel: null status: undefined undefined
2023-02-07T21:08:27.078Z root ERROR D 2023-02-07T21:08:27.075Z | channel | (1) dns:localhost:55260 callRefTimer.ref | configSelectionQueue.length=0 pickQueue.length=1
2023-02-07T21:08:27.079Z root ERROR D 2023-02-07T21:08:27.075Z | subchannel | (3) 127.0.0.1:55260 IDLE -> CONNECTING
2023-02-07T21:08:27.080Z root ERROR D 2023-02-07T21:08:27.075Z | pick_first | CONNECTING -> CONNECTING
2023-02-07T21:08:27.083Z root ERROR D 2023-02-07T21:08:27.075Z | resolving_load_balancer | dns:localhost:55260 CONNECTING -> CONNECTING
2023-02-07T21:08:27.083Z root ERROR D 2023-02-07T21:08:27.075Z | channel | (1) dns:localhost:55260 callRefTimer.unref | configSelectionQueue.length=0 pickQueue.length=0
2023-02-07T21:08:27.084Z root ERROR D 2023-02-07T21:08:27.075Z | channel | (1) dns:localhost:55260 Pick result for call [0]: QUEUE subchannel: null status: undefined undefined
2023-02-07T21:08:27.084Z root ERROR D 2023-02-07T21:08:27.075Z | channel | (1) dns:localhost:55260 callRefTimer.ref | configSelectionQueue.length=0 pickQueue.length=1
2023-02-07T21:08:27.085Z root ERROR D 2023-02-07T21:08:27.075Z | connectivity_state | (1) dns:localhost:55260 CONNECTING -> CONNECTING
2023-02-07T21:08:27.085Z root ERROR D 2023-02-07T21:08:27.075Z | subchannel | (2) ::1:55260 creating HTTP/2 session
2023-02-07T21:08:27.088Z root ERROR D 2023-02-07T21:08:27.076Z | subchannel | (3) 127.0.0.1:55260 creating HTTP/2 session
2023-02-07T21:08:27.093Z root ERROR D 2023-02-07T21:08:27.093Z | subchannel | (2) ::1:55260 connection closed with error connect ECONNREFUSED ::1:55260
2023-02-07T21:08:27.093Z root ERROR D 2023-02-07T21:08:27.093Z | subchannel | (2) ::1:55260 connection closed
2023-02-07T21:08:27.094Z root ERROR D 2023-02-07T21:08:27.093Z | subchannel | (2) ::1:55260 CONNECTING -> TRANSIENT_FAILURE
2023-02-07T21:08:27.094Z root ERROR D 2023-02-07T21:08:27.093Z | pick_first | CONNECTING -> CONNECTING
2023-02-07T21:08:27.095Z root ERROR D 2023-02-07T21:08:27.093Z | resolving_load_balancer | dns:localhost:55260 CONNECTING -> CONNECTING
2023-02-07T21:08:27.095Z root ERROR D 2023-02-07T21:08:27.093Z | channel | (1) dns:localhost:55260 callRefTimer.unref | configSelectionQueue.length=0 pickQueue.length=0
2023-02-07T21:08:27.096Z root ERROR D 2023-02-07T21:08:27.093Z | channel | (1) dns:localhost:55260 Pick result for call [0]: QUEUE subchannel: null status: undefined undefined
2023-02-07T21:08:27.096Z root ERROR D 2023-02-07T21:08:27.093Z | channel | (1) dns:localhost:55260 callRefTimer.ref | configSelectionQueue.length=0 pickQueue.length=1
2023-02-07T21:08:27.097Z root ERROR D 2023-02-07T21:08:27.093Z | connectivity_state | (1) dns:localhost:55260 CONNECTING -> CONNECTING
2023-02-07T21:08:27.104Z root ERROR D 2023-02-07T21:08:27.102Z | subchannel | (3) 127.0.0.1:55260 CONNECTING -> READY
2023-02-07T21:08:27.104Z root ERROR D 2023-02-07T21:08:27.102Z | pick_first | Pick subchannel with address 127.0.0.1:55260
2023-02-07T21:08:27.105Z root ERROR D 2023-02-07T21:08:27.102Z | pick_first | CONNECTING -> READY
2023-02-07T21:08:27.106Z root ERROR D 2023-02-07T21:08:27.102Z | resolving_load_balancer | dns:localhost:55260 CONNECTING -> READY
2023-02-07T21:08:27.106Z root ERROR D 2023-02-07T21:08:27.102Z | channel | (1) dns:localhost:55260 callRefTimer.unref | configSelectionQueue.length=0 pickQueue.length=0
2023-02-07T21:08:27.107Z root ERROR D 2023-02-07T21:08:27.102Z | channel | (1) dns:localhost:55260 Pick result for call [0]: COMPLETE subchannel: (3) 127.0.0.1:55260 status: undefined undefined
2023-02-07T21:08:27.107Z root ERROR D 2023-02-07T21:08:27.102Z | connectivity_state | (1) dns:localhost:55260 CONNECTING -> READY
2023-02-07T21:08:27.108Z root ERROR D 2023-02-07T21:08:27.102Z | subchannel_refcount | (3) 127.0.0.1:55260 refcount 2 -> 3
2023-02-07T21:08:27.108Z root ERROR D 2023-02-07T21:08:27.102Z | subchannel_refcount | (2) ::1:55260 refcount 2 -> 1
2023-02-07T21:08:27.109Z root ERROR D 2023-02-07T21:08:27.102Z | subchannel_refcount | (3) 127.0.0.1:55260 refcount 3 -> 2
2023-02-07T21:08:27.109Z root ERROR D 2023-02-07T21:08:27.103Z | call_stream | Starting stream [0] on subchannel (3) 127.0.0.1:55260 with headers
                grpc-accept-encoding: identity,deflate,gzip
                accept-encoding: identity
                :authority: localhost:55260
                user-agent: arduino-ide/2.0.3 grpc-node-js/1.6.8
                content-type: application/grpc
                :method: POST
                :path: /cc.arduino.cli.commands.v1.ArduinoCoreService/Create
                te: trailers

2023-02-07T21:08:27.110Z root ERROR D 2023-02-07T21:08:27.103Z | subchannel_flowctrl | (3) 127.0.0.1:55260 local window size: 65535 remote window size: 65535
2023-02-07T21:08:27.110Z root ERROR D 2023-02-07T21:08:27.103Z | subchannel_internals | (3) 127.0.0.1:55260 session.closed=false session.destroyed=false session.socket.destroyed=false
2023-02-07T21:08:27.110Z root ERROR D 2023-02-07T21:08:27.103Z | call_stream | [0] attachHttp2Stream from subchannel 127.0.0.1:55260
2023-02-07T21:08:27.111Z root ERROR D 2023-02-07T21:08:27.104Z | subchannel_refcount | (3) 127.0.0.1:55260 callRefcount 0 -> 1
2023-02-07T21:08:27.111Z root ERROR D 2023-02-07T21:08:27.104Z | call_stream | [0] sending data chunk of length 5 (deferred)
2023-02-07T21:08:27.112Z root ERROR D 2023-02-07T21:08:27.104Z | call_stream | [0] calling end() on HTTP/2 stream
2023-02-07T21:08:27.115Z root ERROR D 2023-02-07T21:08:27.114Z | call_stream | [0] Node error event: message=read ECONNRESET code=ECONNRESET errno=Unknown system error -4077 syscall=read
2023-02-07T21:08:27.115Z root ERROR D 2023-02-07T21:08:27.114Z | subchannel | (3) 127.0.0.1:55260 connection closed with error read ECONNRESET
2023-02-07T21:08:27.115Z root ERROR D 2023-02-07T21:08:27.114Z | subchannel | (3) 127.0.0.1:55260 connection closed
2023-02-07T21:08:27.115Z root ERROR D 2023-02-07T21:08:27.114Z | subchannel | (3) 127.0.0.1:55260 READY -> IDLE
2023-02-07T21:08:27.116Z root ERROR D 2023-02-07T21:08:27.114Z | subchannel_refcount | (3) 127.0.0.1:55260 refcount 2 -> 1
2023-02-07T21:08:27.119Z root ERROR D 2023-02-07T21:08:27.114Z | pick_first | READY -> IDLE
2023-02-07T21:08:27.120Z root ERROR D 2023-02-07T21:08:27.114Z | resolving_load_balancer | dns:localhost:55260 READY -> IDLE
2023-02-07T21:08:27.121Z root ERROR D 2023-02-07T21:08:27.114Z | connectivity_state | (1) dns:localhost:55260 READY -> IDLE
2023-02-07T21:08:27.121Z root ERROR D 2023-02-07T21:08:27.114Z | call_stream | [0] HTTP/2 stream closed with code 2
2023-02-07T21:08:27.121Z root ERROR D 2023-02-07T21:08:27.114Z | call_stream | [0] ended with status: code=14 details="read ECONNRESET"
2023-02-07T21:08:27.122Z root ERROR D 2023-02-07T21:08:27.114Z | subchannel_refcount | (3) 127.0.0.1:55260 callRefcount 1 -> 0
2023-02-07T21:08:27.174Z root ERROR Uncaught Exception:
2023-02-07T21:08:27.174Z root ERROR Error: 14 UNAVAILABLE: read ECONNRESET
    at Object.callErrorFromStatus (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\call.js:31:19)
    at Object.onReceiveStatus (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client.js:190:52)
    at Object.onReceiveStatus (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client-interceptors.js:365:141)
    at Object.onReceiveStatus (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client-interceptors.js:328:181)
    at C:\Users\Me\AppData\Local\Programs\Arduino IDE\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 (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\client.js:160:30)
    at ServiceClientImpl.create (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@grpc\grpc-js\build\src\make-client.js:105:19)
    at instance (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:143:20)
    at new Promise (<anonymous>)
    at CoreClientProvider.createClient (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:142:32)
    at CoreClientProvider.create (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:82:35)
    at C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:46:52
    at C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:103:69
    at CallbackList.invoke (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:109:26)
    at Emitter.fire (C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\node_modules\@theia\core\lib\common\event.js:224:29)
2023-02-07T21:08:27.175Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-cs@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-cs\extension": 140.7 ms [Finished 1.468 s after backend start]
2023-02-07T21:08:27.268Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-de@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-de\extension": 93.7 ms [Finished 1.561 s after backend start]
2023-02-07T21:08:27.349Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-es@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-es\extension": 81.6 ms [Finished 1.643 s after backend start]
2023-02-07T21:08:27.394Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-fr@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-fr\extension": 44.8 ms [Finished 1.688 s after backend start]
2023-02-07T21:08:27.428Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-hu@1.48.3" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-hu\extension": 33.9 ms [Finished 1.722 s after backend start]
2023-02-07T21:08:27.471Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-it@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-it\extension": 42.6 ms [Finished 1.765 s after backend start]
2023-02-07T21:08:27.513Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ja@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ja\extension": 42.1 ms [Finished 1.807 s after backend start]
2023-02-07T21:08:27.556Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ko@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ko\extension": 43.3 ms [Finished 1.850 s after backend start]
2023-02-07T21:08:27.576Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-nl@1.48.3" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-nl\extension": 19.5 ms [Finished 1.870 s after backend start]
2023-02-07T21:08:27.619Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pl@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pl\extension": 43.2 ms [Finished 1.913 s after backend start]
2023-02-07T21:08:27.661Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-pt-br@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-pt-BR\extension": 42.0 ms [Finished 1.955 s after backend start]
2023-02-07T21:08:27.712Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-ru@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-ru\extension": 50.8 ms [Finished 2.006 s after backend start]
2023-02-07T21:08:27.755Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-tr@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-tr\extension": 42.6 ms [Finished 2.049 s after backend start]
2023-02-07T21:08:27.781Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-uk@1.48.3" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-uk\extension": 26.7 ms [Finished 2.075 s after backend start]
2023-02-07T21:08:27.823Z root INFO Deployed backend plugin "ms-ceintl.vscode-language-pack-zh-hans@1.53.2" from "C:\Users\Me\AppData\Local\Programs\Arduino IDE\resources\app\plugins\vscode-language-pack-zh-hans\extension": 41.4 ms [Finished 2.117 s after backend start]
2023-02-07T21:08:27.823Z root INFO Deploy plugins list: 87.2 ms [Finished 2.117 s after backend start]
2023-02-07T21:08:28.063Z root ERROR D 2023-02-07T21:08:28.063Z | resolving_load_balancer | dns:localhost:55260 IDLE -> IDLE
2023-02-07T21:08:28.064Z root ERROR D 2023-02-07T21:08:28.063Z | connectivity_state | (1) dns:localhost:55260 IDLE -> IDLE
2023-02-07T21:08:28.080Z root ERROR D 2023-02-07T21:08:28.079Z | subchannel | (2) ::1:55260 TRANSIENT_FAILURE -> CONNECTING
2023-02-07T21:08:28.080Z root ERROR D 2023-02-07T21:08:28.079Z | subchannel | (2) ::1:55260 creating HTTP/2 session
2023-02-07T21:08:28.084Z root ERROR D 2023-02-07T21:08:28.084Z | subchannel | (2) ::1:55260 connection closed with error connect ECONNREFUSED ::1:55260
2023-02-07T21:08:28.085Z root ERROR D 2023-02-07T21:08:28.084Z | subchannel | (2) ::1:55260 connection closed
2023-02-07T21:08:28.085Z root ERROR D 2023-02-07T21:08:28.084Z | subchannel | (2) ::1:55260 CONNECTING -> TRANSIENT_FAILURE
2023-02-07T21:08:28.085Z root ERROR D 2023-02-07T21:08:28.084Z | subchannel | (2) ::1:55260 TRANSIENT_FAILURE -> IDLE
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-07T21:08:37.077Z root ERROR D 2023-02-07T21:08:37.077Z | subchannel_refcount | (2) ::1:55260 refcount 1 -> 0
2023-02-07T21:08:37.078Z root ERROR D 2023-02-07T21:08:37.077Z | subchannel_refcount | (3) 127.0.0.1:55260 refcount 1 -> 0

also, I read that using OneDrive might cause issues and I also just tried moving my sketch outside of Dropbox and moved it on a D:\ drive and also in the C:\ root. But still did not change anything.

Hi @eagle22.

These more verbose logs are difficult to interpret because the additional log entries are labeled as "ERROR" even when it is only innocuous content. In addition, there are actual errors in the logs that can act as a "red herring" but actually are not significant (they also occur even with a perfectly working system).

I did a careful comparison of the output you shared against the output I get on my working system and this is the first line of your output where they differ in a significant way:

Unfortunately I don't have any idea about the specific cause of this error and my research on the subject did not uncover any answers.

Arduino IDE communicates with some of its helper tools via an internal TCP/IP port in your computer on "localhost". This communication is failing somehow. These failures are usually found to be caused by "external" interference or misconfiguration. By "external", I mean that it is something separate from the Arduino IDE application, its helper tools, or their configuration. Examples would be your antivirus software, firewall, network configuration including the use of a proxy or VPN.

Is there anything notable about your system that might be relevant?

Thank you @ptillisch ,
nothing in the list you mentioned. I tried disabling them all.

What I have noticed is that after removing it and installing a different version (i.e. a daily build or back to the official latest build) VERY MANY times, once in a while (maybe once every 4-5 times) it does start fully and is fully functional including downloading the libraries and compiling.

THEN if I close it and launch it again it does not work anymore.

Does that suggest anything else that might be?

Thank you :slight_smile:

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