circ icon indicating copy to clipboard operation
circ copied to clipboard

Occasional SSL errors causing disconnects

Open vendion opened this issue 11 years ago • 4 comments

Quick run down of my setup in case this matters here: I have CIRC connecting to ZNC over a SSL connection on a private server, which in turn connects to Freenode. When CIRC has been connected for a while (sometimes only a matter of hours) I realize that I am no longer connected to my ZNC server and when I go to see what happened I see the following error:

Socket Error: tlsError: Could not decrypt record or bad MAC

I'm at a loss because the MAC on my server nor my desktop/laptops/chromebooks are changing, and my ZNC server is running a valid certificate.

I'm also not sure if my issue is related to either #316 or #312 (maybe others I wasn't able to find any). If this is feel free to close out this issue.

vendion avatar Jul 29 '14 10:07 vendion

I'm getting regular disconnects when using SSL as well.

In CIRC it showa up as: Socket Error: Invalid write on socket, code: -15.

I had the inspector attached when it happened last time, and here's what's in the console, in case it's helpful:

Error in event handler for sockets.tcp.onReceiveError: info is not defined Stack trace: ReferenceError: info is not defined at window.net.SslSocket.SslSocket.onReceiveError (chrome-extension://bebigdkelppomhhjaaianniiifjbgocn/bin/net/ssl_socket.js:186:9) at EventImpl.dispatchToListener (extensions::event_bindings:397:22) at Event.publicClass.(anonymous function) as dispatchToListener at EventImpl.dispatch (extensions::event_bindings:379:35) at dispatchArgs (extensions::event_bindings:247:26) at dispatchEvent (extensions::event_bindings:256:7) extensions::uncaught_exception_handler:9 handler extensions::uncaught_exception_handler:9 exports.handle extensions::uncaught_exception_handler:15 EventImpl.dispatch_ extensions::event_bindings:384 dispatchArgs extensions::event_bindings:247 dispatchEvent extensions::event_bindings:256

Error in response to sockets.tcp.connect: Error: Event 'sockets.tcp.onReceive' is already attached. at Object.callback (chrome-extension://bebigdkelppomhhjaaianniiifjbgocn/bin/net/ssl_socket.js:51:28)

pimanttr avatar Aug 20 '14 23:08 pimanttr

I get those errors too occasionally.

thonixx avatar Nov 06 '14 14:11 thonixx

Me too.

mk2soldier avatar Feb 17 '15 22:02 mk2soldier

This happens to me right after connecting to ZNC and receiving motd, making CIRC completely unusable. Desktop clients don't have any issues connecting to the same instance with the same credentials.

imax9000 avatar Feb 25 '15 06:02 imax9000