IDE hangs on startup: "Received RST_STREAM with code 1"

Hi, i have the issue with when i start Arduino IDE on Windows 10 i just get the pulsing logo. I've tried installing the 2.2.1 version but get the same issue.

Running the Debug command gives the bbelow output with the error: 13 INTERNAL: Received RST_STREAM with code 1

Supsect this is Firewall related as works fine when i take the laptop and connect it at home. We are using a Smoothwall Appliance, however nothing in the Smoothwall logs is showing anything related to this being blocked.

Hope you can help me with this?

PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
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: 13648
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/kmashiter/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-10-02T14:24:21.812Z root INFO Backend Object.initialize: 4.9 ms [Finished 0.550 s after backend start]
2023-10-02T14:24:21.813Z root INFO Backend Object.configure: 4.1 ms [Finished 0.550 s after backend start]
2023-10-02T14:24:21.813Z root INFO Backend a.onStart: 1.6 ms [Finished 0.551 s after backend start]
2023-10-02T14:24:21.814Z root INFO Backend a.configure: 0.4 ms [Finished 0.579 s after backend start]
2023-10-02T14:24:21.815Z root INFO Backend u.onStart: 0.3 ms [Finished 0.579 s after backend start]
2023-10-02T14:24:21.816Z root INFO Backend d.configure: 0.1 ms [Finished 0.579 s after backend start]
2023-10-02T14:24:21.817Z root INFO Backend d.initialize: 28.0 ms [Finished 0.579 s after backend start]
2023-10-02T14:24:21.817Z root INFO Backend c.onStart: 0.3 ms [Finished 0.579 s after backend start]
2023-10-02T14:24:21.817Z root INFO Backend s.configure: 1.3 ms [Finished 0.580 s after backend start]
2023-10-02T14:24:21.819Z config INFO >>> Initializing CLI configuration...
2023-10-02T14:24:21.819Z root INFO Backend c.initialize: 0.5 ms [Finished 0.581 s after backend start]
2023-10-02T14:24:21.819Z root INFO Backend P.onStart: 0.8 ms [Finished 0.581 s after backend start]
2023-10-02T14:24:21.820Z config INFO Loading CLI configuration from c:\Users\kmashiter\.arduinoIDE\arduino-cli.yaml...
2023-10-02T14:24:21.821Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2023-10-02T14:24:21.821Z root INFO Backend s.initialize: 0.4 ms [Finished 0.582 s after backend start]
2023-10-02T14:24:21.821Z root INFO Backend w.onStart: 1.2 ms [Finished 0.583 s after backend start]
2023-10-02T14:24:21.821Z root INFO Backend r.configure: 2.2 ms [Finished 0.584 s after backend start]
2023-10-02T14:24:21.821Z discovery-log INFO start
2023-10-02T14:24:21.821Z discovery-log INFO start new deferred
2023-10-02T14:24:21.822Z root INFO Backend d.initialize: 0.4 ms [Finished 0.584 s after backend start]
2023-10-02T14:24:21.822Z root INFO Backend y.onStart: 2.0 ms [Finished 0.586 s after backend start]
2023-10-02T14:24:21.822Z root INFO Backend r.configure: 1.8 ms [Finished 0.586 s after backend start]
2023-10-02T14:24:21.822Z root INFO Backend s.onStart: 0.5 ms [Finished 0.588 s after backend start]
2023-10-02T14:24:21.822Z root INFO Backend h.configure: 0.6 ms [Finished 0.588 s after backend start]
2023-10-02T14:24:21.822Z root INFO Backend a.configure: 0.4 ms [Finished 0.588 s after backend start]
2023-10-02T14:24:21.822Z root INFO Backend s.configure: 0.1 ms [Finished 0.589 s after backend start]
2023-10-02T14:24:21.822Z root INFO Backend l.configure: 0.1 ms [Finished 0.589 s after backend start]
2023-10-02T14:24:21.827Z root INFO Theia app listening on http://localhost:61508.
2023-10-02T14:24:21.828Z root INFO Finished starting backend application: 5.8 ms [Finished 0.594 s after backend start]
2023-10-02T14:24:21.850Z root WARN The local plugin referenced by local-dir:/c%3A/Users/kmashiter/.arduinoIDE/plugins does not exist.
2023-10-02T14:24:21.850Z root WARN The local plugin referenced by local-dir:/c%3A/Users/kmashiter/.arduinoIDE/extensions does not exist.
2023-10-02T14:24:21.852Z root WARN The local plugin referenced by local-dir:C:\Users\kmashiter\.arduinoIDE\plugins does not exist.
2023-10-02T14:24:21.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\\kmashiter\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\kmashiter\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\kmashiter\\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-10-02T14:24:21.882Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-10-02T14:24:21.883Z config INFO Loaded the CLI configuration.
2023-10-02T14:24:21.885Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/kmashiter/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/kmashiter/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-10-02T14:24:21.885Z config INFO Validating the CLI configuration...
2023-10-02T14:24:21.887Z config INFO The CLI config is valid.
2023-10-02T14:24:21.887Z config INFO <<< Initialized the CLI configuration.
2023-10-02T14:24:21.898Z root INFO Resolve plugins list: 78.3 ms [Finished 0.665 s after backend start]
2023-10-02T14:24:23.156Z root INFO Deploy plugins list: 78.3 ms [Finished 1.922 s after backend start]
2023-10-02T14:24:24.443Z daemon INFO time="2023-10-02T15:24:24+01:00" level=info msg="Using config file: c:\\Users\\kmashiter\\.arduinoIDE\\arduino-cli.yaml"
time="2023-10-02T15:24:24+01:00" level=info msg="arduino-cli.exe version 0.34.0"
2023-10-02T14:24:24.452Z daemon INFO time="2023-10-02T15:24:24+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:61514
{"IP":"127.0.0.1","Port":"61514"}
2023-10-02T14:24:24.453Z daemon INFO Daemon is running.
2023-10-02T14:24:24.478Z root ERROR Uncaught Exception:  Error: 13 INTERNAL: Received RST_STREAM with code 1
2023-10-02T14:24:24.479Z root ERROR Error: 13 INTERNAL: Received RST_STREAM with code 1
    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)
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-10-02T14:24:26.017Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 238.8 ms [Finished 3.039 s after frontend start]
2023-10-02T14:24:26.026Z root WARN A command editor.action.toggleStickyScroll is already registered.

HI, i am still having this issue, can anyone help please!

Hi @karlmash. Unfortunately I don't know what could cause the error that was shown in the logs you shared:

Please install Arduino IDE 2.3.0 and then see if the problem still occurs with that newer IDE version. There have been some significant changes since Arduino IDE 2.2.1 so maybe the problem will be solved. If not, please post the logs from PowerShell again here, just as you did but using Arduino IDE 2.3.0 this time. It might be that the logs produced by 2.3.0 will contain a useful clue about the cause of the problem.

The download links for Arduino IDE 2.3.0 are listed here:

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