-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generic: All chain service instances failed #983
Comments
We log the raw response on I think if the user would set this logger to the logs would include the raw response body. |
It seems that we are not checking the status code before attempting to deserialize the json. mempool space returns 404 for example for an not found transaction: We should only attempt to deserialize the json if we got 200 response. |
Digging a bit more it seems that there are several existing channels that their funding transactions are not found onchain: f135ed194147cd5f29f429b1561bc49a38755b222b3f2996a974c6ca5615a096 While we attempting to find their corresponding closing tx we are using this API: Which fails from the reason I mentioned above. |
LOG {"level": "TRACE", "line": "put; add idle connection for ("https", mempool.emzy.de)"}
LOG {"level": "DEBUG", "line": "pooling idle connection for ("https", mempool.emzy.de)"}
LOG {"level": "ERROR", "line": "Call to chain service https://mempool.emzy.de/api failed: error decoding response body: expected value at line 1 column 1"}
LOG {"level": "TRACE", "line": "client tx closed"}
LOG {"level": "TRACE", "line": "pool closed, canceling idle interval"}
LOG {"level": "TRACE", "line": "State::close_read()"}
LOG {"level": "TRACE", "line": "State::close_write()"}
LOG {"level": "TRACE", "line": "flushed({role=client}): State { reading: Closed, writing: Closed, keep_alive: Disabled }"}
LOG {"level": "TRACE", "line": "shut down IO complete"}
LOG Generic: All chain service instances failed
The text was updated successfully, but these errors were encountered: