Closed freerko closed 2 years ago
The traceback is about an error during shutdown. Note however that it's not clear from your log why the server started to shutdown in the first place.
Regardless, re the traceback, the cause is that while the SessionManager
is stopping, Notifications
are still coming in from e.g. the mempool as mempool.keep_synchronized
is not yet cancelled at that point.
https://github.com/spesmilo/electrumx/blob/8198ab99603a7e74083b3569c15dad13850c721e/electrumx/server/session.py#L636-L648
https://github.com/spesmilo/electrumx/blob/8198ab99603a7e74083b3569c15dad13850c721e/electrumx/server/controller.py#L126-L134
Hi, I run ElectrumX on Ubuntu 20.04.4 with Python 3.8.10 and aiorpcX 0.22.1 with current electrumx master with IPv4, IPv6 and Tor connectivity. On one crash, I see SessionManager closing down servers, somehow connections still continue to go up and down in the next second and then get a traceback with an "RuntimeError: task group terminated".