Arduino IDE does not load past splash screen

I downloaded the latest Arduino IDE release but it does not load past the splash screen. It has booted before but now fails to load.

Here is the log data:

Last login: Wed Mar 6 11:59:02 on ttys001

/Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE ; exit;

(base) aryanavnish@IN-C02FP548MD6M ~ % /Applications/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE ; exit;

Arduino IDE 2.3.2

Checking for frontend application configuration customizations. Module path: /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/electron-main.js, destination 'package.json': /Applications/Arduino IDE.app/Contents/Resources/app/package.json

2024-03-06 12:17:25.396 Arduino IDE[13497:91026] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.

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-20T09:57:46.613Z" (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-20T09:57:46.613Z"}

Starting backend process. PID: 13528

Using browser-only version of superagent in non-browser environment

Configuration directory URI: 'file:///Users/aryanavnish/.arduinoIDE'

Configuring to accept webviews on '^.+\.webview\..+$' hostname.

2024-03-06T06:47:26.047Z root INFO Backend Object.initialize: 4.8 ms [Finished 0.515 s after backend start]

2024-03-06T06:47:26.052Z root INFO Backend Object.configure: 3.7 ms [Finished 0.515 s after backend start]

2024-03-06T06:47:26.052Z root INFO Backend s.onStart: 1.7 ms [Finished 0.515 s after backend start]

2024-03-06T06:47:26.053Z root INFO Backend s.configure: 0.2 ms [Finished 0.541 s after backend start]

2024-03-06T06:47:26.053Z root INFO Backend d.onStart: 0.2 ms [Finished 0.541 s after backend start]

2024-03-06T06:47:26.054Z root INFO Backend d.configure: 0.1 ms [Finished 0.541 s after backend start]

2024-03-06T06:47:26.055Z root INFO Backend d.initialize: 25.6 ms [Finished 0.541 s after backend start]

2024-03-06T06:47:26.055Z root INFO Backend c.onStart: 0.2 ms [Finished 0.541 s after backend start]

2024-03-06T06:47:26.056Z root INFO Backend a.configure: 5.3 ms [Finished 0.547 s after backend start]

2024-03-06T06:47:26.057Z config INFO >>> Initializing CLI configuration...

2024-03-06T06:47:26.057Z root INFO Backend c.initialize: 0.7 ms [Finished 0.547 s after backend start]

2024-03-06T06:47:26.057Z root INFO Backend R.onStart: 0.8 ms [Finished 0.547 s after backend start]

2024-03-06T06:47:26.058Z config INFO Loading CLI configuration from /Users/aryanavnish/.arduinoIDE/arduino-cli.yaml...

2024-03-06T06:47:26.058Z daemon INFO Starting daemon from /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/resources/arduino-cli...

2024-03-06T06:47:26.058Z root INFO Backend a.initialize: 0.5 ms [Finished 0.548 s after backend start]

2024-03-06T06:47:26.058Z root INFO Backend w.onStart: 1.1 ms [Finished 0.549 s after backend start]

2024-03-06T06:47:26.058Z root INFO Backend r.configure: 1.9 ms [Finished 0.549 s after backend start]

2024-03-06T06:47:26.058Z discovery-log INFO start

2024-03-06T06:47:26.058Z discovery-log INFO start new deferred

2024-03-06T06:47:26.058Z root INFO Backend d.initialize: 0.4 ms [Finished 0.550 s after backend start]

2024-03-06T06:47:26.058Z root INFO Backend y.onStart: 1.6 ms [Finished 0.551 s after backend start]

2024-03-06T06:47:26.058Z root INFO Backend r.configure: 1.3 ms [Finished 0.551 s after backend start]

2024-03-06T06:47:26.058Z root INFO Backend a.onStart: 0.4 ms [Finished 0.552 s after backend start]

2024-03-06T06:47:26.058Z root INFO Backend h.configure: 0.3 ms [Finished 0.552 s after backend start]

2024-03-06T06:47:26.058Z root INFO Backend s.configure: 0.1 ms [Finished 0.552 s after backend start]

2024-03-06T06:47:26.058Z root INFO Backend l.configure: 0.1 ms [Finished 0.552 s after backend start]

2024-03-06T06:47:26.059Z root WARN The local plugin referenced by local-dir:/Users/aryanavnish/.arduinoIDE/plugins does not exist.

