Continuing the discussion from IDE hangs on startup: "connectex: A connection attempt failed because the connected party did not properly respond ...":
Hello,
I have a similar problem. I am running Windows 10.
I have disabled the Windows proxy and firewall but I am behind a corporate proxy.
Here is the powerShell output:
PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Arduino IDE 2.2.1
Checking for frontend application configuration customizations. Module path: C:\Program Files\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Program Files\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.2.1" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.34.0" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2023-08-31T14:35:44.802Z" (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.2.1","cliVersion":"0.34.0","buildDate":"2023-08-31T14:35:44.802Z"}
Starting backend process. PID: 12812
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Admin/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-09-29T09:12:21.330Z root INFO Backend Object.initialize: 4.3 ms [Finished 0.469 s after backend start]
2023-09-29T09:12:21.331Z root INFO Backend Object.configure: 3.5 ms [Finished 0.469 s after backend start]
2023-09-29T09:12:21.331Z root INFO Backend a.onStart: 1.3 ms [Finished 0.469 s after backend start]
2023-09-29T09:12:21.331Z root INFO Backend a.configure: 0.3 ms [Finished 0.494 s after backend start]
2023-09-29T09:12:21.332Z root INFO Backend u.onStart: 0.2 ms [Finished 0.494 s after backend start]
2023-09-29T09:12:21.333Z root INFO Backend d.configure: 0.1 ms [Finished 0.494 s after backend start]
2023-09-29T09:12:21.333Z root INFO Backend d.initialize: 24.9 ms [Finished 0.494 s after backend start]
2023-09-29T09:12:21.334Z root INFO Backend c.onStart: 0.2 ms [Finished 0.494 s after backend start]
2023-09-29T09:12:21.334Z root INFO Backend s.configure: 0.9 ms [Finished 0.495 s after backend start]
2023-09-29T09:12:21.335Z config INFO >>> Initializing CLI configuration...
2023-09-29T09:12:21.336Z root INFO Backend c.initialize: 0.4 ms [Finished 0.495 s after backend start]
2023-09-29T09:12:21.336Z root INFO Backend P.onStart: 0.7 ms [Finished 0.496 s after backend start]
2023-09-29T09:12:21.337Z config INFO Loading CLI configuration from c:\Users\Admin\.arduinoIDE\arduino-cli.yaml...
2023-09-29T09:12:21.337Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2023-09-29T09:12:21.338Z root INFO Backend s.initialize: 0.3 ms [Finished 0.497 s after backend start]
2023-09-29T09:12:21.338Z root INFO Backend w.onStart: 1.0 ms [Finished 0.497 s after backend start]
2023-09-29T09:12:21.338Z root INFO Backend r.configure: 1.8 ms [Finished 0.497 s after backend start]
2023-09-29T09:12:21.338Z discovery-log INFO start
2023-09-29T09:12:21.338Z discovery-log INFO start new deferred
2023-09-29T09:12:21.338Z root INFO Backend d.initialize: 0.3 ms [Finished 0.498 s after backend start]
2023-09-29T09:12:21.338Z root INFO Backend y.onStart: 1.7 ms [Finished 0.499 s after backend start]
2023-09-29T09:12:21.338Z root INFO Backend r.configure: 1.6 ms [Finished 0.500 s after backend start]
2023-09-29T09:12:21.339Z root INFO Backend s.onStart: 0.5 ms [Finished 0.501 s after backend start]
2023-09-29T09:12:21.339Z root INFO Backend h.configure: 0.5 ms [Finished 0.502 s after backend start]
2023-09-29T09:12:21.339Z root INFO Backend a.configure: 0.3 ms [Finished 0.502 s after backend start]
2023-09-29T09:12:21.339Z root INFO Backend s.configure: 0.1 ms [Finished 0.502 s after backend start]
2023-09-29T09:12:21.339Z root INFO Backend l.configure: 0.1 ms [Finished 0.503 s after backend start]
2023-09-29T09:12:21.343Z root INFO Theia app listening on http://localhost:50568.
2023-09-29T09:12:21.343Z root INFO Finished starting backend application: 4.7 ms [Finished 0.506 s after backend start]
2023-09-29T09:12:21.396Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Admin/.arduinoIDE/plugins does not exist.
2023-09-29T09:12:21.397Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Admin/.arduinoIDE/extensions does not exist.
2023-09-29T09:12:21.398Z root WARN The local plugin referenced by local-dir:C:\Users\Admin\.arduinoIDE\plugins does not exist.
2023-09-29T09:12:21.431Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\Admin\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\Admin\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\Admin\\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}}
2023-09-29T09:12:21.433Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-09-29T09:12:21.434Z config INFO Loaded the CLI configuration.
2023-09-29T09:12:21.434Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Admin/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Admin/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-09-29T09:12:21.435Z config INFO Validating the CLI configuration...
2023-09-29T09:12:21.436Z config INFO The CLI config is valid.
2023-09-29T09:12:21.436Z config INFO <<< Initialized the CLI configuration.
2023-09-29T09:12:21.445Z root INFO Resolve plugins list: 108.1 ms [Finished 0.608 s after backend start]
2023-09-29T09:12:21.539Z daemon INFO time="2023-09-29T11:12:21+02:00" level=info msg="Using config file: c:\\Users\\Admin\\.arduinoIDE\\arduino-cli.yaml"
time="2023-09-29T11:12:21+02:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2023-09-29T11:12:21+02:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:50569
{"IP":"127.0.0.1","Port":"50569"}
2023-09-29T09:12:21.539Z daemon INFO Daemon is running.
2023-09-29T09:12:22.446Z root INFO Deploy plugins list: 108.1 ms [Finished 1.610 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-09-29T09:12:22.969Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 219.7 ms [Finished 1.555 s after frontend start]
2023-09-29T09:12:22.984Z root WARN A command editor.action.toggleStickyScroll is already registered.
2023-09-29T09:12:42.590Z root ERROR E Failed to connect to proxy 195.221.244.36:3128 with error connect ETIMEDOUT 195.221.244.36:3128
2023-09-29T09:12:42.740Z root ERROR E Failed to connect to proxy 195.221.244.35:3128 with error connect ETIMEDOUT 195.221.244.35:3128
2023-09-29T09:12:42.744Z root ERROR Uncaught Exception: Error: 14 UNAVAILABLE: No connection established
2023-09-29T09:12:42.744Z root ERROR Error: 14 UNAVAILABLE: No connection established
at t.callErrorFromStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:726940)
at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:752179)
at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:748059)
at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:747504)
at C:\Program Files\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:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:751720)
at a.create (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:818456)
at instance (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:585395)
at new Promise (<anonymous>)
at _.createClient (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:585372)
at _.create (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:584231)
at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:583109
at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1039338
at i.invoke (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1039428)
at a.fire (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:1041222)
Closing channel on service path '/services/electron-window'.
Closing channel on service path '/services/ide-updater'.
Stored workspaces roots:
No sketches were scheduled for deletion.
Thanks.