IDE hangs on startup: "openpgp: invalid signature: RSA verification failure"

PS C:\Users\Abolfazl\AppData\Local\Programs\Arduino IDE> ^C
PS C:\Users\Abolfazl\AppData\Local\Programs\Arduino IDE>
Checking for frontend application configuration customizations. Module path: C:\Users\Abolfazl\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\Abolfazl\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.4" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "1.1.1" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-12-03T10:03:03.490Z" (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.4","cliVersion":"1.1.1","buildDate":"2024-12-03T10:03:03.490Z"}
Starting backend process. PID: 7716
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Abolfazl/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-12-04T05:10:38.927Z root INFO Backend Object.initialize: 8.0 ms [Finished 0.991 s after backend start]
2024-12-04T05:10:38.928Z root INFO Backend Object.configure: 6.8 ms [Finished 0.992 s after backend start]
2024-12-04T05:10:38.928Z root INFO Backend s.onStart: 4.4 ms [Finished 0.992 s after backend start]
2024-12-04T05:10:38.930Z root INFO Backend s.configure: 0.6 ms [Finished 1.031 s after backend start]
2024-12-04T05:10:38.931Z root INFO Backend d.onStart: 0.4 ms [Finished 1.031 s after backend start]
2024-12-04T05:10:38.933Z root INFO Backend d.configure: 0.2 ms [Finished 1.031 s after backend start]
2024-12-04T05:10:38.934Z root INFO Backend d.initialize: 39.4 ms [Finished 1.032 s after backend start]
2024-12-04T05:10:38.934Z root INFO Backend c.onStart: 0.5 ms [Finished 1.032 s after backend start]
2024-12-04T05:10:38.936Z root INFO Backend a.configure: 1.9 ms [Finished 1.034 s after backend start]
2024-12-04T05:10:38.938Z config INFO >>> Initializing CLI configuration...
2024-12-04T05:10:38.938Z root INFO Backend c.initialize: 1.3 ms [Finished 1.035 s after backend start]
2024-12-04T05:10:38.938Z root INFO Backend x.onStart: 2.0 ms [Finished 1.036 s after backend start]
2024-12-04T05:10:38.940Z config INFO Loading CLI configuration from c:\Users\Abolfazl\.arduinoIDE\arduino-cli.yaml...
2024-12-04T05:10:38.941Z daemon INFO Starting daemon from C:\Users\Abolfazl\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-12-04T05:10:38.941Z root INFO Backend a.initialize: 0.7 ms [Finished 1.038 s after backend start]
2024-12-04T05:10:38.941Z root INFO Backend w.onStart: 1.9 ms [Finished 1.039 s after backend start]
2024-12-04T05:10:38.941Z root INFO Backend r.configure: 3.2 ms [Finished 1.039 s after backend start]
2024-12-04T05:10:38.942Z discovery-log INFO start
2024-12-04T05:10:38.942Z discovery-log INFO start new deferred
2024-12-04T05:10:38.942Z root INFO Backend d.initialize: 1.0 ms [Finished 1.041 s after backend start]
2024-12-04T05:10:38.942Z root INFO Backend y.onStart: 3.6 ms [Finished 1.043 s after backend start]
2024-12-04T05:10:38.942Z root INFO Backend r.configure: 2.8 ms [Finished 1.043 s after backend start]
2024-12-04T05:10:38.942Z root INFO Backend a.onStart: 0.9 ms [Finished 1.046 s after backend start]
2024-12-04T05:10:38.942Z root INFO Backend h.configure: 0.7 ms [Finished 1.046 s after backend start]
2024-12-04T05:10:38.942Z root INFO Backend s.configure: 0.2 ms [Finished 1.047 s after backend start]
2024-12-04T05:10:38.942Z root INFO Backend l.configure: 0.1 ms [Finished 1.047 s after backend start]
2024-12-04T05:10:38.949Z root INFO Theia app listening on http://127.0.0.1:50088.
2024-12-04T05:10:38.949Z root INFO Finished starting backend application: 7.6 ms [Finished 1.054 s after backend start]
2024-12-04T05:10:38.959Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Abolfazl/.arduinoIDE/plugins does not exist.
2024-12-04T05:10:38.959Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Abolfazl/.arduinoIDE/extensions does not exist.
2024-12-04T05:10:38.960Z root WARN The local plugin referenced by local-dir:C:\Users\Abolfazl\.arduinoIDE\plugins does not exist.
2024-12-04T05:10:38.994Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
2024-12-04T05:10:38.994Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
2024-12-04T05:10:39.098Z root INFO Resolve plugins list: 158.2 ms [Finished 1.202 s after backend start]
2024-12-04T05:10:39.402Z daemon INFO time="2024-12-03T21:10:39-08:00" level=info msg="arduino-cli version 1.1.1"
time="2024-12-03T21:10:39-08:00" level=info msg="Using config file: c:\\Users\\Abolfazl\\.arduinoIDE\\arduino-cli.yaml"
time="2024-12-03T21:10:39-08:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:50091
{"IP":"127.0.0.1","Port":"50091"}
2024-12-04T05:10:39.405Z daemon INFO Daemon is running.
2024-12-04T05:10:39.665Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"C:\\Users\\Abolfazl\\OneDrive\\اسناد\\Arduino","data":"C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15"}}
2024-12-04T05:10:39.665Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"C:\\Users\\Abolfazl\\OneDrive\\اسناد\\Arduino","data":"C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15"},"board_manager":{"additional_urls":[]}}
2024-12-04T05:10:39.665Z config INFO Loaded the CLI configuration.
2024-12-04T05:10:39.668Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Abolfazl/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Abolfazl/OneDrive/%D8%A7%D8%B3%D9%86%D8%A7%D8%AF/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-12-04T05:10:39.668Z config INFO Validating the CLI configuration...
2024-12-04T05:10:39.669Z daemon INFO time="2024-12-03T21:10:39-08:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-12-04T05:10:39.669Z config INFO The CLI config is valid.
2024-12-04T05:10:39.669Z config INFO <<< Initialized the CLI configuration.
2024-12-04T05:10:41.286Z root INFO Deploy plugins list: 158.2 ms [Finished 3.391 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-12-04T05:10:43.349Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 285.0 ms [Finished 4.175 s after frontend start]
2024-12-04T05:10:43.349Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-12-04T05:10:43.658Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 117.8 ms [Finished 4.577 s after frontend start]
2024-12-04T05:10:47.982Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: signature expired: is your system clock set correctly?
2024-12-04T05:10:48.189Z daemon INFO time="2024-12-03T21:10:48-08:00" level=warning msg="Checking signature" error="openpgp: invalid signature: RSA verification failure" index="C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\package_index.json.sig"
2024-12-04T05:10:48.191Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loading hardware from: C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\packages"
2024-12-04T05:10:48.192Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loading package builtin from: C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-12-04T05:10:48.193Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-12-04T05:10:48.193Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loading tools from dir: C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-12-04T05:10:48.194Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-12-04T05:10:48.194Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-12-04T05:10:48.195Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-12-04T05:10:48.196Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
2024-12-04T05:10:48.197Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-12-04T05:10:48.222Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Loading libraries index file" index="C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\library_index.json"
2024-12-04T05:10:48.223Z 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\Abolfazl\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-12-04T05:10:48.223Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
time="2024-12-03T21:10:48-08:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Abolfazl\\OneDrive\\اسناد\\Arduino\\libraries" isSingleLibrary=false location=user
2024-12-04T05:10:48.231Z 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\Abolfazl\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-12-04T05:10:48.235Z daemon INFO time="2024-12-03T21:10:48-08:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-12-04T05:10:48.237Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2024-12-04T05:10:56.660Z daemon INFO time="2024-12-03T21:10:56-08:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-12-04T05:11:04.431Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: signature expired: is your system clock set correctly?
2024-12-04T05:11:04.447Z daemon INFO time="2024-12-03T21:11:04-08:00" level=warning msg="Checking signature" error="openpgp: invalid signature: RSA verification failure" index="C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\package_index.json.sig"
2024-12-04T05:11:04.449Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Loading hardware from: C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\packages"
2024-12-04T05:11:04.450Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Loading package builtin from: C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-12-04T05:11:04.451Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-12-03T21:11:04-08:00" level=info msg="Loading tools from dir: C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-12-04T05:11:04.452Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-12-04T05:11:04.453Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-12-04T05:11:04.454Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-12-04T05:11:04.454Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.1"
2024-12-04T05:11:04.454Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-12-04T05:11:04.479Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Loading libraries index file" index="C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\library_index.json"
2024-12-04T05:11:04.479Z 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\Abolfazl\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-12-04T05:11:04.480Z daemon INFO time="2024-12-03T21:11:04-08:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Abolfazl\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
time="2024-12-03T21:11:04-08:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Abolfazl\\OneDrive\\اسناد\\Arduino\\libraries" isSingleLibrary=false location=user
2024-12-04T05:11:04.481Z 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\Abolfazl\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-12-04T05:11:04.481Z 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\Abolfazl\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Users\Abolfazl\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:777546
    at v.evaluateErrorStatus (C:\Users\Abolfazl\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:777562)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async a.<anonymous> (C:\Users\Abolfazl\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:777232)



how can I solve this problem?
when I run Arduino IDE it hang on in starting?

Adjust your system time.

Any chance that you're using a dual boot system?

Oh, Finally it is done and the program is running. Thank you very much.

1 Like

@asj-8585, thanks for the feed back.

You did not answer the question if you were using a dual boot. If you do, you can find a solutions for the problem in Solving the Ubuntu-Windows Dual Boot Time Discrepancy | by Lakpahana AGS | Medium

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