Arduino get stuck on the logo

Hello freshly installed arduino software get stuck on logo

Here are the files

PS C:\Program Files\Arduino IDE> & ".\Arduino IDE"
PS C:\Program Files\Arduino IDE>
Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Program Files\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Program Files\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.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: 10352
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/gbrassard/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-05-02T14:33:24.105Z root INFO Backend Object.initialize: 4.0 ms [Finished 0.544 s after backend start]
2024-05-02T14:33:24.109Z root INFO Backend Object.configure: 3.3 ms [Finished 0.544 s after backend start]
2024-05-02T14:33:24.109Z root INFO Backend s.onStart: 1.7 ms [Finished 0.544 s after backend start]
2024-05-02T14:33:24.110Z root INFO Backend s.configure: 0.3 ms [Finished 0.567 s after backend start]
2024-05-02T14:33:24.111Z root INFO Backend d.onStart: 0.2 ms [Finished 0.567 s after backend start]
2024-05-02T14:33:24.111Z root INFO Backend d.configure: 0.1 ms [Finished 0.567 s after backend start]
2024-05-02T14:33:24.112Z root INFO Backend d.initialize: 23.0 ms [Finished 0.567 s after backend start]
2024-05-02T14:33:24.112Z root INFO Backend c.onStart: 0.3 ms [Finished 0.567 s after backend start]
2024-05-02T14:33:24.113Z root INFO Backend a.configure: 4.3 ms [Finished 0.572 s after backend start]
2024-05-02T14:33:24.115Z config INFO >>> Initializing CLI configuration...
2024-05-02T14:33:24.115Z root INFO Backend c.initialize: 0.5 ms [Finished 0.572 s after backend start]
2024-05-02T14:33:24.115Z root INFO Backend R.onStart: 0.7 ms [Finished 0.573 s after backend start]
2024-05-02T14:33:24.116Z config INFO Loading CLI configuration from c:\Users\gbrassard\.arduinoIDE\arduino-cli.yaml...
2024-05-02T14:33:24.116Z daemon INFO Starting daemon from C:\Program Files\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-05-02T14:33:24.116Z root INFO Backend a.initialize: 0.4 ms [Finished 0.573 s after backend start]
2024-05-02T14:33:24.116Z root INFO Backend w.onStart: 1.2 ms [Finished 0.574 s after backend start]
2024-05-02T14:33:24.116Z root INFO Backend r.configure: 2.0 ms [Finished 0.575 s after backend start]
2024-05-02T14:33:24.116Z discovery-log INFO start
2024-05-02T14:33:24.117Z discovery-log INFO start new deferred
2024-05-02T14:33:24.117Z root INFO Backend d.initialize: 0.5 ms [Finished 0.575 s after backend start]
2024-05-02T14:33:24.117Z root INFO Backend y.onStart: 2.3 ms [Finished 0.577 s after backend start]
2024-05-02T14:33:24.117Z root INFO Backend r.configure: 1.9 ms [Finished 0.577 s after backend start]
2024-05-02T14:33:24.117Z root INFO Backend a.onStart: 0.5 ms [Finished 0.578 s after backend start]
2024-05-02T14:33:24.117Z root INFO Backend h.configure: 0.4 ms [Finished 0.578 s after backend start]
2024-05-02T14:33:24.117Z root INFO Backend s.configure: 0.1 ms [Finished 0.579 s after backend start]
2024-05-02T14:33:24.117Z root INFO Backend l.configure: 0.1 ms [Finished 0.579 s after backend start]
2024-05-02T14:33:24.119Z root INFO Theia app listening on http://127.0.0.1:61871.
2024-05-02T14:33:24.120Z root INFO Finished starting backend application: 3.0 ms [Finished 0.582 s after backend start]
2024-05-02T14:33:24.312Z root WARN The local plugin referenced by local-dir:/c%3A/Users/gbrassard/.arduinoIDE/plugins does not exist.
2024-05-02T14:33:24.312Z root WARN The local plugin referenced by local-dir:/c%3A/Users/gbrassard/.arduinoIDE/extensions does not exist.
2024-05-02T14:33:24.313Z root WARN The local plugin referenced by local-dir:C:\Users\gbrassard\.arduinoIDE\plugins does not exist.
2024-05-02T14:33:24.318Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\gbrassard\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\gbrassard\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\gbrassard\\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-05-02T14:33:24.318Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-05-02T14:33:24.318Z config INFO Loaded the CLI configuration.
2024-05-02T14:33:24.322Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/gbrassard/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/gbrassard/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-05-02T14:33:24.322Z config INFO Validating the CLI configuration...
2024-05-02T14:33:24.324Z config INFO The CLI config is valid.
2024-05-02T14:33:24.324Z config INFO <<< Initialized the CLI configuration.
2024-05-02T14:33:24.345Z root INFO Resolve plugins list: 228.6 ms [Finished 0.806 s after backend start]
2024-05-02T14:33:24.671Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Using config file: c:\\Users\\gbrassard\\.arduinoIDE\\arduino-cli.yaml"
time="2024-05-02T10:33:24-04:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-05-02T10:33:24-04:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:61873
{"IP":"127.0.0.1","Port":"61873"}
2024-05-02T14:33:24.671Z daemon INFO Daemon is running.
2024-05-02T14:33:24.715Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Updating libraries index"
2024-05-02T14:33:24.726Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-05-02T14:33:24.870Z 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": tls: failed to verify certificate: x509: certificate signed by unknown authority
2024-05-02T14:33:24.871Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\gbrassard\AppData\Local\Arduino15\package_index.json: open C:\Users\gbrassard\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2024-05-02T14:33:24.871Z 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-05-02T14:33:24.871Z 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-05-02T14:33:24.871Z 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\gbrassard\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-05-02T14:33:24.872Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Loading hardware from: C:\\Users\\gbrassard\\AppData\\Local\\Arduino15\\packages"
time="2024-05-02T10:33:24-04:00" level=info msg="Loading libraries index file" index="C:\\Users\\gbrassard\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-05-02T10:33:24-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\gbrassard\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-05-02T10:33:24-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\gbrassard\\Documents\\Arduino\\libraries" location=user
2024-05-02T14:33:24.879Z 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\gbrassard\AppData\Local\Arduino15\package_index.json: open C:\Users\gbrassard\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\gbrassard\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-05-02T14:33:24.879Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Updating libraries index"
2024-05-02T14:33:24.880Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-05-02T14:33:24.885Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-05-02T14:33:24.886Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-05-02T14:33:24.888Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2024-05-02T14:33:24.888Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

2024-05-02T14:33:24.930Z root ERROR Failed to update platform, library indexes. Error: 13 INTERNAL: Some indexes could not be updated.
    at t.callErrorFromStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:763461)
    at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:791078)
    at Object.onReceiveStatus (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:784102)
    at C:\Program Files\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:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:790845)
    at s.updateIndex (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:855121)
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:623733
    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:624081
    at new Promise (<anonymous>)
    at E.doUpdateIndex (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:624060)
    at E.updatePlatformIndex (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:623705)
    at E.updateIndex (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:623073)
    at E.initInstanceWithFallback (C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:621317)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2024-05-02T14:33:24.934Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Updating libraries index"
2024-05-02T14:33:24.970Z daemon INFO time="2024-05-02T10:33:24-04:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-05-02T14:33:25.026Z 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": tls: failed to verify certificate: x509: certificate signed by unknown authority
2024-05-02T14:33:25.027Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\gbrassard\AppData\Local\Arduino15\package_index.json: open C:\Users\gbrassard\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2024-05-02T14:33:25.027Z daemon INFO time="2024-05-02T10:33:25-04:00" level=info msg="Loading hardware from: C:\\Users\\gbrassard\\AppData\\Local\\Arduino15\\packages"
time="2024-05-02T10:33:25-04:00" level=info msg="Loading libraries index file" index="C:\\Users\\gbrassard\\AppData\\Local\\Arduino15\\library_index.json"
time="2024-05-02T10:33:25-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\gbrassard\\AppData\\Local\\Arduino15\\libraries" location=ide
time="2024-05-02T10:33:25-04:00" level=info msg="Adding libraries dir" dir="C:\\Users\\gbrassard\\Documents\\Arduino\\libraries" location=user
2024-05-02T14:33:25.045Z 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-05-02T14:33:25.046Z 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-05-02T14:33:25.046Z 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\gbrassard\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-05-02T14:33:25.094Z 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\gbrassard\AppData\Local\Arduino15\package_index.json: open C:\Users\gbrassard\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\gbrassard\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-05-02T14:33:25.094Z 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\gbrassard\AppData\Local\Arduino15\package_index.json: open C:\Users\gbrassard\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\gbrassard\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:622877
    at E.evaluateErrorStatus (C:\Program Files\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:\Program Files\Arduino IDE\resources\app\lib\backend\main.js:2:622563)
2024-05-02T14:33:25.732Z root INFO Deploy plugins list: 228.6 ms [Finished 2.194 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-05-02T14:33:27.704Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1403.9 ms [Finished 3.491 s after frontend start]
2024-05-02T14:33:27.713Z root WARN A command editor.action.toggleStickyScroll is already registered.
[2428:0502/103356.816:ERROR:dns_config_service.cc(273)] DNS config watch failed.
[11604:0502/103356.816:ERROR:dns_config_service.cc(273)] DNS config watch failed.

Your topic has been moved to the IDE 2.x category of the forum

Hi @brassag. I see the problem here:

This "failed to verify certificate: x509: certificate signed by unknown authority" error is unexpected when downloading that file because it uses an SSL certificate from a trusted and common certificate authority provider.

Is there anything notable about the way you access the Internet? For example, do you use a proxy server or VPN, or have a special firewall?

Hi

Thank you very for your help
I use a proxy server

You can configure Arduino IDE as needed to use the proxy. Normally we could do this via a friendly configuration GUI, but unfortunately since the IDE won't start up that is not available. So instead it will be necessary to directly edit the configuration file where Arduino IDE stores the setting.

I'll provide instructions you can follow to do that:

  1. If the Arduino IDE is running, close the window.
  2. Use any text editor to open the file at the following path on your hard drive:
    c:\Users\gbrassard\.arduinoIDE\arduino-cli.yaml
    
  3. Add text in the following format to the bottom of the file:
    network:
      proxy: <scheme>://<username>:<password>@<host>:<port>
    
    (where each of the <> enclosed parts are placeholders you must replace with the appropriate values for your proxy)
  4. Replace <scheme> with either http or socks5.
  5. Replace <username> and <password> with your credentials for the proxy server.
  6. Replace <host> with the domain or IP address of the proxy server (e.g., example.com).
  7. Replace <port> with the port number on the proxy server.
  8. Save the file.

Now start Arduino IDE again. Hopefully it will start up and work as expected. You can start Arduino IDE normally this time instead of from the PowerShell terminal this time if you like.

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