You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting trustedcoin in an offline environment, it sometimes fails with:
error: bad response to getchaininfo (bad 'result' field: Parsing '{result:': object does not have member result), response was {"jsonrpc":"2.0","id":"cln:getchaininfo#15","error":{"code":20,"message":"failed to get tip: Get \"https://mempool.space/api/blocks/tip/height\": dial tcp: lookup mempool.space: no such host","data":null}}
This causes the clightning process to exit with a failure.
Hello,
The trustedcoin will try to get the current tip from all of the esploras. If all of the esploras are offline or trustedcoin can't reach them / DNS not working, it will return the error to CLN and CLN exits with a failure.
I think we could modify the code in a way it will loop over esploras "forever" until it succeeds or we get a shutdown from CLN.
What do you think should be a correct behavior in this case?
When starting trustedcoin in an offline environment, it sometimes fails with:
This causes the clightning process to exit with a failure.
cc @seberm
The text was updated successfully, but these errors were encountered: