-
Notifications
You must be signed in to change notification settings - Fork 387
Server doesn't accept new connections after a while #132
Comments
this probably means that the ssl thread died. |
The last traceback was 5 days ago (and unrelated). |
|
electrum.bauerj.eu shows this behaviour again. Is there anything I can do to debug this? I'm not restarting it for now. |
How recent is the codebase you're running and how much RAM do you have in the server and free to use for electrum server? |
@EagleTM no, it's different. his ssl thread died. |
However I have at least one other server operator who runs with 16 gig and 512 MB swap and runs into this issue. I think it's one possible side effect of memory starvation. The others being std::bad_alloc crash or OOM killer |
OK it's independent of the RAM thing after all. It seems under some circumstances the ssl thread dies - pretty early after starting up it seems - while tcp and irc are still working. No idea how to debug for the time being. I'm suspecting openssl is acting up (some security bugfix possbily) |
Ignore my last comment. In this particular case it was an expired SSL certificate. |
Having the same issue. TCP or SSL stops accepting connections. SSL happened last night and TCP tonight. Checked traceback and no entries about anything stopping. |
I always seem to notice this issue, though personally I have looked in awhile, has there been a patch for this yet? |
Today I found my TCP unresponsive (although it appears to have been dead for about 23 hours). Here's what I've found so far.
I'll try to make some time to debug this. I don't quite understand a bit of what's going on in |
I have seen the same problem.
Nothing catches this exception so the whole thread dies. |
@shsmith good catch, I will have a look |
that's fixed in 7949a93 |
Found another unhandled exception that kills a thread:
Same as before, this one did not appear in the log but was sent to the console output. |
Yet another unhandled exception that kills the TCP thread:
|
This is the last SSL-connection message in the log:
It's
Tue 27 Oct 21:28:38 CET 2015
right now which means the server didn't receive a new connection for 12 hours.The server is still connected to irc and thus visible in the peer list.
When I try to connect from the client with SSL I get a "Not connected" message.
When I try to connect with TCP, the server accepts the connection but the client doesn't seem to sync.
electrum-server getinfo
still works and reports 171 open sessions.Connecting with
openssl_client
fails too:I can connect to the TCP port but I get no response:
The server imports blocks as expected. Restarting makes the server accept connections again.
The text was updated successfully, but these errors were encountered: