mainGnuTLS - Support: sr #107954, Fails to connect to...

 
 

sr #107954: Fails to connect to irc.chatspike.net:6697: Handshake has failed

Submitter:  Sebastien Helleu <flashcode>
Submitted:  Sat 11 Feb 2012 09:29:13 AM UTC
   
 
Category:  Core library Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  nmav
Open/Closed:  Closed Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 11 Feb 2012 10:13:29 AM UTC, comment #2: 

Thank you, now it's working in WeeChat by forcing priority, using the string in your link.

Sebastien Helleu <flashcode>
Sat 11 Feb 2012 09:48:13 AM UTC, comment #1: 

Hello,
 I tried gnutls-cli-debug, and didn't show anything curious. However by trying each protocol version separately I noticed that this server breaks if it sees TLS 1.2. If you disable it you'll be able to connect fine.

http://www.gnu.org/software/gnutls/manual/html_node/Interoperability.html


Nikos Mavrogiannopoulos <nmav>
Group administrator
Sat 11 Feb 2012 09:29:13 AM UTC, original submission:  

Hi,

I'm author of WeeChat, an IRC client.
I have a problem connecting to server irc.chatspike.net:6697 in WeeChat, so I tried with gnutls-cli and have same problem, here is the output of command:


$ gnutls-cli -v
gnutls-cli (GnuTLS) 3.0.12
Packaged by Debian (3.0.12-2)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Nikos Mavrogiannopoulos.

$ gnutls-cli -d 2 -p 6697 irc.chatspike.net
|<2>| ASSERT: pkcs11.c:453
Resolving 'irc.chatspike.net'...
Connecting to '208.68.94.168:6697'...
|<2>| ASSERT: gnutls_constate.c:716
|<2>| ASSERT: gnutls_buffers.c:958
|<2>| ASSERT: gnutls_buffers.c:473
|<2>| ASSERT: gnutls_buffers.c:473
|<2>| ASSERT: gnutls_record.c:954
|<2>| ASSERT: gnutls_buffers.c:1171
|<2>| ASSERT: gnutls_handshake.c:1272
|<2>| ASSERT: gnutls_handshake.c:2483
*** Fatal error: The TLS connection was non-properly terminated.
*** Handshake has failed
GnuTLS error: The TLS connection was non-properly terminated.


I tried openssl, the connection is ok with this command:


$ openssl s_client -connect irc.chatspike.net:6697


Thank you for your help.

Sebastien Helleu <flashcode>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nmav (Posted a comment)
  • -email is unavailable- added by flashcode (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-24 nmav StatusNone Done
        Assigned toNone nmav
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code