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

Terminal freezes - (lotus-miner actor withdraw) Receipt hang. #7445

Closed
9 of 18 tasks
Reiers opened this issue Oct 4, 2021 · 8 comments · Fixed by #7483
Closed
9 of 18 tasks

Terminal freezes - (lotus-miner actor withdraw) Receipt hang. #7445

Reiers opened this issue Oct 4, 2021 · 8 comments · Fixed by #7483
Labels
dif/easy An existing lotus user should be able to pick this up good first issue Good for newcomers kind/bug Kind: Bug P1 P1: Must be resolved tribute

Comments

@Reiers
Copy link

Reiers commented Oct 4, 2021

Checklist

  • This is not a security-related bug/issue. If it is, please follow please follow the security policy.
  • This is not a question or a support request. If you have any lotus related questions, please ask in the lotus forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to lotus.

Lotus component

  • lotus daemon - chain sync
  • lotus miner - mining and block production
  • lotus miner/worker - sealing
  • lotus miner - proving(WindowPoSt)
  • lotus miner/market - storage deal
  • lotus miner/market - retrieval deal
  • lotus miner/market - data transfer
  • lotus client
  • lotus JSON-RPC API
  • lotus message management (mpool)
  • Other

Lotus Version

tag: ride-or-die
Daemon:  1.13.0-rc1+mainnet+git.602aedc3d+api1.4.0
Local: lotus version 1.13.0-rc1+mainnet+git.602aedc3d

Describe the Bug

Receipt hang

Terminal freezes/hangs if you enter:
lotus-miner actor withdraw <amount>

It will still show:
Requested rewards withdrawal in message bafy.......
and the reward will be transferred.

After that it just hangs/freezes, you need to either kill the terminal or wait ( ~10min) and it will give you a ERROR: EOF.

Logging Information

ERROR: EOF

Repo Steps

lotus-miner actor withdraw 1
........

@jennijuju jennijuju added good first issue Good for newcomers P2 P2: Should be resolved dif/easy An existing lotus user should be able to pick this up tribute and removed need/triage labels Oct 4, 2021
@benjaminh83
Copy link

I'm seeing the same on rc2:

~$ lotus-miner actor withdraw xxx
Requested rewards withdrawal in message bafy2bzaceaz5abhm247.....

and nothing. No return of cmd

Nothing in the miner or daemon log.

Version:

$ lotus version
Daemon:  1.13.0-rc2+mainnet+git.530011fd0+api1.4.0
Local: lotus version 1.13.0-rc2+mainnet+git.530011fd0

@kenshyx
Copy link
Contributor

kenshyx commented Oct 7, 2021

This happens also for

Daemon:  1.13.0-rc2+mainnet+git.530011fd0+api1.2.0
Local: lotus-miner version 1.13.0-rc2+mainnet+git.530011fd0

@f8-ptrk
Copy link
Contributor

f8-ptrk commented Oct 7, 2021

must have been implemented after 1.11.1-rc2, just tested it there, both client and daemon. returns normally

@TippyFlitsUK
Copy link
Contributor

Same here...

Daemon:  1.13.0-rc2+mainnet+git.530011fd0+api1.2.0
Local: lotus-miner version 1.13.0-rc2+mainnet+git.530011fd0

@benjaminh83
Copy link

But funds are withdrawn correctly, so it just forgot to return when done.

Normal transfers: lotus send --from=xxx xxx x works fine.

@arajasek
Copy link
Contributor

arajasek commented Oct 7, 2021

Thanks for the issue!

The default confidence this command waits for is 5 epochs, which is 2.5 minutes (plus however long it takes to land on chain). Are you folks noticing it hang for longer than that? Also note:

  1. The confidence is configurable (--confidence)
  2. @f8-ptrk is correct that this is a recent change new to 1.12.0

@kenshyx
Copy link
Contributor

kenshyx commented Oct 8, 2021

This exited with EOF for me in the end, I waited more than 2.5m

@WillTechMusing
Copy link

upgraded to 1.13.0-rc2, ran into issue with the lotus-miner actor withdraw. It took about 4-5 minutes to error out:

$ lotus-miner actor withdraw 51
Requested rewards withdrawal in message bafy2bzacec3svc7u6yfczqzesqvaj2tcvtvrj6rdnatjir3fyehbdljguoqcy

ERROR: EOF

Even it said ERROR but actually the fund still got withdraw successfully.

@jennijuju jennijuju added P1 P1: Must be resolved and removed P2 P2: Should be resolved labels Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dif/easy An existing lotus user should be able to pick this up good first issue Good for newcomers kind/bug Kind: Bug P1 P1: Must be resolved tribute
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants