IDE hangs on startup: "openpgp: signature expired"

I just installed Arduino IDE. Just launched, but it wont stop this ending loading with pulsating logo on white background and i dont know what to do

Hi @aelo321. I'm going to ask you to provide 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 the Ctrl+Shift+A keyboard shortcut.
    This will select all the text in the PowerShell window.
  11. Press the Ctrl+C keyboard shortcut.
    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 block icon on toolbar
  14. Press the Ctrl+V keyboard shortcut.
    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.

PS C:\Users\Stas\AppData\Local\Programs\Arduino IDE> mizations. Module path: C:\Users\Stas\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\Stas\AppData\Local\Programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.2" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.3" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-20T10:04:35.814Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.2","cliVersion":"0.35.3","buildDate":"2024-02-20T10:04:35.814Z"}
Starting backend process. PID: 8232
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Stas/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-05-17T11:27:55.691Z root INFO Backend Object.initialize: 5.1 ms [Finished 0.759 s after backend start]
2024-05-17T11:27:55.692Z root INFO Backend Object.configure: 4.0 ms [Finished 0.759 s after backend start]
2024-05-17T11:27:55.692Z root INFO Backend s.onStart: 2.0 ms [Finished 0.759 s after backend start]
2024-05-17T11:27:55.693Z root INFO Backend s.configure: 0.4 ms [Finished 0.790 s after backend start]
2024-05-17T11:27:55.693Z root INFO Backend d.onStart: 0.3 ms [Finished 0.790 s after backend start]
2024-05-17T11:27:55.694Z root INFO Backend d.configure: 0.1 ms [Finished 0.790 s after backend start]
2024-05-17T11:27:55.695Z root INFO Backend d.initialize: 30.9 ms [Finished 0.791 s after backend start]
2024-05-17T11:27:55.695Z root INFO Backend c.onStart: 0.3 ms [Finished 0.791 s after backend start]
2024-05-17T11:27:55.696Z root INFO Backend a.configure: 1.7 ms [Finished 0.792 s after backend start]
2024-05-17T11:27:55.697Z config INFO >>> Initializing CLI configuration...
2024-05-17T11:27:55.698Z root INFO Backend c.initialize: 0.6 ms [Finished 0.793 s after backend start]
2024-05-17T11:27:55.698Z root INFO Backend R.onStart: 0.9 ms [Finished 0.793 s after backend start]
2024-05-17T11:27:55.699Z config INFO Loading CLI configuration from c:\Users\Stas\.arduinoIDE\arduino-cli.yaml...
2024-05-17T11:27:55.699Z daemon INFO Starting daemon from C:\Users\Stas\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-05-17T11:27:55.699Z root INFO Backend a.initialize: 0.5 ms [Finished 0.794 s after backend start]
2024-05-17T11:27:55.699Z root INFO Backend w.onStart: 1.2 ms [Finished 0.795 s after backend start]
2024-05-17T11:27:55.699Z root INFO Backend r.configure: 1.9 ms [Finished 0.795 s after backend start]
2024-05-17T11:27:55.699Z discovery-log INFO start
2024-05-17T11:27:55.699Z discovery-log INFO start new deferred
2024-05-17T11:27:55.699Z root INFO Backend d.initialize: 0.5 ms [Finished 0.796 s after backend start]
2024-05-17T11:27:55.699Z root INFO Backend y.onStart: 2.3 ms [Finished 0.798 s after backend start]
2024-05-17T11:27:55.699Z root INFO Backend r.configure: 1.9 ms [Finished 0.798 s after backend start]
2024-05-17T11:27:55.700Z root INFO Backend a.onStart: 0.6 ms [Finished 0.799 s after backend start]
2024-05-17T11:27:55.700Z root INFO Backend h.configure: 0.5 ms [Finished 0.799 s after backend start]
2024-05-17T11:27:55.700Z root INFO Backend s.configure: 0.1 ms [Finished 0.800 s after backend start]
2024-05-17T11:27:55.700Z root INFO Backend l.configure: 0.1 ms [Finished 0.800 s after backend start]
2024-05-17T11:27:55.703Z root INFO Theia app listening on http://127.0.0.1:7598.
2024-05-17T11:27:55.703Z root INFO Finished starting backend application: 3.4 ms [Finished 0.803 s after backend start]
2024-05-17T11:27:55.735Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Stas/.arduinoIDE/plugins does not exist.
2024-05-17T11:27:55.735Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Stas/.arduinoIDE/extensions does not exist.
2024-05-17T11:27:55.736Z root WARN The local plugin referenced by local-dir:C:\Users\Stas\.arduinoIDE\plugins does not exist.
2024-05-17T11:27:55.751Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"data":"C:\\Users\\Stas\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\Stas\\AppData\\Local\\Arduino15\\staging","user":"C:\\Users\\Stas\\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-17T11:27:55.751Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-05-17T11:27:55.751Z config INFO Loaded the CLI configuration.
2024-05-17T11:27:55.755Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Stas/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Stas/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2024-05-17T11:27:55.755Z config INFO Validating the CLI configuration...
2024-05-17T11:27:55.756Z config INFO The CLI config is valid.
2024-05-17T11:27:55.756Z config INFO <<< Initialized the CLI configuration.
2024-05-17T11:27:55.777Z root INFO Resolve plugins list: 78.1 ms [Finished 0.876 s after backend start]
2024-05-17T11:27:55.946Z daemon INFO time="2024-05-17T14:27:55+03:00" level=info msg="Using config file: c:\\Users\\Stas\\.arduinoIDE\\arduino-cli.yaml"
time="2024-05-17T14:27:55+03:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-05-17T14:27:55+03:00" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:7602
{"IP":"127.0.0.1","Port":"7602"}
2024-05-17T11:27:55.946Z daemon INFO Daemon is running.
2024-05-17T11:27:55.983Z daemon INFO time="2024-05-17T14:27:55+03:00" level=info msg="Updating libraries index"
time="2024-05-17T14:27:55+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-05-17T11:27:57.049Z root INFO Deploy plugins list: 78.1 ms [Finished 2.150 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-05-17T11:27:58.239Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 227.6 ms [Finished 2.409 s after frontend start]
2024-05-17T11:27:58.239Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-05-17T11:27:59.946Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-05-17T11:27:59.963Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Checking signature" index="C:\\Users\\Stas\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Stas\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-05-17T11:27:59.969Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Loading hardware from: C:\\Users\\Stas\\AppData\\Local\\Arduino15\\packages"
2024-05-17T11:27:59.971Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Loading package builtin from: C:\\Users\\Stas\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-05-17T11:27:59.971Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\Stas\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-05-17T14:27:59+03:00" level=info msg="Loading tools from dir: C:\\Users\\Stas\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-05-17T11:27:59.972Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:27:59.972Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:27:59.972Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:27:59.972Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:27:59.972Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:27:59.973Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Loading libraries index file" index="C:\\Users\\Stas\\AppData\\Local\\Arduino15\\library_index.json"
2024-05-17T11:27:59.973Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Stas\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-05-17T11:27:59.974Z 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\Stas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-05-17T11:27:59.974Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Stas\\Documents\\Arduino\\libraries" location=user
2024-05-17T11:27:59.979Z 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\Stas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-05-17T11:27:59.980Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Updating libraries index"
2024-05-17T11:27:59.984Z daemon INFO time="2024-05-17T14:27:59+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-05-17T11:27:59.985Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2024-05-17T11:28:03.470Z daemon INFO time="2024-05-17T14:28:03+03:00" level=info msg="Updating libraries index"
2024-05-17T11:28:03.471Z daemon INFO time="2024-05-17T14:28:03+03:00" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2024-05-17T11:28:09.506Z root ERROR Detected an error response during the gRPC core client initialization: code: 3, message: Error verifying signature: openpgp: signature expired
2024-05-17T11:28:09.519Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Checking signature" index="C:\\Users\\Stas\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="C:\\Users\\Stas\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-05-17T11:28:09.520Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Loading hardware from: C:\\Users\\Stas\\AppData\\Local\\Arduino15\\packages"
2024-05-17T11:28:09.521Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Loading package builtin from: C:\\Users\\Stas\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-05-17T11:28:09.521Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\Stas\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-05-17T14:28:09+03:00" level=info msg="Loading tools from dir: C:\\Users\\Stas\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-05-17T11:28:09.522Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:28:09.522Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:28:09.522Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:28:09.522Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:28:09.522Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Loaded tool" tool="builtin:[email protected]"
2024-05-17T11:28:09.523Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Loading libraries index file" index="C:\\Users\\Stas\\AppData\\Local\\Arduino15\\library_index.json"
2024-05-17T11:28:09.523Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Stas\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-05-17T11:28:09.523Z 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\Stas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2024-05-17T11:28:09.524Z daemon INFO time="2024-05-17T14:28:09+03:00" level=info msg="Adding libraries dir" dir="C:\\Users\\Stas\\Documents\\Arduino\\libraries" location=user
2024-05-17T11:28:09.529Z 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\Stas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2024-05-17T11:28:09.529Z 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\Stas\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

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

Have i sent error log correctly?

This "Error verifying signature: openpgp: signature expired" 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.

Thanks, it works now!

You are welcome. I'm glad it is working now.

Regards,
Per

A post was split to a new topic: IDE hangs on startup: "Received RST_STREAM with code 0"

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