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

hello the ide loads in a loop without this launch can you help me

Hi @anttonfra. I'm going to ask you to post some additional information that might help us to identify the problem.


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


Please do this:

  1. Close all Arduino IDE windows if the IDE is already running.
  2. Start Windows "File Explorer".
  3. Open the Arduino IDE installation folder.
    The default installation location is at one of the following paths:
    • C:\Program Files\Arduino IDE
      
    • C:\Users\<username>\AppData\Local\Programs\Arduino IDE
      
      (where <username> is your Windows username)
      :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
  4. In the folder listing of the Arduino IDE installation folder, hold the Shift key while clicking the right hand button on the mouse.
  5. From the context menu, click "Open PowerShell window here".
    Windows PowerShell will now open with the current directory set to the Arduino IDE installation folder.
  6. Type the following command:
    & ".\Arduino IDE"
    
  7. Press the Enter key.
    Debug output should now be printed to the PowerShell window as Arduino IDE starts.
  8. 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).
  9. Switch back to the PowerShell window if the Arduino IDE window took the focus.
  10. Press Ctrl+Shift+A.
    This will select all the text in the PowerShell window.
  11. Press Ctrl+C.
    This will copy the contents of the PowerShell window to the clipboard.
  12. Open a forum reply here by clicking the "Reply" button.
  13. 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 tags icon on toolbar
  14. Press Ctrl+V.
    This will paste the output into the code block.
  15. Move the cursor outside of the code block markup before you add any additional text to your reply.
  16. Click the "Reply" button to post the output.

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

