taskWeeChat - Tasks: task #12451, In case of connection errors, more...

 
 

task #12451: In case of connection errors, more info (IP for instance) should be returned

Submitter:  Filip H.F. "FiXato" Slagter <fixato>
Submitted:  Sat 26 Jan 2013 06:26:55 AM UTC
   
 
Category:  irc plugin Should Start On:  Sat 26 Jan 2013 12:00:00 AM UTC
Should be Finished on:  Sat 26 Jan 2013 12:00:00 AM UTC Priority:  * 5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Percent Complete:  0%
Originator Name:  Open/Closed:  Open
Planned Release:  None IRC nick:  FiXato
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 26 Jan 2013 06:26:55 AM UTC, original submission:  

When connecting to an IRC server fails, the information returned at the moment is rather limited. For instance when the connection is refused:

260536  -- irc: connecting to server irc.esper.net/6697 (SSL)...
260536 =!= irc: connection refused


Or when the SSL cert is rejected:

260538  -- irc: connecting to server irc.esper.net/6697 (SSL)...
260538  -- gnutls: connected using 2048-bit Diffie-Hellman shared secret exchange
260538 =!= gnutls: peer's certificate is NOT trusted
260538 =!= gnutls: peer's certificate issuer is unknown
260538  -- gnutls: receiving 1 certificate
260538  --  - certificate[1] info:
260538  --    - subject `C=GB,ST=England,L=London,O=EsperNet,OU=aperture.esper.net,CN=*.esper.net,EMAIL=support@esper.net', issuer `C=GB,ST=England,L=London,O=EsperNet,OU=aperture.esper.net,CN=*.esper.net,EMAIL=support@esper.net', RSA key 2048 bits, signed using RSA-SHA1, activated `2011-03-23 21:46:23 UTC', expires `2021-03-20 21:46:23 UTC', SHA-1 fingerprint `72c0e8bd51e5a88edd3fc3582773a353362c1310'
260539 =!= irc: TLS handshake failed
260539 =!= irc: error: A TLS packet with unexpected length was received.
260539  -- irc: reconnecting to server in 1 minute, 20 seconds


Imho it would be useful if at least the IP to which WeeChat attempted to connect was shown, so it would make it easier for me to debug if the connection failure was something on my end, or on the end of the IRC server (in which case I could contact the network's administrators for further support).
Especially when connecting to DNS based round robins this would be useful, as currently it is impossible to know to which of the servers WeeChat is connecting unless the connection is successul.

Filip H.F. "FiXato" Slagter <fixato>

 

(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 fixato (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code