Aruino IDE endless loading

Every time I try to open the Arduino IDE, including just after downloading it, and restarting my computer the app is stuck at the white screen with the pulsating button. When I hover my mouse over it there is no little loading wheel. This is what the powershell is showing me when I run &".\Arduino IDE"

PS C:\TEMP> cd "Arduino IDE"
PS C:\TEMP\Arduino IDE> & ".\Arduino IDE"
PS C:\TEMP\Arduino IDE>

The command does launch the app, but I'm still getting the same behavior as before. Any ideas?

Hi @aholbrook. Please do this:

  1. If the Arduino IDE window is still open, click the X icon at the top right corner of the Arduino IDE window to close it.
  2. Start Arduino IDE from PowerShell, just as you did before.
    This time you will see a large amount of logs printed to the PowerShell terminal.
  3. Wait until you are sure the IDE startup has gone into the hang state
    (as indicated by no additional output being printed to the terminal).
  4. Switch back to the PowerShell window if the Arduino IDE window took the focus.
  5. Press the Ctrl+Shift+A keyboard shortcut.
    This will select all the text in the PowerShell window.
  6. Press the Ctrl+C keyboard shortcut.
    This will copy the contents of the PowerShell window to the clipboard.
  7. Open a forum reply here by clicking the "Reply" button.
  8. Click the <CODE/> icon on the post composer toolbar.
    This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
    Code block icon on toolbar
  9. Press the Ctrl+V keyboard shortcut.
    This will paste the output into the code block.
  10. Move the cursor outside of the code block markup before you add any additional text to your reply.
  11. Click the "Reply" button to post the output.

Please let me know if you have any questions or problems while following those instructions.

