[Pidgin] #8828: pidgin can't connect to SSL IRC server with authentication enabled without saved passwords

Pidgin trac at pidgin.im
Tue Mar 31 16:49:23 EDT 2009


#8828: pidgin can't connect to SSL IRC server with authentication enabled without
saved passwords
--------------------+-------------------------------------------------------
 Reporter:  kamath  |           Owner:  elb    
     Type:  defect  |          Status:  pending
Milestone:          |       Component:  IRC    
  Version:  2.5.5   |      Resolution:         
 Keywords:          |   Launchpad_bug:         
--------------------+-------------------------------------------------------
Changes (by kamath):

  * status:  pending => new


Comment:

 This is the relevant log information for the attempt at logging in
 *without* a password save (I.e., I just fired up pidgin and brought up the
 debug window as fast as I could.  It took a fair amount of time, and then
 this appeared).  Oddly, I do *NOT* get the "authentication denied"
 message. [Forgive some minor obfuscation of server name and IP address;
 the are correct in the unedited version]

 {{{
 (13:31:43) autorecon: do_signon called
 (13:31:43) autorecon: calling purple_account_connect
 (13:31:43) account: Connecting to account kamath at the.irc.server.com
 (13:31:43) connection: Connecting. gc = 0xf12d10
 (13:31:43) dns: DNS query for 'the.irc.server.com' queued
 (13:31:43) autorecon: done calling purple_account_connect
 (13:31:43) dns: Wait for DNS child 6785 failed: No child processes
 (13:31:43) dns: Created new DNS child 6790, there are now 1 children.
 (13:31:43) dns: Successfully sent DNS request to child 6790
 (13:31:43) dns: Got response for 'the.irc.server.com'
 (13:31:43) dnsquery: IP resolved for the.irc.server.com
 (13:31:43) proxy: Attempting connection to 192.168.1.1
 (13:31:43) proxy: Connecting to the.irc.server.com:6667 with no proxy
 (13:31:43) proxy: Connection in progress
 (13:31:43) proxy: Connecting to the.irc.server.com:6667.
 (13:31:43) nss: Handshake failed  (-5938)
 (13:31:43) account: Disconnecting account 0x9db4d0
 (13:31:43) connection: Disconnecting connection 0xf12d10
 (13:31:43) connection: Destroying connection 0xf12d10
 }}}

 So, on the first load of pidgin, I *always* get that message (Handshake
 failed).  However, the second time and on I don't have to wait so long.
 ;-)

 Now, if I quit pidgin, after saving my password, but leaving the account
 disabled, then start pidgin and try and enable the account, I get the
 following:

 {{{
 (13:38:55) account: Connecting to account kamath at the.irc.server.com
 (13:38:55) connection: Connecting. gc = 0xecc400
 (13:38:55) dns: DNS query for 'the.irc.server.com' queued
 (13:38:55) dns: Created new DNS child 6990, there are now 1 children.
 (13:38:55) dns: Successfully sent DNS request to child 6990
 (13:38:55) dns: Got response for 'the.irc.server.com'
 (13:38:55) dnsquery: IP resolved for the.irc.server.com
 (13:38:55) proxy: Attempting connection to 192.168.1.1
 (13:38:55) proxy: Connecting to the.irc.server.com:6667 with no proxy
 (13:38:55) proxy: Connection in progress
 (13:38:55) proxy: Connecting to the.irc.server.com:6667.
 (13:38:55) nss:
 subject=E=postmaster at dreamworks.com,CN=the.irc.server.com,OU=Our
 OU,O=DreamWorks Animation SKG Inc.,L=Glendale,ST=California,C=US
 issuer=E=postmaster at dreamworks.com,CN=the.irc.server.com,OU=Our
 OU,O=DreamWorks Animation SKG Inc.,L=Glendale,ST=California,C=US
 (13:38:55) certificate/x509/tls_cached: Starting verify for
 the.irc.server.com
 (13:38:55) certificate/x509/tls_cached: Checking for cached cert...
 (13:38:55) certificate/x509/tls_cached: ...Found cached cert
 (13:38:55) nss/x509: Loading certificate from
 /home/kamath/.purple/certificates/x509/tls_peers/the.irc.server.com
 (13:38:55) certificate/x509/tls_cached: Peer cert matched cached
 (13:38:55) certificate: Successfully verified certificate for
 the.irc.server.com
 (13:38:55) irc: Got a NOTICE on Auth, which does not exist
 (13:38:55) irc: Got a NOTICE on Auth, which does not exist
 (13:38:55) account: Disconnecting account 0x9da9b0
 (13:38:55) connection: Disconnecting connection 0xecc400
 (13:38:55) connection: Destroying connection 0xecc400
 }}}

 Thereafter, I get the "Handshake failed" message.

 The only difference when it *WORKS is that I get *four* "irc: Got a NOTICE
 on Auth, which does not exist" messages.  And then I'm logged in.  Go
 figger.

 If you'd like more log information, let me know.  I'm also happy to grab
 the source and compile it and/or run debug code.  Just let me know.

 Oh, BTW: When I save the password, restart pidgen, get the error message
 -- my password is removed from the account setting.  That doesn't seem
 right. :-(

-- 
Ticket URL: <http://developer.pidgin.im/ticket/8828#comment:3>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list