-
Notifications
You must be signed in to change notification settings - Fork 733
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
RuntimeError: task group is closed, handling 'server.add_peer' #565
Comments
Was this at shutdown and/or at the same time as the other peers-related problem? |
If this was in the same run as the other one, it makes sense and is just fall-out from the other failure |
This was during normal operation. It got printed twice in the logs, and happened strictly before any occurence of #564 (by 1+ hour). I can't see any interesting log lines nearby. |
No other failure previously? Hmm, not sure then. I can handle these more robustly, the downside is they then don't get reported and the real bug stays unfixed... |
The only way I can see a see this happening @SomberNight is if the taskgroup here: electrumx/electrumx/server/peers.py Lines 389 to 395 in 9b22fd3
|
@SomberNight I've caused it to log the exceptions of failed tasks but continue; I think it means this won't happen any more; hopefully instead you'll get the real failure logged |
On commit 9b22fd3
The text was updated successfully, but these errors were encountered: