-
-
Notifications
You must be signed in to change notification settings - Fork 491
Open
@Octopus1633
Description
Describe the problem
Arduino IDE hangs forever at the pulsing Arduino logo on startup.
When I invoke Arduino IDE via the command line, I see the following error message in the logs:
Error: 14 UNAVAILABLE: No connection established. Last error: read ECONNRESET (2025年08月08日T10:19:55.704Z)
The following is the complete log:
PS C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
PS C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.3.6
Checking for frontend application configuration customizations. Module path: C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.6" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.2.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2025-04-09T11:26:55.498Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{},"showWindowEarly":true,"splashScreenOptions":{},"uriScheme":"arduino-ide"},"defaultLocale":"","validatePreferencesSchema":false,"reloadOnReconnect":true,"uriScheme":"theia","preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.6","cliVersion":"1.2.0","buildDate":"2025-04-09T11:26:55.498Z"}
Starting backend process. PID: 36184
Showing main window early
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/zhuangzhanyu/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2025年08月08日T10:19:55.590Z root INFO Backend u.initialize: 18.9 ms [Finished 0.471 s after backend start]
2025年08月08日T10:19:55.591Z root INFO Backend Object.initialize: 17.1 ms [Finished 0.471 s after backend start]
2025年08月08日T10:19:55.591Z root INFO Backend a.initialize: 1.0 ms [Finished 0.471 s after backend start]
2025年08月08日T10:19:55.591Z root INFO Backend a.initialize: 0.8 ms [Finished 0.471 s after backend start]
2025年08月08日T10:19:55.591Z root INFO Backend u.initialize: 1.0 ms [Finished 0.471 s after backend start]
2025年08月08日T10:19:55.593Z root INFO Backend l.initialize: 18.0 ms [Finished 0.472 s after backend start]
2025年08月08日T10:19:55.597Z root INFO configured all backend app contributions
2025年08月08日T10:19:55.598Z root INFO Backend l.onStart: 0.9 ms [Finished 0.479 s after backend start]
2025年08月08日T10:19:55.598Z root INFO Backend d.onStart: 0.1 ms [Finished 0.479 s after backend start]
2025年08月08日T10:19:55.599Z root INFO Backend a.onStart: 0.2 ms [Finished 0.480 s after backend start]
2025年08月08日T10:19:55.599Z config INFO >>> Initializing CLI configuration...
2025年08月08日T10:19:55.599Z root INFO Backend x.onStart: 0.3 ms [Finished 0.480 s after backend start]
2025年08月08日T10:19:55.599Z config INFO Loading CLI configuration from c:\Users\zhuangzhanyu\.arduinoIDE\arduino-cli.yaml...
2025年08月08日T10:19:55.599Z daemon INFO Starting daemon from C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2025年08月08日T10:19:55.599Z root INFO Backend w.onStart: 0.3 ms [Finished 0.480 s after backend start]
2025年08月08日T10:19:55.599Z discovery-log INFO start
2025年08月08日T10:19:55.599Z discovery-log INFO start new deferred
2025年08月08日T10:19:55.599Z root INFO Backend v.onStart: 0.1 ms [Finished 0.481 s after backend start]
2025年08月08日T10:19:55.599Z root INFO Backend a.onStart: 0.0 ms [Finished 0.481 s after backend start]
2025年08月08日T10:19:55.602Z root INFO Theia app listening on http://127.0.0.1:50074.
2025年08月08日T10:19:55.602Z root INFO Finished starting backend application: 3.0 ms [Finished 0.484 s after backend start]
2025年08月08日T10:19:55.606Z root WARN The local plugin referenced by local-dir:/c%3A/Users/zhuangzhanyu/.arduinoIDE/plugins does not exist.
2025年08月08日T10:19:55.606Z root WARN The local plugin referenced by local-dir:/c%3A/Users/zhuangzhanyu/.arduinoIDE/deployedPlugins does not exist.
2025年08月08日T10:19:55.606Z root WARN The local plugin referenced by local-dir:C:\Users\zhuangzhanyu\.arduinoIDE\plugins does not exist.
2025年08月08日T10:19:55.613Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
2025年08月08日T10:19:55.613Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
2025年08月08日T10:19:55.637Z root INFO Resolve plugins list: 36.4 ms [Finished 0.518 s after backend start]
2025年08月08日T10:19:55.694Z daemon INFO time="2025-08-08T18:19:55+08:00" level=info msg="arduino-cli version 1.2.0"
time="2025-08-08T18:19:55+08:00" level=info msg="Using config file: c:\\Users\\zhuangzhanyu\\.arduinoIDE\\arduino-cli.yaml"
time="2025-08-08T18:19:55+08:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:50075
{"IP":"127.0.0.1","Port":"50075"}
2025年08月08日T10:19:55.694Z daemon INFO Daemon is running.
2025年08月08日T10:19:55.703Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"C:\\Users\\zhuangzhanyu\\Documents\\Arduino","data":"C:\\Users\\zhuangzhanyu\\AppData\\Local\\Arduino15"}}
2025年08月08日T10:19:55.703Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"C:\\Users\\zhuangzhanyu\\Documents\\Arduino","data":"C:\\Users\\zhuangzhanyu\\AppData\\Local\\Arduino15"},"board_manager":{"additional_urls":[]}}
2025年08月08日T10:19:55.703Z config INFO Loaded the CLI configuration.
2025年08月08日T10:19:55.705Z root ERROR Uncaught Exception: Error: 14 UNAVAILABLE: No connection established. Last error: read ECONNRESET (2025年08月08日T10:19:55.704Z)
2025年08月08日T10:19:55.705Z root ERROR Error: 14 UNAVAILABLE: No connection established. Last error: read ECONNRESET (2025年08月08日T10:19:55.704Z)
at t.callErrorFromStatus (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:3089094)
at Object.onReceiveStatus (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6679669)
at Object.onReceiveStatus (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:2572294)
at Object.onReceiveStatus (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:2571739)
at C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:4307911
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at s.makeUnaryRequest (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6679200)
at s.create (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:3088187)
at instance (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6283083)
at new Promise (<anonymous>)
at y.createClient (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6283060)
at y.create (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6281968)
at C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:6280864
at C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1018551
at s.invoke (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1018641)
at a.fire (C:\Users\zhuangzhanyu\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:1020444)
2025年08月08日T10:19:55.705Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/zhuangzhanyu/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/zhuangzhanyu/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2025年08月08日T10:19:55.705Z config INFO Validating the CLI configuration...
2025年08月08日T10:19:55.707Z config INFO The CLI config is valid.
2025年08月08日T10:19:55.707Z config INFO <<< Initialized the CLI configuration.
2025年08月08日T10:19:55.943Z root INFO Deploy plugins list: 343.0 ms [Finished 0.824 s after backend start]
2025年08月08日T10:19:56.619Z root INFO creating connection for 1
2025年08月08日T10:19:57.324Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 143.1 ms [Finished 1.716 s after frontend start]
2025年08月08日T10:19:57.451Z root WARN A command editor.action.toggleStickyScroll is already registered.
2025年08月08日T10:19:57.476Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 121.8 ms [Finished 1.861 s after frontend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2025年08月08日T10:19:57.546Z root INFO Start frontend contributions: 425.0 ms [Finished 1.927 s after frontend start]
2025年08月08日T10:19:57.546Z root INFO Changed application state from 'init' to 'started_contributions'.
2025年08月08日T10:19:57.555Z root INFO Changed application state from 'started_contributions' to 'attached_shell'.
2025年08月08日T10:19:57.555Z root INFO >>> Restoring the layout state...
2025年08月08日T10:19:57.599Z root INFO [98573e31-a3f3-4c6d-be10-c0283dd8fe40] Waiting for backend deployment: 64.2 ms [Finished 1.985 s after frontend start]
2025年08月08日T10:19:58.083Z root INFO [hosted-plugin: 36904] PLUGIN_HOST(36904) starting instance
[Object: null prototype] {}
2025年08月08日T10:19:58.737Z root INFO [98573e31-a3f3-4c6d-be10-c0283dd8fe40] Sync of 23 plugins: 1144.4 ms [Finished 3.130 s after frontend start]
To reproduce
- Start Arduino IDE.
🐛 It hangs forever at the "splash" animation instead of reaching a functional state.
Expected behavior
Arduino IDE starts up and is functional.
- OR -
If there is a problem with the user's system that prevents Arduino IDE from starting up, it clearly communicates about the problem instead of simply hanging.
Arduino IDE version
2.3.6
Operating system
Windows
Operating system version
11