Greetings,
I have a user connected who attempts to connect to ngircd using IRCCloud, but she gets disconnected after about 60 seconds. Here is the error message I see in /var/log/messages:
Jan 26 04:37:57 irc1 ngircd[]: User "nick!uid15@9ec26277" unregistered (connection 87): Write error. Jan 26 04:38:26 irc1 ngircd[]: SSL protocol error: SSL_accept (error:140260FC:SSL routines:ACCEPT_SR_CLNT_HELLO:unknown protocol) Jan 26 04:38:26 irc1 ngircd[]: Client unregistered (connection 87): SSL accept error, closing socket. Jan 26 04:40:32 irc1 ngircd[]: User "nick!~uid15@9ec26277" registered (connection 87).
I am running ngIRCd 25~10-ge954b59d-CHARCONV+IDENT+IPv6+IRCPLUS+SSL+SYSLOG+ZLIB-x86_64/unknown/openbsd6.5
I can't see any further error logs on my side, so I was hoping one of the developers could contact #irccloud on freenode and speak with the lead developer jwheare. The user says she can't see any further error logs on her side. I am using OpenSSL, I think, on OpenBSD 6.5.
jrmu
Hi!
Am 26.01.2020 um 11:02 schrieb jrmu jrmu@ircnow.org:
I have a user connected who attempts to connect to ngircd using IRCCloud, but she gets disconnected after about 60 seconds. Here is the error message I see in /var/log/messages:
Jan 26 04:37:57 irc1 ngircd[]: User "nick!uid15@9ec26277" unregistered (connection 87): Write error. Jan 26 04:38:26 irc1 ngircd[]: SSL protocol error: SSL_accept (error:140260FC:SSL routines:ACCEPT_SR_CLNT_HELLO:unknown protocol) Jan 26 04:38:26 irc1 ngircd[]: Client unregistered (connection 87): SSL accept error, closing socket. Jan 26 04:40:32 irc1 ngircd[]: User "nick!~uid15@9ec26277" registered (connection 87).
Hm … "ACCEPT_SR_CLNT_HELLO:unknown protocol" sounds like the peer isn't using a SSL connection, but sends plain text (or even garbage), at least something your SSL library can't handle.
Regards Alex
The client is definitely using SSL because it works on all other networks on port 6697, and I ensured that the SSL checkmark was selected.
Is there any way for you to join #irccloud on freenode and speak with jwheare? I will be available for debugging.
jrmu
On Sun, Jan 26, 2020 at 10:29:08PM +0100, Alexander Barton wrote:
Hi!
Am 26.01.2020 um 11:02 schrieb jrmu jrmu@ircnow.org:
I have a user connected who attempts to connect to ngircd using IRCCloud, but she gets disconnected after about 60 seconds. Here is the error message I see in /var/log/messages:
Jan 26 04:37:57 irc1 ngircd[]: User "nick!uid15@9ec26277" unregistered (connection 87): Write error. Jan 26 04:38:26 irc1 ngircd[]: SSL protocol error: SSL_accept (error:140260FC:SSL routines:ACCEPT_SR_CLNT_HELLO:unknown protocol) Jan 26 04:38:26 irc1 ngircd[]: Client unregistered (connection 87): SSL accept error, closing socket. Jan 26 04:40:32 irc1 ngircd[]: User "nick!~uid15@9ec26277" registered (connection 87).
Hm … "ACCEPT_SR_CLNT_HELLO:unknown protocol" sounds like the peer isn't using a SSL connection, but sends plain text (or even garbage), at least something your SSL library can't handle.
Regards Alex