question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Runtime Error: No Keys exist. Please run 'chia keys generate' or open the UI.

See original GitHub issue

This is a Duplicate of #7099 which got automatically closed. the issue still persists on 1.2.5

Describe the bug I have a major issue, farming with chia. The Farmer won’t start reliably, this makes unattended farming impossible.

To Reproduce Execute batch script in order to start farmer:

cd C:\Users\%username%\AppData\Local\chia-blockchain\app-1.1.7\resources\app.asar.unpacked\daemon  
chia start farmer

Result (around 70% of tries):

Traceback (most recent call last): File “chia\server\start_farmer.py”, line 68, in <module> File “chia\server\start_farmer.py”, line 63, in main File “chia\server\start_farmer.py”, line 38, in service_kwargs_for_farmer File “chia\farmer\farmer.py”, line 73, in init RuntimeError: No keys exist. Please run ‘chia keys generate’ or open the UI. [10976] Failed to execute script start_farmer

Expected behavior farmer detects saved keys and starts apropriately image

Desktop (please complete the following information):

  • OS: Windows 10
  • OS Version 20H2 Build 19042.1052
  • CPU: AMD Ryzen 3600
  • Chia Version: 1.2

Additional context The Keys are definitely there. The Gui will always start without any issue.

Executing the script again mostly resolves the issue. So the keys are definitely there.

  • OS:
  • OS Version/Flavor:
  • CPU:

Additional context

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hoffmang9commented, Sep 6, 2021

Edited - didn’t see that the keys are there.

0reactions
emlowecommented, Sep 16, 2021

Closing issue due to no response to request for log information

Read more comments on GitHub >

github_iconTop Results From Across the Web

No Keys exist. Please run 'chia keys generate' or open the UI ...
I have a major issue, farming with chia. The Farmer won't start reliably, this makes unattended farming impossible. ... RuntimeError: No keys ......
Read more >
WARNING No keys present in Linux -- how to fix? - Chia Forum
Newbie mistake! This warning appears in the debug.log: WARNING No keys preset. Create keys with the UI or the 'chia … ... Port...
Read more >
No keys loaded after the latest upgrade : r/chia - Reddit
Trying to send some Chia via CLI and I keep getting the error: `No keys loaded` I reimported my keys and same issue....
Read more >
chia-blockchain Changelog - pyup.io
Fix no keys loaded error by making KeychainProxy automatically reconnect when a connection is lost - Fix a migration bug of NFT table...
Read more >
Visual Studio 2017 15.9 Release Notes - Microsoft Learn
Release notes for the latest features and improvements in Visual Studio 2017 v15.9. Plan better, code together and ship faster with Visual ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found