IDE hangs on startup: "openpgp: signature expired"

Continuing the discussion from Arduino 2.0.3 stuck on loading screen:

i have the same issue, i have the ZIP version of Arduino IDE installed.
OS: windows 11

Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: C:\Users\eqsan\Downloads\arduino-ide_2.3.2_Windows_64bit\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\eqsan\Downloads\arduino-ide_2.3.2_Windows_64bit\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: 16188
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/eqsan/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-04-02T03:49:01.334Z root INFO Backend Object.initialize: 4.0 ms [Finished 0.529 s after backend start]
2024-04-02T03:49:01.335Z root INFO Backend Object.configure: 3.3 ms [Finished 0.529 s after backend start]
2024-04-02T03:49:01.335Z root INFO Backend s.onStart: 1.7 ms [Finished 0.529 s after backend start]
2024-04-02T03:49:01.335Z root INFO Backend s.configure: 0.4 ms [Finished 0.552 s after backend start]
2024-04-02T03:49:01.336Z root INFO Backend d.onStart: 0.3 ms [Finished 0.552 s after backend start]
2024-04-02T03:49:01.337Z root INFO Backend d.configure: 0.1 ms [Finished 0.552 s after backend start]
2024-04-02T03:49:01.337Z root INFO Backend d.initialize: 22.5 ms [Finished 0.552 s after backend start]
2024-04-02T03:49:01.338Z root INFO Backend c.onStart: 0.3 ms [Finished 0.552 s after backend start]
2024-04-02T03:49:01.338Z root INFO Backend a.configure: 0.8 ms [Finished 0.553 s after backend start]
2024-04-02T03:49:01.339Z config INFO >>> Initializing CLI configuration...
2024-04-02T03:49:01.339Z root INFO Backend c.initialize: 0.6 ms [Finished 0.553 s after backend start]
2024-04-02T03:49:01.339Z root INFO Backend R.onStart: 0.7 ms [Finished 0.554 s after backend start]
2024-04-02T03:49:01.340Z config INFO Loading CLI configuration from c:\Users\eqsan\.arduinoIDE\arduino-cli.yaml...
2024-04-02T03:49:01.340Z daemon INFO Starting daemon from C:\Users\eqsan\Downloads\arduino-ide_2.3.2_Windows_64bit\resources\app\lib\backend\resources\arduino-cli.exe...
2024-04-02T03:49:01.340Z root INFO Backend a.initialize: 0.4 ms [Finished 0.555 s after backend start]
2024-04-02T03:49:01.340Z root INFO Backend w.onStart: 1.0 ms [Finished 0.555 s after backend start]
2024-04-02T03:49:01.340Z root INFO Backend r.configure: 1.6 ms [Finished 0.556 s after backend start]
2024-04-02T03:49:01.341Z discovery-log INFO start
2024-04-02T03:49:01.341Z discovery-log INFO start new deferred
2024-04-02T03:49:01.341Z root INFO Backend d.initialize: 0.4 ms [Finished 0.556 s after backend start]
2024-04-02T03:49:01.341Z root INFO Backend y.onStart: 1.7 ms [Finished 0.557 s after backend start]
2024-04-02T03:49:01.341Z root INFO Backend r.configure: 1.4 ms [Finished 0.558 s after backend start]
2024-04-02T03:49:01.341Z root INFO Backend a.onStart: 0.4 ms [Finished 0.559 s after backend start]
2024-04-02T03:49:01.341Z root INFO Backend h.configure: 0.3 ms [Finished 0.559 s after backend start]
2024-04-02T03:49:01.341Z root INFO Backend s.configure: 0.1 ms [Finished 0.559 s after backend start]
2024-04-02T03:49:01.341Z root INFO Backend l.configure: 0.1 ms [Finished 0.559 s after backend start]
2024-04-02T03:49:01.343Z root INFO Theia app listening on http://127.0.0.1:55298.
2024-04-02T03:49:01.343Z root INFO Finished starting backend application: 2.3 ms [Finished 0.561 s after backend start]
2024-04-02T03:49:01.348Z root WARN The local plugin referenced by local-dir:/c%3A/Users/eqsan/.arduinoIDE/plugins does not exist.
2024-04-02T03:49:01.348Z root WARN The local plugin referenced by local-dir:/c%3A/Users/eqsan/.arduinoIDE/extensions does not exist.
2024-04-02T03:49:01.348Z root WARN The local plugin referenced by local-dir:C:\Users\eqsan\.arduinoIDE\plugins does not exist.
2024-04-02T03:49:01.358Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\eqsan\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\eqsan\\OneDrive\\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-04-02T03:49:01.358Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-04-02T03:49:01.358Z config INFO Loaded the CLI configuration.
2024-04-02T03:49:01.360Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/eqsan/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/eqsan/OneDrive/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-04-02T03:49:01.360Z config INFO Validating the CLI configuration...
2024-04-02T03:49:01.361Z config INFO The CLI config is valid.
2024-04-02T03:49:01.361Z config INFO <<< Initialized the CLI configuration.
2024-04-02T03:49:01.375Z root INFO Resolve plugins list: 35.1 ms [Finished 0.593 s after backend start]
2024-04-02T03:49:01.398Z daemon INFO time="2024-04-02T06:49:01+03:00" level=info msg="Using config file: c:\\Users\\eqsan\\.arduinoIDE\\arduino-cli.yaml"
time="2024-04-02T06:49:01+03:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-04-02T06:49:01+03:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:55299
{"IP":"127.0.0.1","Port":"55299"}
2024-04-02T03:49:01.398Z daemon INFO Daemon is running.
2024-04-02T03:49:01.413Z daemon INFO time="2024-04-02T06:49:01+03:00" level=info msg="Updating libraries index"
2024-04-02T03:49:01.420Z daemon INFO time="2024-04-02T06:49:01+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-04-02T03:49:02.092Z root INFO Deploy plugins list: 35.1 ms [Finished 1.310 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-04-02T03:49:03.212Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 174.2 ms [Finished 1.699 s after frontend start]
2024-04-02T03:49:03.212Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-04-02T03:49:03.223Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-04-02T03:49:03.234Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Checking signature" index="C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-04-02T03:49:03.235Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Loading hardware from: C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\packages"
2024-04-02T03:49:03.236Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Loading package builtin from: C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-04-02T03:49:03.237Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-04-02T06:49:03+03:00" level=info msg="Loading tools from dir: C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-04-02T03:49:03.237Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:03.237Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:03.238Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:03.238Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:03.238Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:03.238Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Loading libraries index file" index="C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\library_index.json"
2024-04-02T03:49:03.239Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-04-02T03:49:03.239Z 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\eqsan\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-04-02T03:49:03.239Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\eqsan\\OneDrive\\Documents\\Arduino\\libraries" location=user
2024-04-02T03:49:03.244Z 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:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\eqsan\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-04-02T03:49:03.244Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Updating libraries index"
2024-04-02T03:49:03.246Z daemon INFO time="2024-04-02T06:49:03+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-04-02T03:49:03.247Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2024-04-02T03:49:03.329Z root WARN Frontend keybindings.onStart took longer than the expected maximum 100 milliseconds: 101.2 ms [Finished 1.831 s after frontend start]
2024-04-02T03:49:04.872Z daemon INFO time="2024-04-02T06:49:04+03:00" level=info msg="Updating libraries index"
2024-04-02T03:49:04.873Z daemon INFO time="2024-04-02T06:49:04+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-04-02T03:49:06.177Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-04-02T03:49:06.190Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Checking signature" index="C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-04-02T03:49:06.191Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Loading hardware from: C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\packages"
2024-04-02T03:49:06.191Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Loading package builtin from: C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-04-02T03:49:06.192Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-04-02T06:49:06+03:00" level=info msg="Loading tools from dir: C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-04-02T03:49:06.192Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:06.192Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:06.192Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:06.192Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:06.192Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-04-02T03:49:06.193Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Loading libraries index file" index="C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\library_index.json"
2024-04-02T03:49:06.193Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\eqsan\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-04-02T03:49:06.193Z 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\eqsan\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-04-02T03:49:06.193Z daemon INFO time="2024-04-02T06:49:06+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\eqsan\\OneDrive\\Documents\\Arduino\\libraries" location=user
2024-04-02T03:49:06.194Z 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:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\eqsan\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-04-02T03:49:06.194Z 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:
[library-index] - code: 9, message: Loading index file: reading library_index.json: open C:\Users\eqsan\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Users\eqsan\Downloads\arduino-ide_2.3.2_Windows_64bit\resources\app\lib\backend\main.js:2:622877
    at E.evaluateErrorStatus (C:\Users\eqsan\Downloads\arduino-ide_2.3.2_Windows_64bit\resources\app\lib\backend\main.js:2:622893)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async a.<anonymous> (C:\Users\eqsan\Downloads\arduino-ide_2.3.2_Windows_64bit\resources\app\lib\backend\main.js:2:622563)

Hi @02840

This error occurs when your system time is incorrect. You should be able to fix it by syncing the system time. I'll provide instructions you can follow to do that:

  1. Right click the Windows Start icon () on the taskbar.
    A context menu will open.
  2. Select "Settings" from the context menu.
    Windows "Settings" will open.
  3. Select "Time & language" from the navigation panel on the left side of the window.
  4. Select "Date & time" from the list on the right side of the Settings window.
    The Date & time settings section will expand.
  5. Click the "Sync now" button that is under the "Additional settings" section of the page.
  6. Wait for the syncing process to finish.
  7. Close any Arduino IDE windows that are open.
  8. Start Arduino IDE again.

Hopefully this time Arduino IDE will start up fully and work as expected.

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