Aimeedeer / realtps

https://realtps.net
MIT License
93 stars 25 forks source link

Broken error handling for karura #64

Open brson opened 1 year ago

brson commented 1 year ago

In the logs I see:

log/realtps-import.5.log:2022-10-31T11:49:48.719739180+00:00 INFO realtps_import::import - importing at least 3 blocks for chain karura
log/realtps-import.5.log:2022-10-31T11:49:48.719747368+00:00 DEBUG realtps_import::helpers - fetching block 2965699 for chain karura
log/realtps-import.5.log:2022-10-31T11:49:49.063628198+00:00 WARN realtps_import::delay - for chain karura received err connection error: Connection reset by peer (os error 104). retrying in 500 ms
log/realtps-import.5.log:2022-10-31T11:49:50.208977603+00:00 WARN realtps_import::delay - for chain karura received err error trying to connect: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed:../ssl/statem/statem_clnt.c:1913: (self signed certificate). retrying in 1000 ms

And then "karura" is never mentioned again. I expect to see a third error printed by the top-level job runner, and then the job to be retried.

I see this error handling working for other chains, so I can't understand what is happening offhand.

brson commented 1 year ago

I wonder if this task panicked.