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] Farmer - PlofNFT goes to unrecoverable farming state (until restart)

See original GitHub issue

What happened?

Found this bug while testing our pool on testnet:

  • If you start the farmer and for some reason it cannot connect to the pool to fetch difficulty via /get_farmer, plotNFT will enter unrecoverable farming state as shown on the log below.
  • Requires a restart and a successful connection to the pool at start to work properly.

Version

1.3.2.dev26

What platform are you using?

Linux

What ui mode are you using?

CLI

Relevant log output

2022-03-19T18:26:38.917 farmer chia.farmer.farmer         : WARNING  No pool specific difficulty has been set for 330b318ffade3d526d893d4dc8a3acd5f9d05ed6fec67994100f08cf0a9450d2, check communication with the pool, skipping this signage point, pool: http://127.0.0.1:5555

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
FazendaPoolcommented, Mar 24, 2022

yes, you can manually fix it by going to self-pooling and deleting unconfirmed transactions. But i had to delete the unconfirmed transactions more than once. ( and restarting once you’re in self-pool )

0reactions
scrutinouslycommented, Apr 7, 2022

@FazendaPool @scrutinously Actually it should recover itself but there is currently a retry interval of one hour for the GET /pool_info call. Did you try to wait a bit more than one hour before you restarted? Would be cool if you could confirm. Also i opened a PR to change the interval to 5 minutes see #11076.

Only one of the 7 people had it fix itself on its own, and that guy had chia running (effectively self pooling due to this issue) for over 10 days, then it suddenly stopped getting the pooling errors so we can assume was finally able to update the pool_info successfully on one of those 1 hour retries. 3 of those people were able to get it working again by utilizing the odd workaround identified by fazendapool, and 1 got it working by running the db upgrade (could just be coincidence and got a successful pool_info update after restarting?).

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Start a Farm: Beginning Farmers and Ranchers
Learn how USDA can help new farmers with a variety of programs and services like how to start a farm, farm loans, crop...
Read more >
Beginning Farmer Tax Credit
The Minnesota Beginning Farmer Tax Credit provides tax credits for the rent or sale of farm land or a variety of farm asse....
Read more >
Publication 225 (2022), Farmer's Tax Guide - IRS
New farm or farmland. Land not used for farming. Depreciable conservation assets. Water well. Endangered species recovery expenses. Assessment by Conservation ...
Read more >
Laws and Regulations that Apply to Your Agricultural ... - EPA
Livestock, Poultry and Aquaculture (including beef, dairy, swine, poultry, aquaculture). Topic, Type of Farm or Ranch Activity, Link to Program ...
Read more >
USDA Farm Service Agency Home Page
1, 2022. USDA's Farm Service Agency (FSA) loans provide important access to capital to help agricultural producers start or expand their farming operation, ......
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