Open thevops opened 1 year ago
Similar situation with log:
WARN keep-electrum electrum/electrum.go:795 connection to electrum server is down; reconnecting...
It happens from time to time, but regularly, and after it occurs immediately occurs also:
INFO keep-electrum electrum/electrum.go:800 reconnected to electrum server
I think, that the first log should also have INFO severity.
Thank you for the report! We will take a closer look at the log messages you mentioned.
For the couldn't find unmarshaler for type
logs we have a separate issue https://github.com/keep-network/keep-core/issues/3611.
Another log that probably can be decreased to warning:
{"level":"error","ts":"2023-08-30T11:33:26.063Z","logger":"keep-clientinfo","caller":"clientinfo/clientinfo.go:62","msg":"could not write response: [write tcp 10.35.0.99:9614->10.35.0.1:35976: write: broken pipe]"}
or with slightly different message
could not write response: [write tcp 10.35.0.103:9608->10.35.0.1:34080: write: connection reset by peer]
Version:
keep-client version v2.0.0-m3 (revision cdddee4b0)
Keep-client sometimes logs several error logs, which does not seem to have much impact. Could you verify if they have proper severity? Many of them occur just once, which looks to me like there is a retry mechanism. If so, then maybe it'd be worth logging an error message only when all retries fail. This is just my guess.
A few examples
ERROR keep-contract-WalletCoordinator contract/WalletCoordinator.go:3499 subscription failed to pull events: [error retrieving past HeartbeatRequestSubmitted events: [Internal server error]]
context
ERROR keep-contract-WalletRegistry contract/WalletRegistry.go:7401 subscription failed to pull events: [error retrieving past DkgResultSubmitted events: [Internal server error]]
context
ERROR keep-contract-WalletCoordinator contract/WalletCoordinator.go:3550 subscription to event HeartbeatRequestSubmitted failed with error: [read tcp IP_ADDRESS:38014->IP_ADDRESS:443: i/o timeout]; resubscription attempt will be performed and ERROR keep-contract-WalletRegistry contract/WalletRegistry.go:7455 subscription to event DkgResultSubmitted failed with error: [read tcp IP_ADDRESS:33310->IP_ADDRESS:443: i/o timeout]; resubscription attempt will be performed
context
These are all error logs since 2023-05-15
These can be skipped, because they are related to the poor blockstream server issue:
I replaced IP addresses and all 0xaaaa strings from the logs. If you need them, let me know.