Lab environment - Arduino 2.3.3 hangs at startup

Hi all, currently trying to get Arduino working in a lab environment. It hangs at startup with the pulsing Arduino logo and goes no further. Windows 11 23H2.

I've checked with our network guys that nothing is being blocked as this seems to be a common issue, not being able to download the auxiliary files at startup. I've also had a quick look through event viewer to see whether anything is perhaps blocked by Windows Defender.

I've run the IDE with the logging options and will post the output below, hopefully someone will be able to shed some light on it for us.

Although a lab environment on a domain, this won't even run with a user that I know has administrator rights.

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\arduino-ide> & ".\Arduino IDE.exe"
PS C:\arduino-ide>
Arduino IDE 2.3.3
Checking for frontend application configuration customizations. Module path: C:\arduino-ide\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\arduino-ide\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.3" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.0.4" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-09-25T09:41:18.242Z" (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.3","cliVersion":"1.0.4","buildDate":"2024-09-25T09:41:18.242Z"}
Starting backend process. PID: 9860
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/tech/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-11-01T11:48:33.779Z root INFO Backend Object.initialize: 4.3 ms [Finished 0.652 s after backend start]
2024-11-01T11:48:33.780Z root INFO Backend Object.configure: 3.5 ms [Finished 0.653 s after backend start]
2024-11-01T11:48:33.780Z root INFO Backend a.onStart: 1.8 ms [Finished 0.653 s after backend start]
2024-11-01T11:48:33.781Z root INFO Backend a.configure: 0.3 ms [Finished 0.677 s after backend start]
2024-11-01T11:48:33.781Z root INFO Backend d.onStart: 0.2 ms [Finished 0.677 s after backend start]
2024-11-01T11:48:33.782Z root INFO Backend d.configure: 0.1 ms [Finished 0.677 s after backend start]
2024-11-01T11:48:33.783Z root INFO Backend d.initialize: 24.2 ms [Finished 0.677 s after backend start]
2024-11-01T11:48:33.783Z root INFO Backend c.onStart: 0.2 ms [Finished 0.677 s after backend start]
2024-11-01T11:48:33.784Z root INFO Backend s.configure: 1.3 ms [Finished 0.679 s after backend start]
2024-11-01T11:48:33.786Z config INFO >>> Initializing CLI configuration...
2024-11-01T11:48:33.786Z root INFO Backend c.initialize: 0.7 ms [Finished 0.679 s after backend start]
2024-11-01T11:48:33.786Z root INFO Backend x.onStart: 0.9 ms [Finished 0.679 s after backend start]
2024-11-01T11:48:33.787Z config INFO Loading CLI configuration from c:\Users\tech\.arduinoIDE\arduino-cli.yaml...
2024-11-01T11:48:33.787Z daemon INFO Starting daemon from C:\arduino-ide\resources\app\lib\backend\resources\arduino-cli.exe...
2024-11-01T11:48:33.787Z root INFO Backend s.initialize: 0.5 ms [Finished 0.681 s after backend start]
2024-11-01T11:48:33.787Z root INFO Backend w.onStart: 1.2 ms [Finished 0.681 s after backend start]
2024-11-01T11:48:33.787Z root INFO Backend r.configure: 2.1 ms [Finished 0.682 s after backend start]
2024-11-01T11:48:33.788Z discovery-log INFO start
2024-11-01T11:48:33.788Z discovery-log INFO start new deferred
2024-11-01T11:48:33.788Z root INFO Backend d.initialize: 0.5 ms [Finished 0.682 s after backend start]
2024-11-01T11:48:33.788Z root INFO Backend y.onStart: 2.0 ms [Finished 0.684 s after backend start]
2024-11-01T11:48:33.788Z root INFO Backend r.configure: 1.7 ms [Finished 0.684 s after backend start]
2024-11-01T11:48:33.788Z root INFO Backend s.onStart: 0.6 ms [Finished 0.686 s after backend start]
2024-11-01T11:48:33.788Z root INFO Backend h.configure: 0.5 ms [Finished 0.686 s after backend start]
2024-11-01T11:48:33.788Z root INFO Backend a.configure: 0.2 ms [Finished 0.686 s after backend start]
2024-11-01T11:48:33.788Z root INFO Backend l.configure: 0.1 ms [Finished 0.686 s after backend start]
2024-11-01T11:48:33.792Z root INFO Theia app listening on http://127.0.0.1:53756.
2024-11-01T11:48:33.792Z root INFO Finished starting backend application: 4.5 ms [Finished 0.690 s after backend start]
2024-11-01T11:48:34.018Z root WARN The local plugin referenced by local-dir:/c%3A/Users/tech/.arduinoIDE/plugins does not exist.
2024-11-01T11:48:34.019Z root WARN The local plugin referenced by local-dir:/c%3A/Users/tech/.arduinoIDE/extensions does not exist.
2024-11-01T11:48:34.019Z root WARN The local plugin referenced by local-dir:C:\Users\tech\.arduinoIDE\plugins does not exist.
2024-11-01T11:48:34.493Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
2024-11-01T11:48:34.493Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
2024-11-01T11:48:34.542Z root INFO Resolve plugins list: 755.9 ms [Finished 1.440 s after backend start]
2024-11-01T11:48:35.483Z daemon INFO time="2024-11-01T11:48:35Z" level=info msg="arduino-cli version 1.0.4"
time="2024-11-01T11:48:35Z" level=info msg="Using config file: c:\\Users\\tech\\.arduinoIDE\\arduino-cli.yaml"
time="2024-11-01T11:48:35Z" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:53757
{"IP":"127.0.0.1","Port":"53757"}
2024-11-01T11:48:35.483Z daemon INFO Daemon is running.
2024-11-01T11:48:35.522Z root ERROR Uncaught Exception:  Error: 13 INTERNAL: Received RST_STREAM with code 1
2024-11-01T11:48:35.522Z root ERROR Error: 13 INTERNAL: Received RST_STREAM with code 1
    at t.callErrorFromStatus (C:\arduino-ide\resources\app\lib\backend\main.js:2:912720)
    at Object.onReceiveStatus (C:\arduino-ide\resources\app\lib\backend\main.js:2:938041)
    at Object.onReceiveStatus (C:\arduino-ide\resources\app\lib\backend\main.js:2:933919)
    at Object.onReceiveStatus (C:\arduino-ide\resources\app\lib\backend\main.js:2:933364)
    at C:\arduino-ide\resources\app\lib\backend\main.js:2:1019505
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeUnaryRequest (C:\arduino-ide\resources\app\lib\backend\main.js:2:937582)
    at a.create (C:\arduino-ide\resources\app\lib\backend\main.js:2:1004397)
    at instance (C:\arduino-ide\resources\app\lib\backend\main.js:2:769581)
    at new Promise (<anonymous>)
    at v.createClient (C:\arduino-ide\resources\app\lib\backend\main.js:2:769558)
    at v.create (C:\arduino-ide\resources\app\lib\backend\main.js:2:768466)
    at C:\arduino-ide\resources\app\lib\backend\main.js:2:767362
    at C:\arduino-ide\resources\app\lib\backend\main.js:2:1212097
    at i.invoke (C:\arduino-ide\resources\app\lib\backend\main.js:2:1212187)
    at a.fire (C:\arduino-ide\resources\app\lib\backend\main.js:2:1213990)
