IDE hangs on startup: "library_index.json: The system cannot find the file specified"

Hello!
I'm trying to get Arduino to run on a company computer in order to interact with an industrial shields plc which uses the Arduino IDE.
As written in the title, it gets stuck at the Arduino logo at start-up with no error code or anything. I tried running it through powershell as recommended in other similar threads. It seems it cant find the package_list and libraries_list. Checking the appdata/local/arduino15 folder it seems to indeed be missing. It was also installed on another company computer with similar results so I'm thinking if it might be a network restriction on downloading from programs or something?. Heres the output from powershell:

PS C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide> & ".\Arduino IDE"
PS C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide>
Arduino IDE 2.1.1
Starting backend process. PID: 27748
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Draeby.Pe/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-08-30T07:24:12.638Z root INFO Backend Object.initialize: 2.6 ms [Finished 1.506 s after backend start]
2023-08-30T07:24:12.638Z root INFO Backend Object.configure: 2.1 ms [Finished 1.507 s after backend start]
2023-08-30T07:24:12.639Z root INFO Backend MessagingContribution.onStart: 0.9 ms [Finished 1.507 s after backend start]
2023-08-30T07:24:12.640Z root INFO Backend OSBackendApplicationContribution.configure: 0.3 ms [Finished 1.534 s after backend start]
2023-08-30T07:24:12.640Z root INFO Backend DefaultWorkspaceServer.onStart: 0.2 ms [Finished 1.534 s after backend start]2023-08-30T07:24:12.641Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 1.534 s after backend start]
2023-08-30T07:24:12.642Z root INFO Backend PluginLocalizationBackendContribution.initialize: 27.1 ms [Finished 1.534 s after backend start]
2023-08-30T07:24:12.642Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 1.534 s after backend start]
2023-08-30T07:24:12.642Z root INFO Backend ElectronTokenBackendContribution.configure: 1.6 ms [Finished 1.536 s after backend start]
2023-08-30T07:24:12.643Z config INFO >>> Initializing CLI configuration...
2023-08-30T07:24:12.643Z root INFO Backend PluginDeployerContribution.initialize: 0.4 ms [Finished 1.536 s after backend start]
2023-08-30T07:24:12.643Z root INFO Backend ConfigServiceImpl.onStart: 0.7 ms [Finished 1.536 s after backend start]
2023-08-30T07:24:12.644Z config INFO Loading CLI configuration from c:\Users\Draeby.Pe\.arduinoIDE\arduino-cli.yaml...
2023-08-30T07:24:12.644Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.3 ms [Finished 1.537 s after backend start]
2023-08-30T07:24:12.644Z root INFO Backend ArduinoDaemonImpl.onStart: 0.9 ms [Finished 1.538 s after backend start]
2023-08-30T07:24:12.644Z root INFO Backend NodeFileUploadService.configure: 1.6 ms [Finished 1.538 s after backend start]
2023-08-30T07:24:12.645Z daemon INFO Starting daemon from C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-08-30T07:24:12.645Z discovery-log INFO start
2023-08-30T07:24:12.645Z discovery-log INFO start new deferred
2023-08-30T07:24:12.645Z root INFO Backend HostedPluginLocalizationService.initialize: 0.4 ms [Finished 1.538 s after backend start]
2023-08-30T07:24:12.645Z root INFO Backend BoardDiscovery.onStart: 0.9 ms [Finished 1.539 s after backend start]
2023-08-30T07:24:12.645Z root INFO Backend FileDownloadEndpoint.configure: 0.8 ms [Finished 1.539 s after backend start]2023-08-30T07:24:12.645Z root INFO Backend AuthenticationServiceImpl.onStart: 0.3 ms [Finished 1.540 s after backend start]
2023-08-30T07:24:12.645Z root INFO Backend PluginApiContribution.configure: 0.3 ms [Finished 1.540 s after backend start]
2023-08-30T07:24:12.646Z root INFO Backend HostedPluginReader.configure: 0.2 ms [Finished 1.541 s after backend start]
2023-08-30T07:24:12.646Z root INFO Backend HostedPluginReader.configure: 0.0 ms [Finished 1.541 s after backend start]
2023-08-30T07:24:12.646Z root INFO Backend PlotterBackendContribution.configure: 0.9 ms [Finished 1.542 s after backend start]
2023-08-30T07:24:12.648Z root INFO Theia app listening on http://localhost:51587.
2023-08-30T07:24:12.648Z root INFO Finished starting backend application: 3.6 ms [Finished 1.544 s after backend start]
2023-08-30T07:24:12.665Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Draeby.Pe/.arduinoIDE/plugins does not exist.
2023-08-30T07:24:12.666Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Draeby.Pe/.arduinoIDE/extensions does not exist.
2023-08-30T07:24:12.666Z root WARN The local plugin referenced by local-dir:C:\Users\Draeby.Pe\.arduinoIDE\plugins does not exist.
2023-08-30T07:24:12.683Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.683Z root INFO Resolved "cortex-debug" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.685Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.688Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.688Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.689Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.689Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.690Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.690Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.691Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.691Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.691Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.692Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.692Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.692Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.692Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.693Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.693Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.694Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.694Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.695Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.695Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.695Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.696Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.696Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.696Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.697Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.699Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.700Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.700Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.701Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.701Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.702Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.702Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.702Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.703Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.703Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.704Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.704Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.704Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.704Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-08-30T07:24:12.705Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "[email protected]" with engines:
2023-08-30T07:24:12.708Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\Draeby.Pe\\OneDrive - GEA\\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-08-30T07:24:12.708Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-08-30T07:24:12.708Z config INFO Loaded the CLI configuration.
2023-08-30T07:24:12.711Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Draeby.Pe/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Draeby.Pe/OneDrive%20-%20GEA/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-08-30T07:24:12.711Z config INFO Validating the CLI configuration...
2023-08-30T07:24:12.711Z config INFO The CLI config is valid.
2023-08-30T07:24:12.711Z config INFO <<< Initialized the CLI configuration.
2023-08-30T07:24:12.722Z root INFO Resolve plugins list: 77.7 ms [Finished 1.617 s after backend start]
2023-08-30T07:24:12.725Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\cortex-debug\extension\dist\extension.js": 3.5 ms [Finished 1.621 s after backend start]
2023-08-30T07:24:12.728Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 3.1 ms [Finished 1.624 s after backend start]
2023-08-30T07:24:12.735Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-cpp\extension": 6.3 ms [Finished 1.631 s after backend start]
2023-08-30T07:24:12.736Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json\extension": 1.6 ms [Finished 1.632 s after backend start]
2023-08-30T07:24:12.737Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 0.5 ms [Finished 1.633 s after backend start]
2023-08-30T07:24:12.792Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-bg\extension": 55.2 ms [Finished 1.688 s after backend start]
2023-08-30T07:24:12.813Z daemon INFO INFO[0000] Using config file: c:\Users\Draeby.Pe\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.32.3
INFO[0000] Executing `arduino-cli daemon`
Daemon is now listening on 127.0.0.1:59438
{"IP":"127.0.0.1","Port":"59438"}


