IDE hangs on startup: "Received RST_STREAM with code 2 triggered by internal client error: Protocol error"

Continuing the discussion from IDE hangs on startup, with no error shown in logs:

same issue on linux, Ubuntu 22.04.
Deleting the configs does not help -->

rm -Rf ~/Arduino/ ~/.arduinoIDE/ ~/.arduino15/ ~/.config/Arduino\ IDE/ ~/.config/arduino-ide/ ~/arduino-ide_2.3.2_Linux_64bit$ ./arduino-ide 

same issue

time="2024-04-14T18:10:32+02:00" level=info msg="Executing `arduino-cli daemon`" Daemon is now listening on 127.0.0.1:36247 {"IP":"127.0.0.1","Port":"36247"} 2024-04-14T16:10:32.407Z daemon INFO Daemon is running. 2024-04-14T16:10:32.414Z root INFO Resolve plugins list: 24.0 ms [Finished 0.350 s after backend start] 2024-04-14T16:10:32.427Z config INFO Loading CLI configuration from /lhome/beschat/.arduinoIDE/arduino-cli.yaml... 2024-04-14T16:10:32.492Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"/lhome/beschat/.arduino15","downloads":"/lhome/beschat/.arduino15/staging","user":"/lhome/beschat/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-04-14T16:10:32.492Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model. 2024-04-14T16:10:32.492Z config INFO Loaded the CLI configuration. 2024-04-14T16:10:32.502Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///lhome/beschat/.arduino15","sketchDirUri":"file:///lhome/beschat/Arduino","additionalUrls":[],"network":"none","locale":"en"} 2024-04-14T16:10:32.502Z config INFO Validating the CLI configuration... 2024-04-14T16:10:32.502Z config INFO The CLI config is valid. 2024-04-14T16:10:32.502Z config INFO <<< Initialized the CLI configuration. 2024-04-14T16:10:32.630Z root ERROR Uncaught Exception: Error: 13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: Protocol error 2024-04-14T16:10:32.630Z root ERROR Error: 13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: Protocol error at t.callErrorFromStatus (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:763317) at Object.onReceiveStatus (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:788633) at Object.onReceiveStatus (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:784513) at Object.onReceiveStatus (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:783958) at /lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:870080 at process.processTicksAndRejections (node:internal/process/task_queues:77:11) for call at at s.makeUnaryRequest (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:788174) at s.create (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:854977) at instance (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:621843) at new Promise (<anonymous>) at E.createClient (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:621820) at E.create (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:620679) at /lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:619557 at /lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:1062669 at i.invoke (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:1062759) at s.fire (/lhome/beschat/arduino-ide_2.3.2_Linux_64bit/resources/app/lib/backend/main.js:2:1064562) 2024-04-14T16:10:32.951Z root INFO Deploy plugins list: 24.0 ms [Finished 0.887 s after backend start] Opening channel for service path '/services/electron-window'. Opening channel for service path '/services/ide-updater'. 2024-04-14T16:10:33.540Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 179.9 ms [Finished 0.963 s after frontend start] 2024-04-14T16:10:33.544Z root WARN A command editor.action.toggleStickyScroll is already registered. 

it already works with the same version, are there any other locations i have to clean up ?

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