Open RobQuistNL opened 1 year ago
Are there any missing logs? Are your lotus and lotus-miner on the same machine?
I might be on to something here, the winningpostworker seems to hang at
{"level":"info","ts":"2023-02-19T22:27:11.215+0000","logger":"bellperson::groth16::prover","caller":"/home/lotus/.cargo/registry/src/github.com-1ecc6299db9ec823/bellperson-0.22.0/src/groth16/prover.rs:668","msg":"starting proof timer"}
when I restarted this winningpost worker, the block messages started coming through again:
{"level":"error","ts":"2023-02-20T10:45:03.086Z","logger":"miner","caller":"miner/miner.go:474","msg":"completed mineOne","tookMilliseconds":44272753,"forRound":2617975,"baseEpoch":2617974,"baseDeltaSeconds":10,"nullRounds":0,"lateStart":false,"beaconEpoch":2713820,"lookbackEpochs":900,"networkPowerAtLookback":"21747599217924407296","minerPowerAtLookback":"xxx","isEligible":true,"isWinner":true,"error":"failed to compute winning post proof: RPC client error: sendRequest failed: Post \"http://xxxx:45801/rpc/v0\": EOF","errorVerbose":"failed to compute winning post proof:\n github.com/filecoin-project/lotus/miner.(*Miner).mineOne\n /home/lotus/lotus/miner/miner.go:544\n - RPC client error: sendRequest failed: Post \"http://xxxx:45801/rpc/v0\": EOF"}
{"level":"info","ts":"2023-02-20T10:45:10.034Z","logger":"miner","caller":"miner/miner.go:478","msg":"completed mineOne","tookMilliseconds":6,"forRound":2619451,"baseEpoch":2619450,"baseDeltaSeconds":10,"nullRounds":0,"lateStart":false,"beaconEpoch":2715296,"lookbackEpochs":900,"networkPowerAtLookback":"21760063759690235904","minerPowerAtLookback":"xxx","isEligible":true,"isWinner":false,"error":null}
You have to check the environment first, why EOF? Is there an additional proxy configured somewhere? No valid conclusions can be drawn from this information.
No, the winningpost service hangs at that very line (that is the last line in the logs). When restarting it, the EOF comes through (because the connection gets terminated, because the service got restarted)
Checklist
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.Lotus component
Lotus Version
Describe the Bug
Every once in a while a miner will "lose" its connection to the deamon - the mineOne message stops appearing in the miner log, and this also means the miner will never mine a block from there again, until the miner is restarted.
Logging Information
Repo Steps