2023-08-30T07:24:12.813Z daemon INFO Daemon is running.
2023-08-30T07:24:12.873Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-cs\extension": 81.2 ms [Finished 1.769 s after backend start]
2023-08-30T07:24:12.878Z daemon INFO INFO[0000] Loading hardware from: C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages

2023-08-30T07:24:12.962Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-de\extension": 89.2 ms [Finished 1.858 s after backend start]
2023-08-30T07:24:12.964Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\Draeby.Pe\AppData\Local\Arduino15\package_index.json: open C:\Users\Draeby.Pe\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-08-30T07:24:12.965Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-08-30T07:24:12.966Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-08-30T07:24:12.967Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\Draeby.Pe\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-08-30T07:24:12.969Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-08-30T07:24:12.970Z daemon INFO INFO[0000] Loading libraries index file                  index="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\library_index.json"
INFO[0000] Adding libraries dir                          dir="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0000] Adding libraries dir                          dir="C:\\Users\\Draeby.Pe\\OneDrive - GEA\\Documents\\Arduino\\libraries" location=user

2023-08-30T07:24:12.971Z daemon INFO INFO[0000] Updating libraries index
INFO[0000] Updating index                                url="https://downloads.arduino.cc/packages/package_index.tar.bz2"

2023-08-30T07:24:12.972Z root INFO core-client-provider [platform-index]
2023-08-30T07:24:12.972Z daemon INFO INFO[0000] Starting download                             url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
INFO[0000] Starting download                             url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"

