IDE hangs on startup: "signature expired: is your system clock set correctly?"

Set-Location : A positional parameter cannot be found that accepts argument 'Puthran\Documents\Arduino'.
At line:1 char:1
+ Set-Location -literalPath C:\Users\Akshata Puthran\Documents\Arduino
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-Location], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetLocationCommand

PS C:\Windows\system32> C:\Users\<username>\AppData\Local\Programs\Arduino IDE
C:\Users\<username>\AppData\Local\Programs\Arduino : The term 'C:\Users\<username>\AppData\Local\Programs\Arduino' is
not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ C:\Users\<username>\AppData\Local\Programs\Arduino IDE
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\<usern...rograms\Arduino:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Windows\system32> cmdlet C:\Users\<username>\AppData\Local\Programs\Arduino IDE
cmdlet : The term 'cmdlet' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ cmdlet C:\Users\<username>\AppData\Local\Programs\Arduino IDE
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (cmdlet:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Windows\system32> cmdlet C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE
cmdlet : The term 'cmdlet' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ cmdlet C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (cmdlet:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Windows\system32> cmd C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE
Microsoft Windows [Version 10.0.26100.3037]
(c) Microsoft Corporation. All rights reserved.

C:\Windows\System32> cd..

C:\Windows>cd System32

C:\Windows\System32>cd C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE

C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE>& ".\Arduino IDE"
& was unexpected at this time.

C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE> & ".\Arduino IDE"
& was unexpected at this time.

C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE>".\Arduino IDE"

C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE>
Arduino IDE 2.3.4
Checking for frontend application configuration customizations. Module path: C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': C:\Users\Akshata Puthran\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: 13408
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/Akshata%20Puthran/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2025-01-30T06:47:52.332Z root INFO Backend Object.initialize: 3.2 ms [Finished 0.410 s after backend start]
2025-01-30T06:47:52.333Z root INFO Backend Object.configure: 2.6 ms [Finished 0.410 s after backend start]
2025-01-30T06:47:52.333Z root INFO Backend s.onStart: 1.3 ms [Finished 0.410 s after backend start]
2025-01-30T06:47:52.334Z root INFO Backend s.configure: 0.4 ms [Finished 0.429 s after backend start]
2025-01-30T06:47:52.334Z root INFO Backend d.onStart: 0.3 ms [Finished 0.429 s after backend start]
2025-01-30T06:47:52.335Z root INFO Backend d.configure: 0.1 ms [Finished 0.429 s after backend start]
2025-01-30T06:47:52.336Z root INFO Backend d.initialize: 18.4 ms [Finished 0.429 s after backend start]
2025-01-30T06:47:52.336Z root INFO Backend c.onStart: 0.3 ms [Finished 0.429 s after backend start]
2025-01-30T06:47:52.336Z root INFO Backend a.configure: 1.5 ms [Finished 0.431 s after backend start]
2025-01-30T06:47:52.337Z config INFO >>> Initializing CLI configuration...
2025-01-30T06:47:52.337Z root INFO Backend c.initialize: 0.7 ms [Finished 0.431 s after backend start]
2025-01-30T06:47:52.337Z root INFO Backend x.onStart: 0.7 ms [Finished 0.432 s after backend start]
2025-01-30T06:47:52.338Z config INFO Loading CLI configuration from c:\Users\Akshata Puthran\.arduinoIDE\arduino-cli.yaml...
2025-01-30T06:47:52.338Z daemon INFO Starting daemon from C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2025-01-30T06:47:52.338Z root INFO Backend a.initialize: 0.3 ms [Finished 0.432 s after backend start]
2025-01-30T06:47:52.338Z root INFO Backend w.onStart: 1.0 ms [Finished 0.433 s after backend start]
2025-01-30T06:47:52.338Z root INFO Backend r.configure: 1.5 ms [Finished 0.433 s after backend start]
2025-01-30T06:47:52.338Z discovery-log INFO start
2025-01-30T06:47:52.339Z discovery-log INFO start new deferred
2025-01-30T06:47:52.339Z root INFO Backend d.initialize: 0.3 ms [Finished 0.434 s after backend start]
2025-01-30T06:47:52.339Z root INFO Backend y.onStart: 1.3 ms [Finished 0.435 s after backend start]
2025-01-30T06:47:52.339Z root INFO Backend r.configure: 1.1 ms [Finished 0.435 s after backend start]
2025-01-30T06:47:52.339Z root INFO Backend a.onStart: 0.4 ms [Finished 0.436 s after backend start]
2025-01-30T06:47:52.339Z root INFO Backend h.configure: 0.3 ms [Finished 0.436 s after backend start]
2025-01-30T06:47:52.339Z root INFO Backend s.configure: 0.1 ms [Finished 0.436 s after backend start]
2025-01-30T06:47:52.339Z root INFO Backend l.configure: 0.0 ms [Finished 0.436 s after backend start]
2025-01-30T06:47:52.343Z root INFO Theia app listening on http://127.0.0.1:50708.
2025-01-30T06:47:52.343Z root INFO Finished starting backend application: 4.4 ms [Finished 0.440 s after backend start]
2025-01-30T06:47:52.508Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Akshata%20Puthran/.arduinoIDE/plugins does not exist.
2025-01-30T06:47:52.508Z root WARN The local plugin referenced by local-dir:/c%3A/Users/Akshata%20Puthran/.arduinoIDE/extensions does not exist.
2025-01-30T06:47:52.509Z root WARN The local plugin referenced by local-dir:C:\Users\Akshata Puthran\.arduinoIDE\plugins does not exist.
2025-01-30T06:47:52.815Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]}}
2025-01-30T06:47:52.815Z config INFO Loading fallback CLI configuration to get 'directories.data' and 'directories.user'
2025-01-30T06:47:52.822Z daemon INFO time="2025-01-30T12:17:52+05:30" level=info msg="arduino-cli version 1.1.1"
time="2025-01-30T12:17:52+05:30" level=info msg="Using config file: c:\\Users\\Akshata Puthran\\.arduinoIDE\\arduino-cli.yaml"
time="2025-01-30T12:17:52+05:30" level=info msg="Executing `arduino-cli daemon`"
Daemon is now listening on 127.0.0.1:50709
{"IP":"127.0.0.1","Port":"50709"}
2025-01-30T06:47:52.822Z daemon INFO Daemon is running.
2025-01-30T06:47:52.837Z daemon INFO time="2025-01-30T12:17:52+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2025-01-30T06:47:52.846Z root INFO Resolve plugins list: 508.4 ms [Finished 0.943 s after backend start]
2025-01-30T06:47:52.858Z config INFO Loaded fallback CLI configuration: {"directories":{"user":"C:\\Users\\Akshata Puthran\\Documents\\Arduino","data":"C:\\Users\\Akshata Puthran\\AppData\\Local\\Arduino15"}}
2025-01-30T06:47:52.858Z config INFO Merged CLI configuration with the fallback: {"directories":{"user":"C:\\Users\\Akshata Puthran\\Documents\\Arduino","data":"C:\\Users\\Akshata Puthran\\AppData\\Local\\Arduino15"},"board_manager":{"additional_urls":[]}}
2025-01-30T06:47:52.858Z config INFO Loaded the CLI configuration.
2025-01-30T06:47:52.859Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/Akshata%20Puthran/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/Akshata%20Puthran/Documents/Arduino","additionalUrls":[],"network":"none","locale":"en"}
2025-01-30T06:47:52.859Z config INFO Validating the CLI configuration...
2025-01-30T06:47:52.859Z config INFO The CLI config is valid.
2025-01-30T06:47:52.859Z config INFO <<< Initialized the CLI configuration.
2025-01-30T06:47:53.334Z root INFO Deploy plugins list: 508.4 ms [Finished 1.431 s after backend start]
2025-01-30T06:47:54.250Z 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?
2025-01-30T06:47:54.250Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\Akshata Puthran\AppData\Local\Arduino15\package_index.json: open C:\Users\Akshata Puthran\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2025-01-30T06:47:54.250Z 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
2025-01-30T06:47:54.250Z 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
2025-01-30T06:47:54.250Z 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\Akshata Puthran\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2025-01-30T06:47:54.253Z 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\Akshata Puthran\AppData\Local\Arduino15\package_index.json: open C:\Users\Akshata Puthran\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\Akshata Puthran\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2025-01-30T06:47:54.254Z daemon INFO time="2025-01-30T12:17:54+05:30" level=info msg="Loading hardware from: C:\\Users\\Akshata Puthran\\AppData\\Local\\Arduino15\\packages"
time="2025-01-30T12:17:54+05:30" level=info msg="Loading libraries index file" index="C:\\Users\\Akshata Puthran\\AppData\\Local\\Arduino15\\library_index.json"
time="2025-01-30T12:17:54+05:30" level=info msg="Adding libraries dir" dir="C:\\Users\\Akshata Puthran\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
time="2025-01-30T12:17:54+05:30" level=info msg="Adding libraries dir" dir="C:\\Users\\Akshata Puthran\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user
2025-01-30T06:47:54.254Z daemon INFO time="2025-01-30T12:17:54+05:30" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-01-30T06:47:54.256Z daemon INFO time="2025-01-30T12:17:54+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2025-01-30T06:47:54.256Z daemon INFO time="2025-01-30T12:17:54+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2025-01-30T06:47:54.256Z root INFO core-client-provider [library-index] Downloading index: library_index.tar.bz2