PS C:\Users\AHOLBROOK> cd..
PS C:\Users> cd..
PS C:\> cd TEMP
PS C:\TEMP> cd "Arduino IDE"
PS C:\TEMP\Arduino IDE> &".\Arduino IDE"
PS C:\TEMP\Arduino IDE>
Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\TEMP\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\TEMP\Arduino IDE\resources\app\package.json
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-20T10:04:35.814Z" (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-20T10:04:35.814Z"}
Starting backend process. PID: 13220
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/AHOLBROOK/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-07-12T21:23:44.055Z root INFO Backend Object.initialize: 3.7 ms [Finished 0.433 s after backend start]
2024-07-12T21:23:44.056Z root INFO Backend Object.configure: 3.4 ms [Finished 0.433 s after backend start]
2024-07-12T21:23:44.056Z root INFO Backend s.onStart: 1.8 ms [Finished 0.433 s after backend start]
2024-07-12T21:23:44.057Z root INFO Backend s.configure: 0.4 ms [Finished 0.456 s after backend start]
2024-07-12T21:23:44.058Z root INFO Backend d.onStart: 0.2 ms [Finished 0.456 s after backend start]
2024-07-12T21:23:44.058Z root INFO Backend d.configure: 0.1 ms [Finished 0.457 s after backend start]
2024-07-12T21:23:44.059Z root INFO Backend d.initialize: 23.2 ms [Finished 0.457 s after backend start]
2024-07-12T21:23:44.059Z root INFO Backend c.onStart: 0.3 ms [Finished 0.457 s after backend start]
2024-07-12T21:23:44.060Z root INFO Backend a.configure: 1.8 ms [Finished 0.459 s after backend start]
2024-07-12T21:23:44.062Z config INFO >>> Initializing CLI configuration...
2024-07-12T21:23:44.062Z root INFO Backend c.initialize: 0.6 ms [Finished 0.459 s after backend start]
2024-07-12T21:23:44.062Z root INFO Backend R.onStart: 0.7 ms [Finished 0.459 s after backend start]
2024-07-12T21:23:44.063Z config INFO Loading CLI configuration from c:\Users\AHOLBROOK\.arduinoIDE\arduino-cli.yaml...
2024-07-12T21:23:44.063Z daemon INFO Starting daemon from C:\TEMP\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-07-12T21:23:44.063Z root INFO Backend a.initialize: 0.4 ms [Finished 0.460 s after backend start]
2024-07-12T21:23:44.063Z root INFO Backend w.onStart: 1.1 ms [Finished 0.461 s after backend start]
2024-07-12T21:23:44.063Z root INFO Backend r.configure: 1.8 ms [Finished 0.461 s after backend start]
2024-07-12T21:23:44.063Z discovery-log INFO start
2024-07-12T21:23:44.063Z discovery-log INFO start new deferred
2024-07-12T21:23:44.063Z root INFO Backend d.initialize: 0.5 ms [Finished 0.462 s after backend start]
2024-07-12T21:23:44.063Z root INFO Backend y.onStart: 2.1 ms [Finished 0.464 s after backend start]
2024-07-12T21:23:44.063Z root INFO Backend r.configure: 1.8 ms [Finished 0.464 s after backend start]
2024-07-12T21:23:44.063Z root INFO Backend a.onStart: 0.5 ms [Finished 0.465 s after backend start]
2024-07-12T21:23:44.064Z root INFO Backend h.configure: 0.4 ms [Finished 0.465 s after backend start]
2024-07-12T21:23:44.064Z root INFO Backend s.configure: 0.2 ms [Finished 0.465 s after backend start]
2024-07-12T21:23:44.064Z root INFO Backend l.configure: 0.1 ms [Finished 0.465 s after backend start]
2024-07-12T21:23:44.066Z root INFO Theia app listening on http://127.0.0.1:58212.
2024-07-12T21:23:44.066Z root INFO Finished starting backend application: 2.8 ms [Finished 0.468 s after backend start]
2024-07-12T21:23:44.316Z root WARN The local plugin referenced by local-dir:/c%3A/Users/AHOLBROOK/.arduinoIDE/plugins does not exist.
2024-07-12T21:23:44.316Z root WARN The local plugin referenced by local-dir:/c%3A/Users/AHOLBROOK/.arduinoIDE/extensions does not exist.
2024-07-12T21:23:44.316Z root WARN The local plugin referenced by local-dir:C:\Users\AHOLBROOK\.arduinoIDE\plugins does not exist.
2024-07-12T21:23:44.321Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\AHOLBROOK\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\AHOLBROOK\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\AHOLBROOK\\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-07-12T21:23:44.321Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-07-12T21:23:44.321Z config INFO Loaded the CLI configuration.
2024-07-12T21:23:44.324Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/AHOLBROOK/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/AHOLBROOK/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-07-12T21:23:44.325Z config INFO Validating the CLI configuration...
2024-07-12T21:23:44.329Z config INFO The CLI config is valid.
2024-07-12T21:23:44.329Z config INFO <<< Initialized the CLI configuration.
2024-07-12T21:23:44.362Z root INFO Resolve plugins list: 299.7 ms [Finished 0.763 s after backend start]
2024-07-12T21:23:44.515Z daemon INFO time="2024-07-12T15:23:44-06:00" level=info msg="Using config file: c:\\Users\\AHOLBROOK\\.arduinoIDE\\arduino-cli.yaml"
time="2024-07-12T15:23:44-06:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-07-12T15:23:44-06:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:58213
{"IP":"127.0.0.1","Port":"58213"}
2024-07-12T21:23:44.515Z daemon INFO Daemon is running.
2024-07-12T21:23:44.528Z daemon INFO time="2024-07-12T15:23:44-06:00" level=info msg="Updating libraries index"
2024-07-12T21:23:44.536Z daemon INFO time="2024-07-12T15:23:44-06:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-07-12T21:23:44.631Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": read tcp 10.109.247.149:58216->104.18.10.21:443: wsarecv: An existing connection was forcibly closed by the remote host.
2024-07-12T21:23:44.632Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\AHOLBROOK\AppData\Local\Arduino15\package_index.json: open C:\Users\AHOLBROOK\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2024-07-12T21:23:44.632Z 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
2024-07-12T21:23:44.632Z 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
2024-07-12T21:23:44.632Z 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\AHOLBROOK\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-07-12T21:23:44.632Z daemon INFO time="2024-07-12T15:23:44-06:00" level=info msg="Loading hardware from: C:\\Users\\AHOLBROOK\\AppData\\Local\\Arduino15\\packages"
time="2024-07-12T15:23:44-06:00" level=info msg="Loading libraries index file" index="C:\\Users\\AHOLBROOK\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-07-12T15:23:44-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\AHOLBROOK\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-07-12T15:23:44-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\AHOLBROOK\\Documents\\Arduino\\libraries" location=user
2024-07-12T21:23:44.636Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client 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\AHOLBROOK\AppData\Local\Arduino15\package_index.json: open C:\Users\AHOLBROOK\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\AHOLBROOK\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-07-12T21:23:44.640Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2024-07-12T21:23:44.641Z daemon INFO time="2024-07-12T15:23:44-06:00" level=info msg="Updating libraries index"
time="2024-07-12T15:23:44-06:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2024-07-12T15:23:44-06:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2024-07-12T15:23:44-06:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-07-12T21:23:44.641Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2024-07-12T21:23:44.692Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
    at t.callErrorFromStatus (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:763461)
    at Object.onReceiveStatus (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:791078)
    at Object.onReceiveStatus (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:784102)
    at C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:870224
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at s.makeServerStreamRequest (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:790845)
    at s.updateIndex (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:855121)
    at C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:623733
    at C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:624081
    at new Promise (<anonymous>)
    at E.doUpdateIndex (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:624060)
    at E.updatePlatformIndex (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:623705)
    at E.updateIndex (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:623073)
    at E.initInstanceWithFallback (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:621317)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-07-12T21:23:44.696Z daemon INFO time="2024-07-12T15:23:44-06:00" level=info msg="Updating libraries index"