2024-11-01T11:48:35.753Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"C:\\Users\\tech\\Documents\\Arduino","data":"C:\\Users\\tech\\AppData\\Local\\Arduino15"}}
2024-11-01T11:48:35.753Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"C:\\Users\\tech\\Documents\\Arduino","data":"C:\\Users\\tech\\AppData\\Local\\Arduino15"},"board_manager":{"additional_urls":[]}}
2024-11-01T11:48:35.753Z config INFO Loaded the CLI configuration.
2024-11-01T11:48:35.780Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/tech/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/tech/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-11-01T11:48:35.780Z config INFO Validating the CLI configuration...
2024-11-01T11:48:35.781Z config INFO The CLI config is valid.
2024-11-01T11:48:35.781Z config INFO <<< Initialized the CLI configuration.
2024-11-01T11:48:35.863Z root INFO Deploy plugins list: 755.9 ms [Finished 2.762 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-11-01T11:48:38.878Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1292.0 ms [Finished 4.697 s after frontend start]
2024-11-01T11:48:38.887Z root WARN A command editor.action.toggleStickyScroll is already registered.

Any help gratefully received.

Consider using Arduino IDE 1.8.19, which is very mature.

1 Like

Just a try.

Can you ping localhost? What is the address that you get?

Reference: Arduino ide 2.3.3 blank screen - #7 by ezuralski

Isn't the background command supposed to follow, not lead, the executable? Or is the preceding background command a windows thing?

No, the powershell prompt is showing the current directory C:\arduino-ide. The & is the call operator and the command being called is within the quotes.

1 Like