2025-01-30T06:47:54.257Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2025-01-30T06:47:55.263Z daemon INFO time="2025-01-30T12:17:55+05:30" level=info msg="Starting download" url="https://downloads.arduino.cc/libraries/library_index.tar.bz2"
2025-01-30T06:47:55.409Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 925.8 ms [Finished 2.695 s after frontend start]
2025-01-30T06:47:55.414Z root WARN A command editor.action.toggleStickyScroll is already registered.
2025-01-30T06:47:56.473Z daemon INFO time="2025-01-30T12:17:56+05:30" level=info msg="Loading hardware from: C:\\Users\\Akshata Puthran\\AppData\\Local\\Arduino15\\packages"
2025-01-30T06:47:56.473Z 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?
2025-01-30T06:47:56.473Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Loading index file: loading json index file C:\Users\Akshata Puthran\AppData\Local\Arduino15\package_index.json: open C:\Users\Akshata Puthran\AppData\Local\Arduino15\package_index.json: The system cannot find the file specified.
2025-01-30T06:47:56.473Z 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
2025-01-30T06:47:56.474Z 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
2025-01-30T06:47:56.474Z 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\Akshata Puthran\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.
2025-01-30T06:47:56.474Z 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\Akshata Puthran\AppData\Local\Arduino15\package_index.json: open C:\Users\Akshata Puthran\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\Akshata Puthran\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