time="2024-07-12T15:23:44-06:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-07-12T21:23:44.757Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": read tcp 10.109.247.149:58219->104.18.10.21:443: wsarecv: An existing connection was forcibly closed by the remote host.
2024-07-12T21:23:44.757Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\AHOLBROOK\AppData\Local\Arduino15\package_index.json: open C:\Users\AHOLBROOK\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2024-07-12T21:23:44.758Z 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
2024-07-12T21:23:44.758Z 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
2024-07-12T21:23:44.758Z 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\AHOLBROOK\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-07-12T21:23:44.758Z root ERROR Uncaught Exception:  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\AHOLBROOK\AppData\Local\Arduino15\package_index.json: open C:\Users\AHOLBROOK\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\AHOLBROOK\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-07-12T21:23:44.758Z 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\AHOLBROOK\AppData\Local\Arduino15\package_index.json: open C:\Users\AHOLBROOK\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\AHOLBROOK\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:622877
    at E.evaluateErrorStatus (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:622893)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async a.<anonymous> (C:\TEMP\Arduino IDE\resources\app\lib\backend\main.js:2:622563)
2024-07-12T21:23:44.758Z daemon INFO time="2024-07-12T15:23:44-06:00" level=info msg="Loading hardware from: C:\\Users\\AHOLBROOK\\AppData\\Local\\Arduino15\\packages"
time="2024-07-12T15:23:44-06:00" level=info msg="Loading libraries index file" index="C:\\Users\\AHOLBROOK\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-07-12T15:23:44-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\AHOLBROOK\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-07-12T15:23:44-06:00" level=info msg="Adding libraries dir" dir="C:\\Users\\AHOLBROOK\\Documents\\Arduino\\libraries" location=user
2024-07-12T21:23:45.011Z root INFO Deploy plugins list: 299.7 ms [Finished 1.413 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-07-12T21:23:48.335Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 994.4 ms [Finished 3.519 s after frontend start]
2024-07-12T21:23:48.343Z root WARN A command editor.action.toggleStickyScroll is already registered.
[14128:0712/152417.382:ERROR:dns_config_service.cc(273)] DNS config watch failed.
[20744:0712/152417.382:ERROR:dns_config_service.cc(273)] DNS config watch failed.

Well I guess 3rd try was actually helpful!

On the first run after a fresh installation, Arduino IDE downloads some helper tools from the Internet.

Unfortunately it is not able to download the files. These tools are essential to the basic functionality of Arduino IDE, so without them it can't even start up fully.

Do you have any idea why Arduino IDE is not able to perform these downloads? Is there anything notable about your Internet connection (e.g., a proxy, VPN, unusual firewall configuration)?

It's probably something related to a firewall, I don't have permissions to change that, which is unfortunate, I guess my next steps are probably talk to my company's IT department to see if I can get the download of the start up documents waived.

1 Like

I tried downloading on a separate computer, and am running into the same loading screen error but it is being caused by something different, any ideas?

Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\package.json
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-20T10:04:35.814Z" (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-20T10:04:35.814Z"}
Starting backend process. PID: 17736
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/scg/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-07-15T22:36:02.391Z root INFO Backend Object.initialize: 3.9 ms [Finished 0.480 s after backend start]
2024-07-15T22:36:02.391Z root INFO Backend Object.configure: 3.2 ms [Finished 0.480 s after backend start]
2024-07-15T22:36:02.391Z root INFO Backend s.onStart: 1.5 ms [Finished 0.480 s after backend start]
2024-07-15T22:36:02.392Z root INFO Backend s.configure: 0.3 ms [Finished 0.501 s after backend start]
2024-07-15T22:36:02.392Z root INFO Backend d.onStart: 0.2 ms [Finished 0.501 s after backend start]
2024-07-15T22:36:02.393Z root INFO Backend d.configure: 0.1 ms [Finished 0.501 s after backend start]
2024-07-15T22:36:02.394Z root INFO Backend d.initialize: 21.2 ms [Finished 0.502 s after backend start]
2024-07-15T22:36:02.395Z root INFO Backend c.onStart: 0.2 ms [Finished 0.502 s after backend start]
2024-07-15T22:36:02.395Z root INFO Backend a.configure: 1.1 ms [Finished 0.503 s after backend start]
2024-07-15T22:36:02.397Z config INFO >>> Initializing CLI configuration...
2024-07-15T22:36:02.397Z root INFO Backend c.initialize: 0.5 ms [Finished 0.503 s after backend start]
2024-07-15T22:36:02.397Z root INFO Backend R.onStart: 0.6 ms [Finished 0.504 s after backend start]
2024-07-15T22:36:02.398Z config INFO Loading CLI configuration from c:\Users\scg\.arduinoIDE\arduino-cli.yaml...
2024-07-15T22:36:02.398Z daemon INFO Starting daemon from C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-07-15T22:36:02.398Z root INFO Backend a.initialize: 0.4 ms [Finished 0.505 s after backend start]
2024-07-15T22:36:02.398Z root INFO Backend w.onStart: 1.4 ms [Finished 0.506 s after backend start]
2024-07-15T22:36:02.398Z root INFO Backend r.configure: 2.2 ms [Finished 0.506 s after backend start]
2024-07-15T22:36:02.399Z discovery-log INFO start
2024-07-15T22:36:02.399Z discovery-log INFO start new deferred
2024-07-15T22:36:02.399Z root INFO Backend d.initialize: 0.5 ms [Finished 0.506 s after backend start]
2024-07-15T22:36:02.399Z root INFO Backend y.onStart: 2.3 ms [Finished 0.508 s after backend start]
2024-07-15T22:36:02.399Z root INFO Backend r.configure: 2.0 ms [Finished 0.508 s after backend start]
2024-07-15T22:36:02.399Z root INFO Backend a.onStart: 0.5 ms [Finished 0.510 s after backend start]
2024-07-15T22:36:02.399Z root INFO Backend h.configure: 0.4 ms [Finished 0.510 s after backend start]
2024-07-15T22:36:02.399Z root INFO Backend s.configure: 0.1 ms [Finished 0.510 s after backend start]
2024-07-15T22:36:02.399Z root INFO Backend l.configure: 0.1 ms [Finished 0.510 s after backend start]
2024-07-15T22:36:02.401Z root INFO Theia app listening on http://127.0.0.1:55747.
2024-07-15T22:36:02.401Z root INFO Finished starting backend application: 2.5 ms [Finished 0.512 s after backend start]
2024-07-15T22:36:02.408Z root WARN The local plugin referenced by local-dir:/c%3A/Users/scg/.arduinoIDE/plugins does not exist.
2024-07-15T22:36:02.408Z root WARN The local plugin referenced by local-dir:C:\Users\scg\.arduinoIDE\plugins does not exist.
2024-07-15T22:36:02.408Z root WARN The local plugin referenced by local-dir:/c%3A/Users/scg/.arduinoIDE/extensions does not exist.
2024-07-15T22:36:02.416Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\scg\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\scg\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\scg\\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-07-15T22:36:02.416Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-07-15T22:36:02.416Z config INFO Loaded the CLI configuration.
2024-07-15T22:36:02.419Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/scg/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/scg/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-07-15T22:36:02.419Z config INFO Validating the CLI configuration...
2024-07-15T22:36:02.419Z config INFO The CLI config is valid.
2024-07-15T22:36:02.419Z config INFO <<< Initialized the CLI configuration.
2024-07-15T22:36:02.436Z root INFO Resolve plugins list: 38.4 ms [Finished 0.547 s after backend start]
2024-07-15T22:36:02.478Z daemon INFO time="2024-07-15T15:36:02-07:00" level=info msg="Using config file: c:\\Users\\scg\\.arduinoIDE\\arduino-cli.yaml"
time="2024-07-15T15:36:02-07:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-07-15T15:36:02-07:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:55750
{"IP":"127.0.0.1","Port":"55750"}
2024-07-15T22:36:02.478Z daemon INFO Daemon is running.
2024-07-15T22:36:02.541Z daemon INFO time="2024-07-15T15:36:02-07:00" level=info msg="Updating libraries index"
time="2024-07-15T15:36:02-07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-07-15T22:36:03.120Z root INFO Deploy plugins list: 38.4 ms [Finished 1.231 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-07-15T22:36:03.933Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 122.4 ms [Finished 1.445 s after frontend start]
2024-07-15T22:36:03.933Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-07-15T22:36:24.270Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": read tcp 10.134.78.237:55753->104.18.10.21:443: wsarecv: 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.
2024-07-15T22:36:24.271Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\scg\AppData\Local\Arduino15\package_index.json: open C:\Users\scg\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2024-07-15T22:36:24.272Z 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
2024-07-15T22:36:24.272Z 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
2024-07-15T22:36:24.272Z 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\scg\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-07-15T22:36:24.277Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client 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\scg\AppData\Local\Arduino15\package_index.json: open C:\Users\scg\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\scg\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-07-15T22:36:24.278Z daemon INFO time="2024-07-15T15:36:24-07:00" level=info msg="Loading hardware from: C:\\Users\\scg\\AppData\\Local\\Arduino15\\packages"
time="2024-07-15T15:36:24-07:00" level=info msg="Loading libraries index file" index="C:\\Users\\scg\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-07-15T15:36:24-07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\scg\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-07-15T15:36:24-07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\scg\\Documents\\Arduino\\libraries" location=user
2024-07-15T22:36:24.278Z daemon INFO time="2024-07-15T15:36:24-07:00" level=info msg="Updating libraries index"
time="2024-07-15T15:36:24-07:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-07-15T22:36:24.279Z daemon INFO time="2024-07-15T15:36:24-07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-07-15T22:36:24.280Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2024-07-15T22:36:24.281Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2024-07-15T22:36:24.282Z daemon INFO time="2024-07-15T15:36:24-07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-07-15T22:36:43.521Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
    at t.callErrorFromStatus (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:763461)
    at Object.onReceiveStatus (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:791078)
    at Object.onReceiveStatus (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:784102)
    at C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:870224
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at s.makeServerStreamRequest (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:790845)
    at s.updateIndex (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:855121)
    at C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:623733
    at C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:624081
    at new Promise (<anonymous>)
    at E.doUpdateIndex (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:624060)
    at E.updatePlatformIndex (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:623705)
    at E.updateIndex (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:623073)
    at E.initInstanceWithFallback (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:621317)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-07-15T22:36:43.523Z daemon INFO time="2024-07-15T15:36:43-07:00" level=info msg="Updating libraries index"
