Project

General

Profile

The TLS connection was non-properly terminated [Resolved]

Added by Bob Ross 10 days ago

Having an issue with frequent (1-2 times an hour) disconnect/reconnect events with one specific IRCd. This is the Error/Quit message other IRC users see:

REDACTED has quit IRC (The TLS connection was non-properly terminated.)

Windows 10 x64 Build 17134
AdiIRC Version 3.2 64 Bit
Installed Scripts:
; Hackjob full-palette Random Nick Color script for AdiIRC
; Version 1.2 - Fork v0.1.9 by Pereba

Rawlog

-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - SocketWrite error: The Write method cannot be called when another write operation is pending.
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - OnError called Error = WriteError (Write error)
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - AutoReconnect enabled
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - AutoReconnect: 0 <= 999995
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - AutoReconnect: disconnecting
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - Disconnect called True
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - Disconnect step0 done
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - Disconnect step1 done
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - Disconnect step2 done
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - ConnectThread Stop() called
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - ReadThread Stop() called
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - WriteThread Stop() called
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - PingThread Stop() called
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - Disconnect step3 done
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - SocketRead error: Cannot access a disposed object.Object name: 'SslStream'.
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - Disconnect step4 done
-> 2018-10-09 8:35:43 AM - irc.REDACTED.com - Queueing reconnect in 5 seconds
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - Connect called
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - Connect called and working
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop started
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop looking up irc.REDACTED.com
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - OnLookingUp called
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop lookup host OK
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - OnConnecting called
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop init socket
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop Starting Pingthread
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop Pingthread started
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop starting socket connection to RE.DACTED.IP:7000
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop socket connected
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop Connection is IPv4
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - ConnectLoop starting SSL stream connection
-> 2018-10-09 8:35:48 AM - irc.REDACTED.com - SSL remote certificate verify OK (auto)
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - Connection is secure (Aes256 - Sha384 - Tls12)
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - ConnectLoop SSL stream connected
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - ConnectLoop Starting Readthread
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - ConnectLoop Readthread started
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - ConnectLoop Starting Writethread
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - ConnectLoop Writethread started
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - OnConnected called
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - OnConnected running
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - OnConnected server = ok, sent login info
-> 2018-10-09 8:35:49 AM - irc.REDACTED.com - YOU ARE 100% CONNECTED
-> 2018-10-09 8:35:55 AM - irc.REDACTED.com - Performing auto commands
-> 2018-10-09 8:35:55 AM - irc.REDACTED.com - Joining 1 open channels, 0 favorite channels, 0 auto channels

Any ideas?


Replies (4)

RE: The TLS connection was non-properly terminated - Added by Bob Ross 3 days ago

Upgrading to the latest beta (3.3 Beta Build 2018/10/14) 64 bit solved this issue.

RE: The TLS connection was non-properly terminated [Resolved] - Added by Per Amundsen 3 days ago

Sorry, did not get a notification about this post, "SocketWrite error" are typically caused by either problems on the remote server or by network problems between you and the server.

There was no changes in 3.3 which could fix that, since such problems are caused by AdiIRC.

RE: The TLS connection was non-properly terminated [Resolved] - Added by Bob Ross 3 days ago

Well, updating to the latest beta fixed the issue for me and another user. Why it did, I don't know.

    (1-4/4)