eth2stats-client icon indicating copy to clipboard operation
eth2stats-client copied to clipboard

on teku, pre genesis, an error is thrown

Open tzapu opened this issue 5 years ago • 2 comments

Mai 26 10:21:19 ethnode-7451d4c7 eth2stats-client[21290]: time="2020-05-26T10:21:19+02:00" level=info msg="[core] getting beacon client version"
Mai 26 10:21:19 ethnode-7451d4c7 eth2stats-client[21290]: time="2020-05-26T10:21:19+02:00" level=info msg="[core] got beacon client version" version=teku/v0.11.3-dev-44d9e02a/linux-aarch_64/-ubuntu-
Mai 26 10:21:19 ethnode-7451d4c7 eth2stats-client[21290]: time="2020-05-26T10:21:19+02:00" level=info msg="[core] getting beacon client genesis time"
Mai 26 10:21:19 ethnode-7451d4c7 eth2stats-client[21290]: time="2020-05-26T10:21:19+02:00" level=error msg="[main] setting up: strconv.ParseInt: parsing "": invalid syntax"

it should be able to deal with this and retry until everything is ok

tzapu avatar May 26 '20 09:05 tzapu

looks like it cannot parse an empty genesis_time in https://github.com/Alethio/eth2stats-client/blob/master/beacon/teku/teku.go#L41 which is reported as long as teku hasn't found the genesis time yet.

torfbolt avatar May 26 '20 09:05 torfbolt

v0.0.10 should pass over this a little bit better

tzapu avatar May 26 '20 11:05 tzapu