weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [task #12451] In case of connection errors, more info (IP


From: Filip H.F.
Subject: [Weechat-dev] [task #12451] In case of connection errors, more info (IP for instance) should be returned
Date: Sat, 26 Jan 2013 06:26:58 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.1 Safari/537.11

URL:
  <http://savannah.nongnu.org/task/?12451>

                 Summary: In case of connection errors, more info (IP for
instance) should be returned
                 Project: WeeChat
            Submitted by: fixato
            Submitted on: Sat 26 Jan 2013 06:26:55 GMT
                Category: irc plugin
         Should Start On: Sat 26 Jan 2013 00:00:00 GMT
   Should be Finished on: Sat 26 Jan 2013 00:00:00 GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: FiXato

    _______________________________________________________

Details:

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,address@hidden',
issuer
`C=GB,ST=England,L=London,O=EsperNet,OU=aperture.esper.net,CN=*.esper.net,address@hidden',
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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12451>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]