2023-08-30T07:24:12.973Z root INFO core-client-provider [library-index]
2023-08-30T07:24:13.026Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-es\extension": 64.0 ms [Finished 1.922 s after backend start]
2023-08-30T07:24:13.061Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-fr\extension": 34.2 ms [Finished 1.957 s after backend start]
2023-08-30T07:24:13.086Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-hu\extension": 25.4 ms [Finished 1.982 s after backend start]
2023-08-30T07:24:13.123Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-it\extension": 36.3 ms [Finished 2.018 s after backend start]
2023-08-30T07:24:13.161Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-ja\extension": 38.1 ms [Finished 2.057 s after backend start]
2023-08-30T07:24:13.198Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-ko\extension": 37.3 ms [Finished 2.094 s after backend start]
2023-08-30T07:24:13.213Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-nl\extension": 15.1 ms [Finished 2.109 s after backend start]
2023-08-30T07:24:13.246Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-pl\extension": 33.0 ms [Finished 2.142 s after backend start]
2023-08-30T07:24:13.283Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-pt-BR\extension": 36.5 ms [Finished 2.179 s after backend start]
2023-08-30T07:24:13.321Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-ru\extension": 38.2 ms [Finished 2.217 s after backend start]
2023-08-30T07:24:13.358Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-tr\extension": 37.2 ms [Finished 2.254 s after backend start]
2023-08-30T07:24:13.385Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-uk\extension": 27.0 ms [Finished 2.281 s after backend start]
2023-08-30T07:24:13.416Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-zh-hans\extension": 31.2 ms [Finished 2.312 s after backend start]
2023-08-30T07:24:13.417Z root INFO Deploy plugins list: 77.7 ms [Finished 2.313 s after backend start]
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-08-30T07:24:14.041Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 154.0 ms [Finished 1.329 s after frontend start]
2023-08-30T07:24:55.099Z root ERROR Failed to update platform, library indexes.
2023-08-30T07:24:55.100Z daemon INFO INFO[0042] Loading hardware from: C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages

2023-08-30T07:24:55.101Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\Draeby.Pe\AppData\Local\Arduino15\package_index.json: open C:\Users\Draeby.Pe\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-08-30T07:24:55.101Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
2023-08-30T07:24:55.101Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
2023-08-30T07:24:55.102Z daemon INFO INFO[0042] Loading libraries index file                  index="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\library_index.json"
INFO[0042] Adding libraries dir                          dir="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0042] Adding libraries dir                          dir="C:\\Users\\Draeby.Pe\\OneDrive - GEA\\Documents\\Arduino\\libraries" location=user

2023-08-30T07:24:55.102Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: reading library_index.json: open C:\Users\Draeby.Pe\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-08-30T07:24:55.103Z root ERROR Uncaught Exception:
2023-08-30T07:24:55.103Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Loading index file: loading json index file C:\Users\Draeby.Pe\AppData\Local\Arduino15\package_index.json: open C:\Users\Draeby.Pe\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not found
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\Draeby.Pe\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at isIndexUpdateRequiredBeforeInit (C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:388:11)
    at CoreClientProvider.evaluateErrorStatus (C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:200:16)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ClientReadableStreamImpl.<anonymous> (C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:184:31)
