nimbus-eth2 icon indicating copy to clipboard operation
nimbus-eth2 copied to clipboard

Unhelpful error message in EL monitoring

Open arnetheduck opened this issue 2 years ago • 1 comments

Whenever something goes wrong with the EL, the following log line is printed:

WRN 2023-05-05 08:55:52.726+00:00 Eth1 chain monitoring failure, restarting  topics="eth1" err="getBlockByHash(m.dataProvider,\n               BlockHash(m.depositsChain.finalizedBlockHash.data)) failed 3 times. Last error: Parameter [result] expected JObject but got JNull"

Rather than printing the parsing failure, a sanitized (ie ascii-only?) version of the first few hundred bytes of the actual response would be more useful to see here.

arnetheduck avatar May 05 '23 08:05 arnetheduck

Still relevant in 22.5.1 (err still missing underlying response):

WRN 2023-05-23 10:45:17.274+02:00 Still failing to obtain the most recent known block from the execution layer node (the node is probably still not synced) topics="elmon" url=http://brevis:8551 blk=0xa21361d0423cc888e1269e52ab4d4256595f2303949cf384a9c8b35bf44acb8d err="Parameter [result] expected JObject but got JNull"

arnetheduck avatar May 23 '23 08:05 arnetheduck