Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Farmer - PlofNFT goes to unrecoverable farming state (until restart) #10806

Closed
FazendaPool opened this issue Mar 19, 2022 · 6 comments
Closed
Assignees
Labels
bug Something isn't working Farming

Comments

@FazendaPool
Copy link
Contributor

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
@FazendaPool FazendaPool added the bug Something isn't working label Mar 19, 2022
@scrutinously
Copy link

Were you able to come up with any kind of workaround/fix for this?

@FazendaPool
Copy link
Contributor Author

FazendaPool commented 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 )

@scrutinously
Copy link

Just to add some more info, I've encountered 7 windows farmers running varying versions of 1.3.x that have had this issue happen on mainnet.

@xdustinface
Copy link
Contributor

@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.

@scrutinously
Copy link

@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?).

@emlowe
Copy link
Contributor

emlowe commented Jan 6, 2023

Numerous changes to the code here likely have changed this environment for this issue.
Closing issue, will reopen if there are further comments added

@emlowe emlowe closed this as completed Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Farming
Projects
None yet
Development

No branches or pull requests

5 participants