[19856:0830/092611.469:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is
Closing channel on service path '/services/electron-window-ext'.
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.

Any suggestions?

I tried manually installing the .json files in the Arduino15 folder as per:
Arduino 2.0 will not start past the loading screen - Software / IDE 2.x - Arduino Forum
since the errors seemed similar to me. I didnt really see a download button so i just made a notepad file and named it accordingly (package_index.json etc) and then copied in the code.
I'm now getting new errors:

PS C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide> & ".\Arduino IDE"
PS C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide>
Arduino IDE 2.1.1
Starting backend process. PID: 21160
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Draeby.Pe/.theia'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-09-06T11:43:12.198Z root INFO Backend Object.initialize: 2.8 ms [Finished 9.934 s after backend start]
2023-09-06T11:43:12.198Z root INFO Backend Object.configure: 2.2 ms [Finished 9.934 s after backend start]
2023-09-06T11:43:12.200Z root INFO Backend MessagingContribution.onStart: 0.9 ms [Finished 9.934 s after backend start]
2023-09-06T11:43:12.202Z root INFO Backend OSBackendApplicationContribution.configure: 0.3 ms [Finished 10.102 s after backend start]
2023-09-06T11:43:12.203Z root INFO Backend DefaultWorkspaceServer.onStart: 0.2 ms [Finished 10.102 s after backend start]
2023-09-06T11:43:12.204Z root INFO Backend PluginLocalizationBackendContribution.configure: 0.1 ms [Finished 10.102 s after backend start]
2023-09-06T11:43:12.204Z root WARN Backend PluginLocalizationBackendContribution.initialize took longer than the expected maximum 50 milliseconds: 167.4 ms [Finished 10.102 s after backend start]
2023-09-06T11:43:12.204Z root INFO Backend TaskBackendApplicationContribution.onStart: 0.2 ms [Finished 10.102 s after backend start]
2023-09-06T11:43:12.205Z root INFO Backend ElectronTokenBackendContribution.configure: 3.0 ms [Finished 10.105 s after backend start]
2023-09-06T11:43:12.206Z config INFO >>> Initializing CLI configuration...
2023-09-06T11:43:12.206Z root INFO Backend PluginDeployerContribution.initialize: 1.1 ms [Finished 10.106 s after backend start]
2023-09-06T11:43:12.206Z root INFO Backend ConfigServiceImpl.onStart: 1.8 ms [Finished 10.107 s after backend start]
2023-09-06T11:43:12.207Z config INFO Loading CLI configuration from c:\Users\Draeby.Pe\.arduinoIDE\arduino-cli.yaml...
2023-09-06T11:43:12.207Z root INFO Backend WebviewBackendSecurityWarnings.initialize: 0.3 ms [Finished 10.108 s after backend start]
2023-09-06T11:43:12.207Z root INFO Backend ArduinoDaemonImpl.onStart: 0.8 ms [Finished 10.108 s after backend start]
2023-09-06T11:43:12.208Z root INFO Backend NodeFileUploadService.configure: 1.7 ms [Finished 10.109 s after backend start]
2023-09-06T11:43:12.208Z daemon INFO Starting daemon from C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\build\arduino-cli.exe...
2023-09-06T11:43:12.208Z discovery-log INFO start
2023-09-06T11:43:12.208Z discovery-log INFO start new deferred
2023-09-06T11:43:12.208Z root INFO Backend HostedPluginLocalizationService.initialize: 0.3 ms [Finished 10.109 s after backend start]
2023-09-06T11:43:12.208Z root INFO Backend BoardDiscovery.onStart: 0.8 ms [Finished 10.110 s after backend start]
2023-09-06T11:43:12.208Z root INFO Backend FileDownloadEndpoint.configure: 0.8 ms [Finished 10.110 s after backend start]
2023-09-06T11:43:12.208Z root INFO Backend AuthenticationServiceImpl.onStart: 0.3 ms [Finished 10.111 s after backend start]
2023-09-06T11:43:12.208Z root INFO Backend PluginApiContribution.configure: 0.4 ms [Finished 10.112 s after backend start]
2023-09-06T11:43:12.214Z root INFO Backend HostedPluginReader.configure: 0.2 ms [Finished 10.112 s after backend start]
2023-09-06T11:43:12.214Z root INFO Backend HostedPluginReader.configure: 0.0 ms [Finished 10.112 s after backend start]
2023-09-06T11:43:12.214Z root INFO Backend PlotterBackendContribution.configure: 5.5 ms [Finished 10.118 s after backend start]
2023-09-06T11:43:12.216Z root INFO Theia app listening on http://localhost:57797.
2023-09-06T11:43:12.217Z root INFO Finished starting backend application: 8.5 ms [Finished 10.120 s after backend start]2023-09-06T11:43:12.235Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Draeby.Pe/.arduinoIDE/plugins does not exist.
2023-09-06T11:43:12.236Z root WARN The local plugin referenced by local-dir:C:\Users\Draeby.Pe\.arduinoIDE\plugins does not exist.
2023-09-06T11:43:12.236Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Draeby.Pe/.arduinoIDE/extensions does not exist.
2023-09-06T11:43:12.398Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.398Z root INFO Resolved "cortex-debug" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.399Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.400Z root INFO Resolved "vscode-arduino-tools" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.402Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.402Z root INFO Resolved "vscode-builtin-cpp" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.403Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.403Z root INFO Resolved "vscode-builtin-json" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.403Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.404Z root INFO Resolved "vscode-builtin-json-language-features" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.404Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.404Z root INFO Resolved "vscode-language-pack-bg" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.404Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.405Z root INFO Resolved "vscode-language-pack-cs" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.405Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.405Z root INFO Resolved "vscode-language-pack-de" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.406Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.406Z root INFO Resolved "vscode-language-pack-es" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.406Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.406Z root INFO Resolved "vscode-language-pack-fr" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.407Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.407Z root INFO Resolved "vscode-language-pack-hu" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.407Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.407Z root INFO Resolved "vscode-language-pack-it" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.408Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.408Z root INFO Resolved "vscode-language-pack-ja" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.408Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.409Z root INFO Resolved "vscode-language-pack-ko" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.409Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.409Z root INFO Resolved "vscode-language-pack-nl" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.410Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.410Z root INFO Resolved "vscode-language-pack-pl" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.410Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.410Z root INFO Resolved "vscode-language-pack-pt-BR" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.411Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.411Z root INFO Resolved "vscode-language-pack-ru" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.411Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.411Z root INFO Resolved "vscode-language-pack-tr" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.412Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.412Z root INFO Resolved "vscode-language-pack-uk" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.412Z root INFO PluginTheiaDirectoryHandler: accepting plugin with path
2023-09-06T11:43:12.412Z root INFO Resolved "vscode-language-pack-zh-hans" to a VS Code extension "[email protected]" with engines:
2023-09-06T11:43:12.437Z daemon INFO INFO[0000] Using config file: c:\Users\Draeby.Pe\.arduinoIDE\arduino-cli.yaml
INFO[0000] arduino-cli.exe version 0.32.3
INFO[0000] Executing `arduino-cli daemon`
Daemon is now listening on 127.0.0.1:59193
{"IP":"127.0.0.1","Port":"59193"}


2023-09-06T11:43:12.437Z daemon INFO Daemon is running.
2023-09-06T11:43:12.441Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\Draeby.Pe\\OneDrive - GEA\\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-06T11:43:12.441Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-09-06T11:43:12.442Z config INFO Loaded the CLI configuration.
2023-09-06T11:43:12.451Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Draeby.Pe/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Draeby.Pe/OneDrive%20-%20GEA/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-09-06T11:43:12.452Z config INFO Validating the CLI configuration...
2023-09-06T11:43:12.453Z config INFO The CLI config is valid.
2023-09-06T11:43:12.453Z config INFO <<< Initialized the CLI configuration.
2023-09-06T11:43:12.458Z daemon INFO INFO[0000] Loading hardware from: C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages

2023-09-06T11:43:12.474Z root INFO Resolve plugins list: 267.4 ms [Finished 10.378 s after backend start]
2023-09-06T11:43:12.492Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\cortex-debug\extension\dist\extension.js": 17.5 ms [Finished 10.396 s after backend start]
2023-09-06T11:43:12.492Z daemon INFO INFO[0000] Checking signature                            error="opening signature file: open C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\package_index.json.sig: The system cannot find the file specified." index="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\package_index.json.sig"
INFO[0000] Starting download                             url="https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip"

2023-09-06T11:43:12.509Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-arduino-tools\extension\dist\bundle": 17.0 ms [Finished 10.413 s after backend start]
2023-09-06T11:43:12.548Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-cpp\extension": 39.5 ms [Finished 10.452 s after backend start]
2023-09-06T11:43:12.565Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json\extension": 16.9 ms [Finished 10.469 s after backend start]
2023-09-06T11:43:12.566Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-builtin-json-language-features\extension\client\dist\jsonMain": 0.7 ms [Finished 10.470 s after backend start]
2023-09-06T11:43:13.121Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-bg\extension": 554.7 ms [Finished 11.025 s after backend start]
2023-09-06T11:43:13.616Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-cs\extension": 494.7 ms [Finished 11.520 s after backend start]
Opening channel for service path '/services/electron-window-ext'.
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2023-09-06T11:43:14.213Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-de\extension": 597.6 ms [Finished 12.117 s after backend start]
2023-09-06T11:43:14.717Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-es\extension": 503.7 ms [Finished 12.621 s after backend start]
2023-09-06T11:43:15.216Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-fr\extension": 499.1 ms [Finished 13.120 s after backend start]
2023-09-06T11:43:15.660Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-hu\extension": 444.4 ms [Finished 13.565 s after backend start]
2023-09-06T11:43:16.182Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-it\extension": 521.8 ms [Finished 14.086 s after backend start]
2023-09-06T11:43:16.662Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-ja\extension": 479.1 ms [Finished 14.566 s after backend start]
2023-09-06T11:43:16.667Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 2103.7 ms [Finished 3.877 s after frontend start]
2023-09-06T11:43:17.188Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-ko\extension": 526.0 ms [Finished 15.092 s after backend start]
2023-09-06T11:43:17.192Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 473.3 ms [Finished 4.367 s after frontend start]
2023-09-06T11:43:17.486Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-nl\extension": 298.0 ms [Finished 15.390 s after backend start]
2023-09-06T11:43:18.104Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-pl\extension": 618.0 ms [Finished 16.008 s after backend start]
2023-09-06T11:43:18.584Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-pt-BR\extension": 479.8 ms [Finished 16.488 s after backend start]
2023-09-06T11:43:19.009Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-ru\extension": 425.0 ms [Finished 16.913 s after backend start]
2023-09-06T11:43:19.464Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-tr\extension": 455.1 ms [Finished 17.368 s after backend start]
2023-09-06T11:43:19.827Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-uk\extension": 363.5 ms [Finished 17.731 s after backend start]
2023-09-06T11:43:20.269Z root INFO Deployed backend plugin "[email protected]" from "C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\plugins\vscode-language-pack-zh-hans\extension": 434.6 ms [Finished 18.166 s after backend start]
2023-09-06T11:43:20.269Z root INFO Deploy plugins list: 267.4 ms [Finished 18.173 s after backend start]
2023-09-06T11:43:54.674Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip": dial tcp 172.64.155.55:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:43:54.675Z daemon INFO INFO[0042] Starting download                             url="https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.4.0_Windows_64bit.zip"

2023-09-06T11:44:36.749Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.4.0_Windows_64bit.zip": dial tcp 172.64.155.55:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:44:36.750Z daemon INFO INFO[0084] Starting download                             url="https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.9_Windows_64bit.zip"

[49280:0906/134502.404:ERROR:gpu_init.cc(453)] Passthrough is not supported, GL is disabled, ANGLE is
2023-09-06T11:45:18.882Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.9_Windows_64bit.zip": dial tcp 172.64.155.55:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:45:18.883Z daemon INFO INFO[0126] Starting download                             url="https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.13.0_Windows_64bit.zip"

2023-09-06T11:46:00.966Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.13.0_Windows_64bit.zip": dial tcp 172.64.155.55:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:46:00.968Z daemon INFO INFO[0168] Starting download                             url="https://downloads.arduino.cc/discovery/dfu-discovery/dfu-discovery_v0.1.2_Windows_64bit.zip"

2023-09-06T11:46:43.087Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/discovery/dfu-discovery/dfu-discovery_v0.1.2_Windows_64bit.zip": dial tcp 104.18.32.201:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:46:43.087Z daemon INFO INFO[0210] Loading tools from dir: C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages\builtin\tools
INFO[0210] Loading libraries index file                  index="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\library_index.json"

2023-09-06T11:46:43.089Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: reading directory C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages\builtin\tools: open C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages\builtin\tools: The system cannot find the path specified.
2023-09-06T11:46:43.090Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
2023-09-06T11:46:43.092Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
2023-09-06T11:46:43.210Z daemon INFO INFO[0210] Adding libraries dir                          dir="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\libraries" location=ide

2023-09-06T11:46:43.211Z daemon INFO INFO[0210] Adding libraries dir                          dir="C:\\Users\\Draeby.Pe\\OneDrive - GEA\\Documents\\Arduino\\libraries" location=user

2023-09-06T11:46:43.220Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client
2023-09-06T11:46:43.221Z daemon INFO INFO[0210] Updating index                                url="https://downloads.arduino.cc/packages/package_index.tar.bz2"

2023-09-06T11:46:43.223Z daemon INFO INFO[0210] Starting download                             url="https://downloads.arduino.cc/packages/package_index.tar.bz2"

2023-09-06T11:46:43.224Z root INFO core-client-provider [platform-index]
2023-09-06T11:47:25.271Z root ERROR Failed to update platform indexes.
2023-09-06T11:47:25.272Z daemon INFO INFO[0252] Loading hardware from: C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages

2023-09-06T11:47:25.286Z daemon INFO INFO[0252] Checking signature                            error="opening signature file: open C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\package_index.json.sig: The system cannot find the file specified." index="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\package_index.json.sig"

2023-09-06T11:47:25.288Z daemon INFO INFO[0252] Starting download                             url="https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.4.0_Windows_64bit.zip"

2023-09-06T11:48:07.439Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/discovery/serial-discovery/serial-discovery_v1.4.0_Windows_64bit.zip": dial tcp 172.64.155.55:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:48:07.440Z daemon INFO INFO[0295] Starting download                             url="https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.9_Windows_64bit.zip"

2023-09-06T11:48:49.504Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/discovery/mdns-discovery/mdns-discovery_v1.0.9_Windows_64bit.zip": dial tcp 172.64.155.55:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:48:49.505Z daemon INFO INFO[0337] Starting download                             url="https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.13.0_Windows_64bit.zip"

2023-09-06T11:49:31.623Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/monitor/serial-monitor/serial-monitor_v0.13.0_Windows_64bit.zip": dial tcp 172.64.155.55:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:49:31.623Z daemon INFO INFO[0379] Starting download                             url="https://downloads.arduino.cc/discovery/dfu-discovery/dfu-discovery_v0.1.2_Windows_64bit.zip"

2023-09-06T11:50:13.697Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/discovery/dfu-discovery/dfu-discovery_v0.1.2_Windows_64bit.zip": dial tcp 172.64.155.55:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:50:13.697Z daemon INFO INFO[0421] Starting download                             url="https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip"

                                                          2023-09-06T11:50:55.826Z daemon INFO INFO[0463] Loading tools from dir: C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages\builtin\tools

2023-09-06T11:51:01.257Z root ERROR Detected an error response during the gRPC core client initialization: code: 13, message: downloading builtin:[email protected] tool: Get "https://downloads.arduino.cc/tools/ctags-5.8-arduino11-pm-i686-mingw32.zip": dial tcp 104.18.32.201:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2023-09-06T11:51:01.261Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: reading directory C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages\builtin\tools: open C:\Users\Draeby.Pe\AppData\Local\Arduino15\packages\builtin\tools: The system cannot find the path specified.
2023-09-06T11:51:01.274Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
2023-09-06T11:51:01.275Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed
2023-09-06T11:51:01.280Z root ERROR Uncaught Exception:
2023-09-06T11:51:01.280Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:serial-discovery not installed
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtin:mdns-discovery not installed

    at isIndexUpdateRequiredBeforeInit (C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:388:11)
    at CoreClientProvider.evaluateErrorStatus (C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:200:16)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ClientReadableStreamImpl.<anonymous> (C:\Users\Draeby.Pe\AppData\Local\Programs\arduino-ide\resources\app\node_modules\arduino-ide-extension\lib\node\core-client-provider.js:184:31)
2023-09-06T11:51:01.282Z daemon INFO INFO[0463] Loading libraries index file                  index="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\library_index.json"
INFO[0463] Adding libraries dir                          dir="C:\\Users\\Draeby.Pe\\AppData\\Local\\Arduino15\\libraries" location=ide
INFO[0463] Adding libraries dir                          dir="C:\\Users\\Draeby.Pe\\OneDrive - GEA\\Documents\\Arduino\\libraries" location=user

Any suggestions?

The cause of the hang on startup is not the .json files. The cause is shown in this part of the logs:

On the first run after a fresh installation, Arduino IDE downloads some additional essential components from the Internet and installs them. If it can't install those components then the startup fails. So the computer must have access to the Internet on the first startup.

The errors indicate Arduino IDE is not able to access the Internet. If it is not already, please connect your computer to the Internet, close the Arduino IDE window, then start Arduino IDE again. This time it should start up successfully.

After that first run, an Internet connection is not required. However, there are some supplemental features such as "Library Manager" that have an inherent dependency on the Internet. Those features will not be usable while your computer is offline. But the essential functionality of editing, compiling, and uploading sketches will be available even without an Internet connection.

Thank you for your reply ptillisch. The computer has a working internet connection but since it's a company computer it is probably somehow restricted in what programs are allowed to download. Could this perhaps be the issue? If yes, are there any way to manually install those downloads?

2 posts were split to a new topic: Stuck at Downloading index, CLI Daemon Offline

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