2024-03-06T06:47:26.059Z root WARN The local plugin referenced by local-dir:/Users/aryanavnish/.arduinoIDE/extensions does not exist.

2024-03-06T06:47:26.069Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"/Users/aryanavnish/Library/Arduino15","downloads":"/Users/aryanavnish/Library/Arduino15/staging","user":"/Users/aryanavnish/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-03-06T06:47:26.069Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.

2024-03-06T06:47:26.069Z config INFO Loaded the CLI configuration.

2024-03-06T06:47:26.075Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///Users/aryanavnish/Library/Arduino15","sketchDirUri":"file:///Users/aryanavnish/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}

2024-03-06T06:47:26.075Z config INFO Validating the CLI configuration...

2024-03-06T06:47:26.076Z config INFO The CLI config is valid.

2024-03-06T06:47:26.076Z config INFO <<< Initialized the CLI configuration.

2024-03-06T06:47:26.101Z root INFO Resolve plugins list: 43.2 ms [Finished 0.594 s after backend start]

2024-03-06T06:47:26.261Z daemon INFO time="2024-03-06T12:17:26+05:30" level=info msg="Using config file: /Users/aryanavnish/.arduinoIDE/arduino-cli.yaml"

time="2024-03-06T12:17:26+05:30" level=info msg="arduino-cli version 0.35.3"

time="2024-03-06T12:17:26+05:30" level=info msg="Executing `arduino-cli daemon`"

Daemon is now listening on 127.0.0.1:50425

{"IP":"127.0.0.1","Port":"50425"}

2024-03-06T06:47:26.261Z daemon INFO Daemon is running.

2024-03-06T06:47:27.080Z root INFO Deploy plugins list: 43.2 ms [Finished 1.574 s after backend start]

2024-03-06T06:47:27.858Z root INFO Theia app listening on http://[::1]:50427.

2024-03-06T06:47:27.858Z root INFO Finished starting backend application: 1800.3 ms [Finished 2.352 s after backend start]

2024-03-06T06:47:27.860Z root ERROR Uncaught Exception: Error: 14 UNAVAILABLE: No connection established

2024-03-06T06:47:27.860Z root ERROR Error: 14 UNAVAILABLE: No connection established

at t.callErrorFromStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:763316)

at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:788632)

at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:784512)

at Object.onReceiveStatus (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:783957)

at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:870079

at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

for call at

at s.makeUnaryRequest (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:788173)

at s.create (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:854976)

at instance (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:621843)

at new Promise (<anonymous>)

at E.createClient (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:621820)

at E.create (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:620679)

at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:619557

at /Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:1062668

at i.invoke (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:1062758)

at s.fire (/Applications/Arduino IDE.app/Contents/Resources/app/lib/backend/main.js:2:1064561)

Opening channel for service path '/services/electron-window'.

Opening channel for service path '/services/ide-updater'.

2024-03-06T06:47:33.799Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 211.7 ms [Finished 5.731 s after frontend start]

2024-03-06T06:47:33.870Z root WARN A command editor.action.toggleStickyScroll is already registered.

2024-03-06T06:47:33.914Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 104.0 ms [Finished 5.860 s after frontend start]

I am connected to the internet. I tried after disconnecting from the net as well, still does not work.

This is a company device hence I have Sophos installed but that did not interfere earlier as it did boot up beforeUse code tags to format code for the forum

Hi @aryanavnish. This stands out to me:

Normally it would have a format like this:

2024-03-06T06:47:27.858Z root INFO Theia app listening on http://localhost:50427.

Have you made any modifications, or is there anything notable about your "hosts file", especially in regards to the definition of localhost?

The "hosts file" is located at /etc/hosts (AKA /private/etc/hosts).

Arduino IDE communicates with some of its components via an internal TCP/IP port in your computer on "localhost".

The error shown in the logs indicates that it is not able to make this communication, which makes it impossible for the IDE to complete its startup:

1 Like

@ptillisch I was able to diagnose this as well, looks like it was a VPN set up issue on my mac along with a combination of firewalls on my router which blocks background connections like this TCP/IP connection.

This gets solved when disable/enable the VPN depending on the router that I access.

Thanks for your response.

You are welcome. I'm glad it is working now. Great job finding the solution! Thanks for taking the time to share your findings.

Regards,
Per

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