2023-12-07 21:31:36 Using browser-only version of superagent in non-browser environment
2023-12-07 21:31:36 Configuration directory URI: 'file:///c%3A/Users/ebplo/.arduinoIDE'
2023-12-07 21:31:36 Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-12-07 21:31:36 2023-12-07T20:31:36.118Z root INFO Backend Object.initialize: 7.8 ms [Finished 1.690 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.121Z root INFO Backend Object.configure: 6.6 ms [Finished 1.690 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.122Z root INFO Backend a.onStart: 2.4 ms [Finished 1.690 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.123Z root INFO Backend a.configure: 0.6 ms [Finished 1.739 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.124Z root INFO Backend u.onStart: 0.5 ms [Finished 1.739 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.126Z root INFO Backend d.configure: 0.2 ms [Finished 1.739 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.127Z root INFO Backend d.initialize: 49.1 ms [Finished 1.740 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.127Z root INFO Backend c.onStart: 0.5 ms [Finished 1.740 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.128Z root INFO Backend s.configure: 4.2 ms [Finished 1.744 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.131Z config INFO >>> Initializing CLI configuration...
2023-12-07 21:31:36 2023-12-07T20:31:36.131Z root INFO Backend c.initialize: 1.1 ms [Finished 1.744 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.131Z root INFO Backend P.onStart: 1.3 ms [Finished 1.746 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.132Z config INFO Loading CLI configuration from c:\Users\ebplo\.arduinoIDE\arduino-cli.yaml...
2023-12-07 21:31:36 2023-12-07T20:31:36.133Z daemon INFO Starting daemon from C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2023-12-07 21:31:36 2023-12-07T20:31:36.134Z root INFO Backend s.initialize: 0.7 ms [Finished 1.747 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.134Z root INFO Backend w.onStart: 1.7 ms [Finished 1.749 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.134Z root INFO Backend r.configure: 3.3 ms [Finished 1.749 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.134Z discovery-log INFO start
2023-12-07 21:31:36 2023-12-07T20:31:36.134Z discovery-log INFO start new deferred
2023-12-07 21:31:36 2023-12-07T20:31:36.134Z root INFO Backend d.initialize: 0.7 ms [Finished 1.750 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.134Z root INFO Backend y.onStart: 3.2 ms [Finished 1.753 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.135Z root INFO Backend r.configure: 2.8 ms [Finished 1.753 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.135Z root INFO Backend s.onStart: 0.9 ms [Finished 1.755 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.135Z root INFO Backend h.configure: 0.9 ms [Finished 1.755 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.135Z root INFO Backend a.configure: 0.5 ms [Finished 1.756 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.135Z root INFO Backend s.configure: 0.1 ms [Finished 1.756 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.135Z root INFO Backend l.configure: 0.1 ms [Finished 1.757 s after backend start]
2023-12-07 21:31:36 2023-12-07T20:31:36.141Z root INFO Theia app listening on http://localhost:57709.
2023-12-07 21:31:36 2023-12-07T20:31:36.142Z root INFO Finished starting backend application: 7.1 ms [Finished 1.763 s after backend start]
2023-12-07 21:31:37 2023-12-07T20:31:37.931Z root WARN The local plugin referenced by local-dir:/c%3A/Users/ebplo/.arduinoIDE/plugins does not exist.
2023-12-07 21:31:37 2023-12-07T20:31:37.931Z root WARN The local plugin referenced by local-dir:/c%3A/Users/ebplo/.arduinoIDE/extensions does not exist.
2023-12-07 21:31:37 2023-12-07T20:31:37.931Z root WARN The local plugin referenced by local-dir:C:\Users\ebplo\.arduinoIDE\plugins does not exist.
2023-12-07 21:31:38 2023-12-07T20:31:38.253Z root INFO Resolve plugins list: 2120.1 ms [Finished 3.873 s after backend start]
2023-12-07 21:31:39 2023-12-07T20:31:39.725Z daemon INFO time="2023-12-07T21:31:38+01:00" level=info msg="Config file not found, using default values"
time="2023-12-07T21:31:38+01:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2023-12-07T21:31:38+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:57711
{"IP":"127.0.0.1","Port":"57711"}
2023-12-07 21:31:39 2023-12-07T20:31:39.725Z daemon INFO Daemon is running.
2023-12-07 21:31:39 2023-12-07T20:31:39.728Z config INFO Loading CLI configuration from c:\Users\ebplo\.arduinoIDE\arduino-cli.yaml...
2023-12-07 21:31:40 2023-12-07T20:31:40.650Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\ebplo\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\ebplo\\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-12-07 21:31:40 2023-12-07T20:31:40.650Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-12-07 21:31:40 2023-12-07T20:31:40.650Z config INFO Loaded the CLI configuration.
2023-12-07 21:31:40 2023-12-07T20:31:40.658Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/ebplo/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/ebplo/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-12-07 21:31:40 2023-12-07T20:31:40.658Z config INFO Validating the CLI configuration...
2023-12-07 21:31:40 2023-12-07T20:31:40.658Z config INFO The CLI config is valid.
2023-12-07 21:31:40 2023-12-07T20:31:40.658Z config INFO <<< Initialized the CLI configuration.
2023-12-07 21:31:41 2023-12-07T20:31:41.434Z daemon INFO time="2023-12-07T21:31:40+01:00" level=info msg="Updating libraries index"
time="2023-12-07T21:31:40+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:31:45 2023-12-07T20:31:45.131Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 3327.5 ms [Finished 7.812 s after frontend start]
2023-12-07 21:31:45 2023-12-07T20:31:45.131Z root WARN A command editor.action.toggleStickyScroll is already registered.
2023-12-07 21:31:45 2023-12-07T20:31:45.970Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 763.7 ms [Finished 8.617 s after frontend start]
2023-12-07 21:31:47 2023-12-07T20:31:47.093Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 1834.3 ms [Finished 10.528 s after frontend start]
2023-12-07 21:31:51 2023-12-07T20:31:51.408Z root INFO Deploy plugins list: 2120.1 ms [Finished 17.030 s after backend start]
2023-12-07 21:31:52 2023-12-07T20:31:52.737Z 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": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-07 21:31:52 2023-12-07T20:31:52.742Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-07 21:31:52 2023-12-07T20:31:52.743Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Loading hardware from: C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\packages"
2023-12-07 21:31:52 2023-12-07T20:31:52.749Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\library_index.json"
2023-12-07 21:31:52 2023-12-07T20:31:52.750Z 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-12-07 21:31:52 2023-12-07T20:31:52.750Z 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-12-07 21:31:52 2023-12-07T20:31:52.750Z 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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-07 21:31:52 2023-12-07T20:31:52.751Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-07T21:31:52+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\Documents\\Arduino\\libraries" location=user
2023-12-07 21:31:52 2023-12-07T20:31:52.756Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2023-12-07 21:31:52 2023-12-07T20:31:52.758Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Updating libraries index"
time="2023-12-07T21:31:52+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-12-07 21:31:52 2023-12-07T20:31:52.760Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-12-07 21:31:52 2023-12-07T20:31:52.762Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2023-12-07 21:31:52 2023-12-07T20:31:52.763Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2023-12-07 21:31:52 2023-12-07T20:31:52.767Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
    at t.callErrorFromStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:726940)
    at Object.onReceiveStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754480)
    at Object.onReceiveStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:747504)
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:833048
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeServerStreamRequest (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754247)
    at a.updateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:818456)
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587141
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587489
    at new Promise (<anonymous>)
    at _.doUpdateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587468)
    at _.updatePlatformIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587113)
    at _.updateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586481)
    at _.initInstanceWithFallback (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:584725)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-07 21:31:52 2023-12-07T20:31:52.768Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:31:52 2023-12-07T20:31:52.772Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Updating libraries index"
2023-12-07 21:31:52 2023-12-07T20:31:52.776Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:31:52 2023-12-07T20:31:52.777Z 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": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-07 21:31:52 2023-12-07T20:31:52.778Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-07 21:31:52 2023-12-07T20:31:52.778Z 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-12-07 21:31:52 2023-12-07T20:31:52.779Z 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-12-07 21:31:52 2023-12-07T20:31:52.779Z 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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-07 21:31:52 2023-12-07T20:31:52.779Z daemon INFO time="2023-12-07T21:31:52+01:00" level=info msg="Loading hardware from: C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\packages"
time="2023-12-07T21:31:52+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-12-07T21:31:52+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-07T21:31:52+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\Documents\\Arduino\\libraries" location=user
2023-12-07 21:31:52 2023-12-07T20:31:52.782Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2023-12-07 21:31:52 2023-12-07T20:31:52.783Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586285
    at _.evaluateErrorStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586301)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async s.<anonymous> (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:585971)
2023-12-07 21:32:57 Using browser-only version of superagent in non-browser environment
2023-12-07 21:32:57 Configuration directory URI: 'file:///c%3A/Users/ebplo/.arduinoIDE'
2023-12-07 21:32:57 Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-12-07 21:32:57 2023-12-07T20:32:57.930Z root INFO Backend Object.initialize: 6.0 ms [Finished 0.582 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.931Z root INFO Backend Object.configure: 5.9 ms [Finished 0.583 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.931Z root INFO Backend a.onStart: 2.9 ms [Finished 0.583 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.938Z root INFO Backend a.configure: 0.6 ms [Finished 0.631 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.941Z root INFO Backend u.onStart: 0.4 ms [Finished 0.631 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.942Z root INFO Backend d.configure: 0.2 ms [Finished 0.631 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.944Z root WARN Backend d.initialize took longer than the expected maximum 50 milliseconds: 51.5 ms [Finished 0.635 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.945Z root INFO Backend c.onStart: 3.5 ms [Finished 0.635 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.946Z root INFO Backend s.configure: 4.5 ms [Finished 0.640 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.950Z config INFO >>> Initializing CLI configuration...
2023-12-07 21:32:57 2023-12-07T20:32:57.950Z root INFO Backend c.initialize: 3.0 ms [Finished 0.643 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.950Z root INFO Backend P.onStart: 6.0 ms [Finished 0.646 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.951Z config INFO Loading CLI configuration from c:\Users\ebplo\.arduinoIDE\arduino-cli.yaml...
2023-12-07 21:32:57 2023-12-07T20:32:57.953Z daemon INFO Starting daemon from C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2023-12-07 21:32:57 2023-12-07T20:32:57.953Z root INFO Backend s.initialize: 0.6 ms [Finished 0.647 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.953Z root INFO Backend w.onStart: 2.4 ms [Finished 0.649 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.953Z root INFO Backend r.configure: 4.3 ms [Finished 0.650 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.953Z discovery-log INFO start
2023-12-07 21:32:57 2023-12-07T20:32:57.953Z discovery-log INFO start new deferred
2023-12-07 21:32:57 2023-12-07T20:32:57.953Z root INFO Backend d.initialize: 1.4 ms [Finished 0.652 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.954Z root INFO Backend y.onStart: 4.1 ms [Finished 0.655 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.954Z root INFO Backend r.configure: 3.5 ms [Finished 0.656 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.954Z root INFO Backend s.onStart: 1.1 ms [Finished 0.658 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.954Z root INFO Backend h.configure: 1.1 ms [Finished 0.658 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.954Z root INFO Backend a.configure: 0.4 ms [Finished 0.659 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.954Z root INFO Backend s.configure: 0.1 ms [Finished 0.659 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.954Z root INFO Backend l.configure: 0.1 ms [Finished 0.660 s after backend start]
2023-12-07 21:32:57 2023-12-07T20:32:57.959Z root INFO Theia app listening on http://localhost:57721.
2023-12-07 21:32:57 2023-12-07T20:32:57.960Z root INFO Finished starting backend application: 6.0 ms [Finished 0.665 s after backend start]
2023-12-07 21:32:58 2023-12-07T20:32:58.031Z root WARN The local plugin referenced by local-dir:/c%3A/Users/ebplo/.arduinoIDE/plugins does not exist.
2023-12-07 21:32:58 2023-12-07T20:32:58.031Z root WARN The local plugin referenced by local-dir:/c%3A/Users/ebplo/.arduinoIDE/extensions does not exist.
2023-12-07 21:32:58 2023-12-07T20:32:58.031Z root WARN The local plugin referenced by local-dir:C:\Users\ebplo\.arduinoIDE\plugins does not exist.
2023-12-07 21:32:58 2023-12-07T20:32:58.091Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\ebplo\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\ebplo\\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-12-07 21:32:58 2023-12-07T20:32:58.091Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-12-07 21:32:58 2023-12-07T20:32:58.092Z config INFO Loaded the CLI configuration.
2023-12-07 21:32:58 2023-12-07T20:32:58.095Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/ebplo/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/ebplo/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-12-07 21:32:58 2023-12-07T20:32:58.096Z config INFO Validating the CLI configuration...
2023-12-07 21:32:58 2023-12-07T20:32:58.101Z config INFO The CLI config is valid.
2023-12-07 21:32:58 2023-12-07T20:32:58.101Z config INFO <<< Initialized the CLI configuration.
2023-12-07 21:32:58 2023-12-07T20:32:58.140Z root INFO Resolve plugins list: 187.7 ms [Finished 0.844 s after backend start]
2023-12-07 21:32:58 2023-12-07T20:32:58.319Z daemon INFO time="2023-12-07T21:32:58+01:00" level=info msg="Using config file: c:\\Users\\ebplo\\.arduinoIDE\\arduino-cli.yaml"
time="2023-12-07T21:32:58+01:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2023-12-07T21:32:58+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:57722
{"IP":"127.0.0.1","Port":"57722"}
2023-12-07 21:32:58 2023-12-07T20:32:58.320Z daemon INFO Daemon is running.
2023-12-07 21:32:58 2023-12-07T20:32:58.479Z daemon INFO time="2023-12-07T21:32:58+01:00" level=info msg="Updating libraries index"
time="2023-12-07T21:32:58+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:33:00 2023-12-07T20:33:00.151Z root INFO Deploy plugins list: 187.7 ms [Finished 2.857 s after backend start]
2023-12-07 21:33:05 2023-12-07T20:33:05.329Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 4011.1 ms [Finished 7.238 s after frontend start]
2023-12-07 21:33:05 2023-12-07T20:33:05.336Z root WARN A command editor.action.toggleStickyScroll is already registered.
2023-12-07 21:33:10 2023-12-07T20:33:10.406Z 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": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-07 21:33:10 2023-12-07T20:33:10.407Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-07 21:33:10 2023-12-07T20:33:10.409Z 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-12-07 21:33:10 2023-12-07T20:33:10.411Z 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-12-07 21:33:10 2023-12-07T20:33:10.412Z 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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-07 21:33:10 2023-12-07T20:33:10.413Z daemon INFO time="2023-12-07T21:33:10+01:00" level=info msg="Loading hardware from: C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\packages"
time="2023-12-07T21:33:10+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-12-07T21:33:10+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-07T21:33:10+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\Documents\\Arduino\\libraries" location=user
2023-12-07 21:33:10 2023-12-07T20:33:10.426Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2023-12-07 21:33:10 2023-12-07T20:33:10.428Z daemon INFO time="2023-12-07T21:33:10+01:00" level=info msg="Updating libraries index"
2023-12-07 21:33:10 2023-12-07T20:33:10.429Z daemon INFO time="2023-12-07T21:33:10+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-12-07 21:33:10 2023-12-07T20:33:10.432Z daemon INFO time="2023-12-07T21:33:10+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-12-07 21:33:10 2023-12-07T20:33:10.437Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2023-12-07 21:33:10 2023-12-07T20:33:10.441Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2023-12-07 21:33:10 2023-12-07T20:33:10.442Z daemon INFO time="2023-12-07T21:33:10+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:33:18 2023-12-07T20:33:18.476Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp: lookup downloads.arduino.cc: no such host
    at t.callErrorFromStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:726940)
    at Object.onReceiveStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754480)
    at Object.onReceiveStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:747504)
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:833048
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeServerStreamRequest (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754247)
    at a.updateLibrariesIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:818456)
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587296
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587489
    at new Promise (<anonymous>)
    at _.doUpdateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587468)
    at _.updateLibraryIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587268)
    at _.updateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586542)
    at _.initInstanceWithFallback (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:584725)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-07 21:33:18 2023-12-07T20:33:18.478Z daemon INFO time="2023-12-07T21:33:18+01:00" level=info msg="Updating libraries index"
2023-12-07 21:33:18 2023-12-07T20:33:18.480Z daemon INFO time="2023-12-07T21:33:18+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:33:18 2023-12-07T20:33:18.481Z daemon INFO time="2023-12-07T21:33:18+01:00" level=info msg="Loading hardware from: C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\packages"
2023-12-07 21:33:18 2023-12-07T20:33:18.482Z daemon INFO time="2023-12-07T21:33:18+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\library_index.json"
2023-12-07 21:33:18 2023-12-07T20:33:18.482Z daemon INFO time="2023-12-07T21:33:18+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-07T21:33:18+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\Documents\\Arduino\\libraries" location=user
2023-12-07 21:33:18 2023-12-07T20:33:18.482Z 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": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-07 21:33:18 2023-12-07T20:33:18.483Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-07 21:33:18 2023-12-07T20:33:18.483Z 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-12-07 21:33:18 2023-12-07T20:33:18.484Z 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-12-07 21:33:18 2023-12-07T20:33:18.484Z 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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-07 21:33:18 2023-12-07T20:33:18.485Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2023-12-07 21:33:18 2023-12-07T20:33:18.486Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586285
    at _.evaluateErrorStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586301)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async s.<anonymous> (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:585971)
2023-12-07 21:34:57 Using browser-only version of superagent in non-browser environment
2023-12-07 21:34:57 Configuration directory URI: 'file:///c%3A/Users/ebplo/.arduinoIDE'
2023-12-07 21:34:57 Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-12-07 21:34:57 2023-12-07T20:34:57.619Z root WARN Backend Object.initialize took longer than the expected maximum 50 milliseconds: 65.7 ms [Finished 2.609 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.730Z root WARN Backend Object.configure took longer than the expected maximum 50 milliseconds: 64.4 ms [Finished 2.609 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.730Z root INFO Backend a.onStart: 3.0 ms [Finished 2.609 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.734Z root INFO Backend a.configure: 0.7 ms [Finished 2.795 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.739Z root INFO Backend u.onStart: 0.6 ms [Finished 2.795 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.742Z root INFO Backend d.configure: 0.7 ms [Finished 2.796 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.744Z root WARN Backend d.initialize took longer than the expected maximum 50 milliseconds: 188.0 ms [Finished 2.798 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.745Z root INFO Backend c.onStart: 1.6 ms [Finished 2.798 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.752Z root WARN Backend s.configure took longer than the expected maximum 50 milliseconds: 114.0 ms [Finished 2.912 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.775Z config INFO >>> Initializing CLI configuration...
2023-12-07 21:34:57 2023-12-07T20:34:57.775Z root INFO Backend c.initialize: 3.3 ms [Finished 2.913 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.778Z root INFO Backend P.onStart: 5.9 ms [Finished 2.918 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.781Z config INFO Loading CLI configuration from c:\Users\ebplo\.arduinoIDE\arduino-cli.yaml...
2023-12-07 21:34:57 2023-12-07T20:34:57.784Z daemon INFO Starting daemon from C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2023-12-07 21:34:57 2023-12-07T20:34:57.784Z root INFO Backend s.initialize: 0.9 ms [Finished 2.920 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.784Z root INFO Backend w.onStart: 3.1 ms [Finished 2.923 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.784Z root INFO Backend r.configure: 5.3 ms [Finished 2.923 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.785Z discovery-log INFO start
2023-12-07 21:34:57 2023-12-07T20:34:57.785Z discovery-log INFO start new deferred
2023-12-07 21:34:57 2023-12-07T20:34:57.785Z root INFO Backend d.initialize: 6.6 ms [Finished 2.930 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.785Z root INFO Backend y.onStart: 29.8 ms [Finished 2.954 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.785Z root INFO Backend r.configure: 24.5 ms [Finished 2.956 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.785Z root INFO Backend s.onStart: 3.0 ms [Finished 2.963 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.786Z root INFO Backend h.configure: 2.5 ms [Finished 2.963 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.786Z root INFO Backend a.configure: 0.5 ms [Finished 2.964 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.786Z root INFO Backend s.configure: 0.2 ms [Finished 2.964 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.786Z root INFO Backend l.configure: 0.1 ms [Finished 2.965 s after backend start]
2023-12-07 21:34:57 2023-12-07T20:34:57.793Z root INFO Theia app listening on http://localhost:49671.
2023-12-07 21:34:57 2023-12-07T20:34:57.865Z root INFO Finished starting backend application: 8.3 ms [Finished 2.971 s after backend start]
2023-12-07 21:34:58 2023-12-07T20:34:58.585Z root WARN The local plugin referenced by local-dir:/c%3A/Users/ebplo/.arduinoIDE/plugins does not exist.
2023-12-07 21:34:58 2023-12-07T20:34:58.586Z root WARN The local plugin referenced by local-dir:/c%3A/Users/ebplo/.arduinoIDE/extensions does not exist.
2023-12-07 21:34:58 2023-12-07T20:34:58.586Z root WARN The local plugin referenced by local-dir:C:\Users\ebplo\.arduinoIDE\plugins does not exist.
2023-12-07 21:35:01 2023-12-07T20:35:01.605Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\ebplo\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\ebplo\\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-12-07 21:35:01 2023-12-07T20:35:01.605Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-12-07 21:35:01 2023-12-07T20:35:01.605Z config INFO Loaded the CLI configuration.
2023-12-07 21:35:01 2023-12-07T20:35:01.611Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/ebplo/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/ebplo/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-12-07 21:35:01 2023-12-07T20:35:01.611Z config INFO Validating the CLI configuration...
2023-12-07 21:35:01 2023-12-07T20:35:01.612Z config INFO The CLI config is valid.
2023-12-07 21:35:01 2023-12-07T20:35:01.612Z config INFO <<< Initialized the CLI configuration.
2023-12-07 21:35:01 2023-12-07T20:35:01.965Z root INFO Resolve plugins list: 4186.7 ms [Finished 7.143 s after backend start]
2023-12-07 21:35:05 2023-12-07T20:35:05.969Z daemon INFO time="2023-12-07T21:35:02+01:00" level=info msg="Using config file: c:\\Users\\ebplo\\.arduinoIDE\\arduino-cli.yaml"
time="2023-12-07T21:35:03+01:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2023-12-07T21:35:03+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:49673
{"IP":"127.0.0.1","Port":"49673"}
2023-12-07 21:35:05 2023-12-07T20:35:05.969Z daemon INFO Daemon is running.
2023-12-07 21:35:10 2023-12-07T20:35:10.758Z daemon INFO time="2023-12-07T21:35:08+01:00" level=info msg="Updating libraries index"
time="2023-12-07T21:35:08+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:35:15 2023-12-07T20:35:15.212Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 5085.8 ms [Finished 15.135 s after frontend start]
2023-12-07 21:35:15 2023-12-07T20:35:15.212Z root WARN A command editor.action.toggleStickyScroll is already registered.
2023-12-07 21:35:15 2023-12-07T20:35:15.993Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 809.3 ms [Finished 16.034 s after frontend start]
2023-12-07 21:35:18 2023-12-07T20:35:18.548Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 2141.4 ms [Finished 18.332 s after frontend start]
2023-12-07 21:35:21 2023-12-07T20:35:21.543Z 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": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-07 21:35:21 2023-12-07T20:35:21.544Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-07 21:35:21 2023-12-07T20:35:21.544Z 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-12-07 21:35:21 2023-12-07T20:35:21.545Z 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-12-07 21:35:21 2023-12-07T20:35:21.545Z 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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-07 21:35:21 2023-12-07T20:35:21.594Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2023-12-07 21:35:21 2023-12-07T20:35:21.595Z daemon INFO time="2023-12-07T21:35:21+01:00" level=info msg="Loading hardware from: C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\packages"
time="2023-12-07T21:35:21+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-12-07T21:35:21+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-07T21:35:21+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\Documents\\Arduino\\libraries" location=user
2023-12-07 21:35:22 2023-12-07T20:35:22.887Z daemon INFO time="2023-12-07T21:35:21+01:00" level=info msg="Updating libraries index"
time="2023-12-07T21:35:21+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2023-12-07T21:35:21+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2023-12-07T21:35:21+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:35:22 2023-12-07T20:35:22.889Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2023-12-07 21:35:22 2023-12-07T20:35:22.892Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
    at t.callErrorFromStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:726940)
    at Object.onReceiveStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754480)
    at Object.onReceiveStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:747504)
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:833048
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeServerStreamRequest (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754247)
    at a.updateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:818456)
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587141
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587489
    at new Promise (<anonymous>)
    at _.doUpdateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587468)
    at _.updatePlatformIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587113)
    at _.updateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586481)
    at _.initInstanceWithFallback (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:584725)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-07 21:35:22 2023-12-07T20:35:22.893Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2023-12-07 21:35:24 2023-12-07T20:35:24.226Z 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": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-07 21:35:24 2023-12-07T20:35:24.227Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-07 21:35:24 2023-12-07T20:35:24.227Z 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-12-07 21:35:24 2023-12-07T20:35:24.228Z 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-12-07 21:35:24 2023-12-07T20:35:24.229Z 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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-07 21:35:24 2023-12-07T20:35:24.235Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2023-12-07 21:35:24 2023-12-07T20:35:24.235Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586285
    at _.evaluateErrorStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586301)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async s.<anonymous> (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:585971)
2023-12-07 21:35:24 2023-12-07T20:35:24.240Z daemon INFO time="2023-12-07T21:35:22+01:00" level=info msg="Updating libraries index"
time="2023-12-07T21:35:22+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
time="2023-12-07T21:35:22+01:00" level=info msg="Loading hardware from: C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\packages"
time="2023-12-07T21:35:22+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-12-07T21:35:22+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-07T21:35:22+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\Documents\\Arduino\\libraries" location=user
2023-12-07 21:35:25 2023-12-07T20:35:25.422Z root INFO Deploy plugins list: 4186.7 ms [Finished 30.600 s after backend start]
2023-12-07 21:43:41 Using browser-only version of superagent in non-browser environment
2023-12-07 21:43:41 Configuration directory URI: 'file:///c%3A/Users/ebplo/.arduinoIDE'
2023-12-07 21:43:41 Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2023-12-07 21:43:41 2023-12-07T20:43:41.694Z root INFO Backend Object.initialize: 6.2 ms [Finished 0.642 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.697Z root INFO Backend Object.configure: 5.5 ms [Finished 0.642 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.697Z root INFO Backend a.onStart: 2.5 ms [Finished 0.642 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.697Z root INFO Backend a.configure: 0.4 ms [Finished 0.676 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.698Z root INFO Backend u.onStart: 0.3 ms [Finished 0.676 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.699Z root INFO Backend d.configure: 0.1 ms [Finished 0.676 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.700Z root INFO Backend d.initialize: 34.2 ms [Finished 0.676 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.700Z root INFO Backend c.onStart: 0.3 ms [Finished 0.677 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.701Z root INFO Backend s.configure: 3.0 ms [Finished 0.680 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.702Z config INFO >>> Initializing CLI configuration...
2023-12-07 21:43:41 2023-12-07T20:43:41.702Z root INFO Backend c.initialize: 0.5 ms [Finished 0.680 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.702Z root INFO Backend P.onStart: 0.7 ms [Finished 0.680 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.703Z config INFO Loading CLI configuration from c:\Users\ebplo\.arduinoIDE\arduino-cli.yaml...
2023-12-07 21:43:41 2023-12-07T20:43:41.704Z daemon INFO Starting daemon from C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2023-12-07 21:43:41 2023-12-07T20:43:41.704Z root INFO Backend s.initialize: 0.3 ms [Finished 0.681 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.704Z root INFO Backend w.onStart: 1.1 ms [Finished 0.682 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.704Z root INFO Backend r.configure: 2.0 ms [Finished 0.682 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.704Z discovery-log INFO start
2023-12-07 21:43:41 2023-12-07T20:43:41.704Z discovery-log INFO start new deferred
2023-12-07 21:43:41 2023-12-07T20:43:41.704Z root INFO Backend d.initialize: 0.4 ms [Finished 0.683 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.705Z root INFO Backend y.onStart: 1.8 ms [Finished 0.684 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.705Z root INFO Backend r.configure: 1.7 ms [Finished 0.685 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.705Z root INFO Backend s.onStart: 0.7 ms [Finished 0.686 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.705Z root INFO Backend h.configure: 0.7 ms [Finished 0.686 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.705Z root INFO Backend a.configure: 0.3 ms [Finished 0.687 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.705Z root INFO Backend s.configure: 0.1 ms [Finished 0.687 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.705Z root INFO Backend l.configure: 0.1 ms [Finished 0.687 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.710Z root INFO Theia app listening on http://localhost:49740.
2023-12-07 21:43:41 2023-12-07T20:43:41.710Z root INFO Finished starting backend application: 5.7 ms [Finished 0.692 s after backend start]
2023-12-07 21:43:41 2023-12-07T20:43:41.727Z root WARN The local plugin referenced by local-dir:/c%3A/Users/ebplo/.arduinoIDE/plugins does not exist.
2023-12-07 21:43:41 2023-12-07T20:43:41.727Z root WARN The local plugin referenced by local-dir:/c%3A/Users/ebplo/.arduinoIDE/extensions does not exist.
2023-12-07 21:43:41 2023-12-07T20:43:41.728Z root WARN The local plugin referenced by local-dir:C:\Users\ebplo\.arduinoIDE\plugins does not exist.
2023-12-07 21:43:41 2023-12-07T20:43:41.793Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\ebplo\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\ebplo\\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-12-07 21:43:41 2023-12-07T20:43:41.794Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2023-12-07 21:43:41 2023-12-07T20:43:41.794Z config INFO Loaded the CLI configuration.
2023-12-07 21:43:41 2023-12-07T20:43:41.795Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/ebplo/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/ebplo/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2023-12-07 21:43:41 2023-12-07T20:43:41.795Z config INFO Validating the CLI configuration...
2023-12-07 21:43:41 2023-12-07T20:43:41.798Z config INFO The CLI config is valid.
2023-12-07 21:43:41 2023-12-07T20:43:41.798Z config INFO <<< Initialized the CLI configuration.
2023-12-07 21:43:41 2023-12-07T20:43:41.843Z root INFO Resolve plugins list: 139.1 ms [Finished 0.824 s after backend start]
2023-12-07 21:43:42 2023-12-07T20:43:42.029Z daemon INFO time="2023-12-07T21:43:41+01:00" level=info msg="Using config file: c:\\Users\\ebplo\\.arduinoIDE\\arduino-cli.yaml"
time="2023-12-07T21:43:41+01:00" level=info msg="arduino-cli.exe version 0.34.0"
time="2023-12-07T21:43:41+01:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:49741
{"IP":"127.0.0.1","Port":"49741"}
2023-12-07 21:43:42 2023-12-07T20:43:42.030Z daemon INFO Daemon is running.
2023-12-07 21:43:42 2023-12-07T20:43:42.211Z daemon INFO time="2023-12-07T21:43:42+01:00" level=info msg="Updating libraries index"
time="2023-12-07T21:43:42+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
time="2023-12-07T21:43:42+01:00" level=info msg="Loading hardware from: C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\packages"
time="2023-12-07T21:43:42+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-12-07T21:43:42+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-07T21:43:42+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\Documents\\Arduino\\libraries" location=user
2023-12-07 21:43:42 2023-12-07T20:43:42.214Z 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": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-07 21:43:42 2023-12-07T20:43:42.215Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-07 21:43:42 2023-12-07T20:43:42.215Z 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-12-07 21:43:42 2023-12-07T20:43:42.216Z 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-12-07 21:43:42 2023-12-07T20:43:42.216Z 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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-07 21:43:42 2023-12-07T20:43:42.219Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2023-12-07 21:43:42 2023-12-07T20:43:42.222Z daemon INFO time="2023-12-07T21:43:42+01:00" level=info msg="Updating libraries index"
2023-12-07 21:43:42 2023-12-07T20:43:42.223Z daemon INFO time="2023-12-07T21:43:42+01:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2023-12-07 21:43:42 2023-12-07T20:43:42.313Z daemon INFO time="2023-12-07T21:43:42+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
time="2023-12-07T21:43:42+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:43:42 2023-12-07T20:43:42.314Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2023-12-07 21:43:42 2023-12-07T20:43:42.315Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2023-12-07 21:43:42 2023-12-07T20:43:42.317Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Error downloading index 'https://downloads.arduino.cc/libraries/library_index.tar.bz2': Get "https://downloads.arduino.cc/libraries/library_index.tar.bz2": dial tcp: lookup downloads.arduino.cc: no such host
    at t.callErrorFromStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:726940)
    at Object.onReceiveStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754480)
    at Object.onReceiveStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:747504)
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:833048
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
    at a.makeServerStreamRequest (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:754247)
    at a.updateLibrariesIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:818456)
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587296
    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587489
    at new Promise (<anonymous>)
    at _.doUpdateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587468)
    at _.updateLibraryIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:587268)
    at _.updateIndex (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586542)
    at _.initInstanceWithFallback (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:584725)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-12-07 21:43:42 2023-12-07T20:43:42.322Z daemon INFO time="2023-12-07T21:43:42+01:00" level=info msg="Updating libraries index"
time="2023-12-07T21:43:42+01:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2023-12-07 21:43:42 2023-12-07T20:43:42.424Z 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": dial tcp: lookup downloads.arduino.cc: no such host
2023-12-07 21:43:42 2023-12-07T20:43:42.425Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2023-12-07 21:43:42 2023-12-07T20:43:42.425Z 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-12-07 21:43:42 2023-12-07T20:43:42.425Z 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-12-07 21:43:42 2023-12-07T20:43:42.426Z 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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2023-12-07 21:43:42 2023-12-07T20:43:42.427Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2023-12-07 21:43:42 2023-12-07T20:43:42.427Z 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\ebplo\AppData\Local\Arduino15\package_index.json: open C:\Users\ebplo\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\ebplo\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586285
    at _.evaluateErrorStatus (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:586301)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async s.<anonymous> (C:\Users\ebplo\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:585971)
2023-12-07 21:43:42 2023-12-07T20:43:42.428Z daemon INFO time="2023-12-07T21:43:42+01:00" level=info msg="Loading hardware from: C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\packages"
time="2023-12-07T21:43:42+01:00" level=info msg="Loading libraries index file" index="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\library_index.json"
time="2023-12-07T21:43:42+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2023-12-07T21:43:42+01:00" level=info msg="Adding libraries dir" dir="C:\\Users\\ebplo\\Documents\\Arduino\\libraries" location=user
2023-12-07 21:43:43 2023-12-07T20:43:43.512Z root INFO Deploy plugins list: 139.1 ms [Finished 2.495 s after backend start]
2023-12-07 21:43:44 2023-12-07T20:43:44.140Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 347.1 ms [Finished 2.295 s after frontend start]
2023-12-07 21:43:44 2023-12-07T20:43:44.147Z root WARN A command editor.action.toggleStickyScroll is already registered.

I see the problem here:

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.

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