2024-07-15T22:36:43.524Z daemon INFO time="2024-07-15T15:36:43-07:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-07-15T22:37:02.794Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": read tcp 10.134.78.237:55769->104.18.10.21:443: wsarecv: 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.
2024-07-15T22:37:02.794Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\scg\AppData\Local\Arduino15\package_index.json: open C:\Users\scg\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2024-07-15T22:37:02.795Z 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
2024-07-15T22:37:02.795Z 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
2024-07-15T22:37:02.795Z 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\scg\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-07-15T22:37:02.795Z daemon INFO time="2024-07-15T15:37:02-07:00" level=info msg="Loading hardware from: C:\\Users\\scg\\AppData\\Local\\Arduino15\\packages"
time="2024-07-15T15:37:02-07:00" level=info msg="Loading libraries index file" index="C:\\Users\\scg\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-07-15T15:37:02-07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\scg\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-07-15T15:37:02-07:00" level=info msg="Adding libraries dir" dir="C:\\Users\\scg\\Documents\\Arduino\\libraries" location=user
2024-07-15T22:37:02.797Z root ERROR Uncaught Exception:  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\scg\AppData\Local\Arduino15\package_index.json: open C:\Users\scg\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\scg\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-07-15T22:37:02.797Z 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\scg\AppData\Local\Arduino15\package_index.json: open C:\Users\scg\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\scg\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622877
    at E.evaluateErrorStatus (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622893)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async a.<anonymous> (C:\Users\scg\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:622563)