Can not launch IDE

Starting backend process. PID: 13712
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/JustinZhang/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-01-28T11:40:57.778Z root INFO Backend Object.initialize: 2.9 ms [Finished 0.328 s after backend start]
2024-01-28T11:40:57.778Z root INFO Backend Object.configure: 2.4 ms [Finished 0.328 s after backend start]
2024-01-28T11:40:57.779Z root INFO Backend a.onStart: 0.9 ms [Finished 0.328 s after backend start]
2024-01-28T11:40:57.779Z root INFO Backend a.configure: 0.2 ms [Finished 0.345 s after backend start]
2024-01-28T11:40:57.780Z root INFO Backend u.onStart: 0.2 ms [Finished 0.345 s after backend start]
2024-01-28T11:40:57.780Z root INFO Backend d.configure: 0.1 ms [Finished 0.345 s after backend start]
2024-01-28T11:40:57.781Z root INFO Backend d.initialize: 17.3 ms [Finished 0.346 s after backend start]
2024-01-28T11:40:57.781Z root INFO Backend c.onStart: 0.2 ms [Finished 0.346 s after backend start]
2024-01-28T11:40:57.781Z root INFO Backend s.configure: 0.8 ms [Finished 0.346 s after backend start]
2024-01-28T11:40:57.782Z config INFO >>> Initializing CLI configuration...
2024-01-28T11:40:57.782Z root INFO Backend c.initialize: 0.3 ms [Finished 0.347 s after backend start]
2024-01-28T11:40:57.783Z root INFO Backend P.onStart: 0.6 ms [Finished 0.347 s after backend start]
2024-01-28T11:40:57.783Z config INFO Loading CLI configuration from c:\Users\JustinZhang\.arduinoIDE\arduino-cli.yaml...2024-01-28T11:40:57.783Z daemon INFO Starting daemon from C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\resources\arduino-cli.exe...
2024-01-28T11:40:57.783Z root INFO Backend s.initialize: 0.2 ms [Finished 0.348 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend w.onStart: 0.7 ms [Finished 0.348 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend r.configure: 1.4 ms [Finished 0.348 s after backend start]
2024-01-28T11:40:57.784Z discovery-log INFO start
2024-01-28T11:40:57.784Z discovery-log INFO start new deferred
2024-01-28T11:40:57.784Z root INFO Backend d.initialize: 0.2 ms [Finished 0.349 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend y.onStart: 1.3 ms [Finished 0.350 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend r.configure: 1.2 ms [Finished 0.350 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend s.onStart: 0.3 ms [Finished 0.351 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend h.configure: 0.4 ms [Finished 0.351 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend a.configure: 0.3 ms [Finished 0.351 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend s.configure: 0.0 ms [Finished 0.352 s after backend start]
2024-01-28T11:40:57.784Z root INFO Backend l.configure: 0.1 ms [Finished 0.352 s after backend start]
2024-01-28T11:40:57.787Z root INFO Theia app listening on http://localhost:52454.
2024-01-28T11:40:57.787Z root INFO Finished starting backend application: 3.2 ms [Finished 0.354 s after backend start]
2024-01-28T11:40:57.794Z root WARN The local plugin referenced by local-dir:/c%3A/Users/JustinZhang/.arduinoIDE/plugins does not exist.
2024-01-28T11:40:57.794Z root WARN The local plugin referenced by local-dir:/c%3A/Users/JustinZhang/.arduinoIDE/extensions does not exist.
2024-01-28T11:40:57.795Z root WARN The local plugin referenced by local-dir:C:\Users\JustinZhang\.arduinoIDE\plugins does not exist.
Restoring workspace roots: d:\Arduino\SyncSound\audio_stream_player\audio_stream_player.ino
isTempSketch: false. Input was d:\Arduino\SyncSound\audio_stream_player\audio_stream_player.ino
2024-01-28T11:40:57.810Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\JustinZhang\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\JustinZhang\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\JustinZhang\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-01-28T11:40:57.811Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-01-28T11:40:57.812Z config INFO Loaded the CLI configuration.
2024-01-28T11:40:57.812Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/JustinZhang/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/JustinZhang/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-01-28T11:40:57.812Z config INFO Validating the CLI configuration...
2024-01-28T11:40:57.814Z config INFO The CLI config is valid.
2024-01-28T11:40:57.814Z config INFO <<< Initialized the CLI configuration.
2024-01-28T11:40:57.820Z root INFO Resolve plugins list: 37.0 ms [Finished 0.387 s after backend start]
2024-01-28T11:40:57.881Z daemon INFO time="2024-01-28T19:40:57+08:00" level=info msg="Using config file: c:\\Users\\JustinZhang\\.arduinoIDE\\arduino-cli.yaml"
time="2024-01-28T19:40:57+08:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2024-01-28T19:40:57+08:00" level=info msg="Executing `arduino-cli daemon`"
瀹堟姢杩涚▼姝e湪鐩戝惉 127.0.0.1锛?2455
{"IP":"127.0.0.1","Port":"52455"}
2024-01-28T11:40:57.881Z daemon INFO Daemon is running.
2024-01-28T11:40:58.460Z root INFO Deploy plugins list: 37.0 ms [Finished 1.028 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-01-28T11:40:58.586Z root ERROR Uncaught Exception:  Error: 1 CANCELLED: Call cancelled
2024-01-28T11:40:58.587Z root ERROR Error: 1 CANCELLED: Call cancelled
    at t.callErrorFromStatus (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:726940)
    at Object.onReceiveStatus (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:752179)
    at Object.onReceiveStatus (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:748059)
    at Object.onReceiveStatus (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:747504)
    at C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:833048
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeUnaryRequest (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:751720)
    at a.create (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:818456)
    at instance (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:585395)
    at new Promise (<anonymous>)
    at _.createClient (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:585372)
    at _.create (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:584231)
    at C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:583109
    at C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:1039338
    at i.invoke (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:1039428)
    at a.fire (C:\Users\JustinZhang\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:1041222)
1 Like

Hello everyone,
I encountered the same issue. I'm posting to keep this post alive. The application is stuck on the loading screen and generates the following log. (This is the initial execution of the application)
I have also tried older versions of the IDE, but the same error was thrown all over again.

Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.2" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.3" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-20T10:04:35.814Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"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.2","cliVersion":"0.35.3","buildDate":"2024-02-20T10:04:35.814Z"}
Starting backend process. PID: 26336
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/alilo/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-07-09T13:05:26.855Z root INFO Backend Object.initialize: 4.7 ms [Finished 0.466 s after backend start]
2024-07-09T13:05:26.855Z root INFO Backend Object.configure: 3.6 ms [Finished 0.466 s after backend start]
2024-07-09T13:05:26.855Z root INFO Backend s.onStart: 1.7 ms [Finished 0.466 s after backend start]
2024-07-09T13:05:26.856Z root INFO Backend s.configure: 0.5 ms [Finished 0.487 s after backend start]
2024-07-09T13:05:26.856Z root INFO Backend d.onStart: 0.3 ms [Finished 0.487 s after backend start]
2024-07-09T13:05:26.857Z root INFO Backend d.configure: 0.1 ms [Finished 0.487 s after backend start]
2024-07-09T13:05:26.858Z root INFO Backend d.initialize: 20.8 ms [Finished 0.488 s after backend start]
2024-07-09T13:05:26.858Z root INFO Backend c.onStart: 0.3 ms [Finished 0.488 s after backend start]
2024-07-09T13:05:26.858Z root INFO Backend a.configure: 0.9 ms [Finished 0.489 s after backend start]
2024-07-09T13:05:26.860Z config INFO >>> Initializing CLI configuration...
2024-07-09T13:05:26.860Z root INFO Backend c.initialize: 0.5 ms [Finished 0.489 s after backend start]
2024-07-09T13:05:26.860Z root INFO Backend R.onStart: 0.7 ms [Finished 0.489 s after backend start]
2024-07-09T13:05:26.861Z config INFO Loading CLI configuration from c:\Users\alilo\.arduinoIDE\arduino-cli.yaml...
2024-07-09T13:05:26.861Z daemon INFO Starting daemon from C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\resources\arduino-cli.exe...
2024-07-09T13:05:26.861Z root INFO Backend a.initialize: 0.4 ms [Finished 0.490 s after backend start]
2024-07-09T13:05:26.861Z root INFO Backend w.onStart: 1.0 ms [Finished 0.491 s after backend start]
2024-07-09T13:05:26.861Z root INFO Backend r.configure: 1.6 ms [Finished 0.491 s after backend start]
2024-07-09T13:05:26.861Z discovery-log INFO start
2024-07-09T13:05:26.861Z discovery-log INFO start new deferred
2024-07-09T13:05:26.861Z root INFO Backend d.initialize: 0.4 ms [Finished 0.491 s after backend start]
2024-07-09T13:05:26.861Z root INFO Backend y.onStart: 1.8 ms [Finished 0.493 s after backend start]
2024-07-09T13:05:26.861Z root INFO Backend r.configure: 1.5 ms [Finished 0.493 s after backend start]
2024-07-09T13:05:26.861Z root INFO Backend a.onStart: 0.4 ms [Finished 0.494 s after backend start]
2024-07-09T13:05:26.861Z root INFO Backend h.configure: 0.3 ms [Finished 0.494 s after backend start]
2024-07-09T13:05:26.861Z root INFO Backend s.configure: 0.1 ms [Finished 0.494 s after backend start]
2024-07-09T13:05:26.861Z root INFO Backend l.configure: 0.1 ms [Finished 0.494 s after backend start]
2024-07-09T13:05:26.864Z root INFO Theia app listening on http://127.0.0.1:59807.
2024-07-09T13:05:26.864Z root INFO Finished starting backend application: 2.7 ms [Finished 0.497 s after backend start]
2024-07-09T13:05:26.871Z root WARN The local plugin referenced by local-dir:/c%3A/Users/alilo/.arduinoIDE/plugins does not exist.
2024-07-09T13:05:26.871Z root WARN The local plugin referenced by local-dir:/c%3A/Users/alilo/.arduinoIDE/extensions does not exist.
2024-07-09T13:05:26.871Z root WARN The local plugin referenced by local-dir:C:\Users\alilo\.arduinoIDE\plugins does not exist.
2024-07-09T13:05:26.882Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\alilo\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\alilo\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\alilo\\Documents\\Arduino"},"library":{"enable_unsafe_install":false},"logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true},"network":{"proxy":"http://127.0.0.1:10809"}}
2024-07-09T13:05:26.883Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-07-09T13:05:26.883Z config INFO Loaded the CLI configuration.
2024-07-09T13:05:26.886Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/alilo/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/alilo/Documents/Arduino","additionalUrls":[],"network":{"protocol":"http","hostname":"127.0.0.1","password":"","username":"","port":"10809"},"locale":"en"}
2024-07-09T13:05:26.886Z config INFO Validating the CLI configuration...
2024-07-09T13:05:26.886Z config INFO The CLI config is valid.
2024-07-09T13:05:26.886Z config INFO <<< Initialized the CLI configuration.
2024-07-09T13:05:26.905Z root INFO Resolve plugins list: 44.7 ms [Finished 0.538 s after backend start]
2024-07-09T13:05:26.966Z daemon INFO time="2024-07-09T16:35:26+03:30" level=info msg="Using config file: c:\\Users\\alilo\\.arduinoIDE\\arduino-cli.yaml"
time="2024-07-09T16:35:26+03:30" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-07-09T16:35:26+03:30" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:59808
{"IP":"127.0.0.1","Port":"59808"}
2024-07-09T13:05:26.966Z daemon INFO Daemon is running.
2024-07-09T13:05:27.393Z root ERROR Uncaught Exception:  Error: 1 CANCELLED: Call cancelled
2024-07-09T13:05:27.393Z root ERROR Error: 1 CANCELLED: Call cancelled
    at t.callErrorFromStatus (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:763461)
    at Object.onReceiveStatus (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:788777)
    at Object.onReceiveStatus (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:784657)
    at Object.onReceiveStatus (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:784102)
    at C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:870224
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at s.makeUnaryRequest (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:788318)
    at s.create (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:855121)
    at instance (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:621987)
    at new Promise (<anonymous>)
    at E.createClient (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:621964)
    at E.create (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:620823)
    at C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:619701
    at C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:1062813
    at i.invoke (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:1062903)
    at s.fire (C:\Users\alilo\AppData\Local\Programs\arduino-ide\resources\app\lib\backend\main.js:2:1064706)
2024-07-09T13:05:27.666Z root INFO Deploy plugins list: 44.7 ms [Finished 1.299 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-07-09T13:05:28.701Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 154.9 ms [Finished 1.707 s after frontend start]
2024-07-09T13:05:28.701Z root WARN A command editor.action.toggleStickyScroll is already registered.

Hi @lotov.

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 (the "call" referenced in the exception is a gRPC method call). 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?

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