2025-01-30T06:47:56.474Z 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\Akshata Puthran\AppData\Local\Arduino15\package_index.json: open C:\Users\Akshata Puthran\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\Akshata Puthran\AppData\Local\Arduino15\library_index.json: The system cannot find the file specified.

    at C:\Users\Akshata Puthran\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:777546
    at v.evaluateErrorStatus (C:\Users\Akshata Puthran\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\Akshata Puthran\AppData\Local\Programs\Arduino IDE\resources\app\lib\backend\main.js:2:777232)
2025-01-30T06:47:56.474Z daemon INFO time="2025-01-30T12:17:56+05:30" level=info msg="Loading libraries index file" index="C:\\Users\\Akshata Puthran\\AppData\\Local\\Arduino15\\library_index.json"
time="2025-01-30T12:17:56+05:30" level=info msg="Adding libraries dir" dir="C:\\Users\\Akshata Puthran\\AppData\\Local\\Arduino15\\libraries" isSingleLibrary=false location=ide
time="2025-01-30T12:17:56+05:30" level=info msg="Adding libraries dir" dir="C:\\Users\\Akshata Puthran\\Documents\\Arduino\\libraries" isSingleLibrary=false location=user

Hi @akshatap_115. I see the problem here:

The cause of the problem is that your system time is incorrect. You can 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 at the right side of the Settings window.
    The "Date & time" settings section will expand.
  5. Click the "Sync now" button that is located under the "Additional settings" section of the window.
  6. Wait for the syncing process to finish.
  7. Close any Arduino IDE windows that are open.
  8. Start Arduino IDE again, as usual.
    It is not required to start the IDE from the PowerShell terminal this time.

This time Arduino IDE should start up fully and work as expected.

Thank you so much for the guidance arduino has started but there is one more problem arising that is of port option is not showing.....and im not able to connect my code with the hardware project pls help @ptillisch

Since this thread is already solved, please open a new thread (or search the forum, your problem might already been discussed and solved). To speed things up, also add relevant technical info such as OS, IDE version, Arduino in question etc.

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