[Pidgin] #3552: When password isn't saved, logging into certain XMPP servers fails with 401 Unauthorized

Pidgin trac at pidgin.im
Sun Oct 14 13:42:35 EDT 2007


#3552: When password isn't saved, logging into certain XMPP servers fails with 401
Unauthorized
-------------------+--------------------------------------------------------
Reporter:  ari     |       Owner:  nwalp
    Type:  defect  |      Status:  new  
Priority:  minor   |   Component:  XMPP 
 Version:  2.2.1   |    Keywords:       
 Pending:  0       |  
-------------------+--------------------------------------------------------
 From Debian bug report http://bugs.debian.org/446365:

 When logging into XMPP server jabber.gda.pl and manually entering the
 correct password, the connection fails with:
 "401: Unauthorized

 Pidgin will not attempt to reconnect the account
 until you correct the error and re-enable the account."

 This doesn't happen if the password is saved in the account settings.
 Pidgin is built with NSS and Cyrus-SASL, but that doesn't look like it
 matters in this case.

 Debug log of the session:

 {{{
 (09:42:53) prefs: Reading /home/bartek/.purple/prefs.xml
 (09:42:53) prefs: Finished reading /home/bartek/.purple/prefs.xml
 (09:42:53) dbus: okkk
 (09:42:53) plugins: probing /usr/lib/pidgin/history.so
 (09:42:53) plugins: probing /usr/lib/pidgin/notify.so
 (09:42:53) plugins: probing /usr/lib/pidgin/musicmessaging.so
 (09:42:53) plugins: probing /usr/lib/pidgin/spellchk.so
 (09:42:53) plugins: probing /usr/lib/pidgin/gtkbuddynote.so
 (09:42:53) plugins: probing /usr/lib/pidgin/gestures.so
 (09:42:53) plugins: probing /usr/lib/pidgin/iconaway.so
 (09:42:53) plugins: probing /usr/lib/pidgin/timestamp.so
 (09:42:53) plugins: probing /usr/lib/pidgin/pidginrc.so
 (09:42:53) plugins: probing /usr/lib/pidgin/gevolution.so
 (09:42:53) plugins: /usr/lib/pidgin/gevolution.so is not loadable:
 libedata-book-1.2.so.2: nie można otworzyć pliku obiektu dzielonego: Nie
 ma takiego pliku ani katalogu
 (09:42:53) plugins: probing /usr/lib/pidgin/convcolors.so
 (09:42:53) plugins: probing /usr/lib/pidgin/xmppconsole.so
 (09:42:53) plugins: probing /usr/lib/pidgin/extplacement.so
 (09:42:53) plugins: probing /usr/lib/pidgin/markerline.so
 (09:42:53) plugins: probing /usr/lib/pidgin/ticker.so
 (09:42:53) plugins: probing /usr/lib/pidgin/timestamp_format.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libxmpp.so
 (09:42:53) util: Reading file xmpp-caps.xml from directory
 /home/bartek/.purple
 (09:42:53) plugins: probing /usr/lib/purple-2/offlinemsg.so
 (09:42:53) plugins: probing /usr/lib/purple-2/newline.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libyahoo.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libsametime.so
 (09:42:53) plugins: /usr/lib/purple-2/libsametime.so has a prefs_info, but
 is a prpl. This is no longer supported.
 (09:42:53) plugins: probing /usr/lib/purple-2/psychic.so
 (09:42:53) plugins: probing /usr/lib/purple-2/idle.so
 (09:42:53) plugins: probing /usr/lib/purple-2/log_reader.so
 (09:42:53) plugins: probing /usr/lib/purple-2/ssl.so
 (09:42:53) plugins: probing /usr/lib/purple-2/dbus-example.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libmsn.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libicq.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libgg.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libirc.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libmyspace.so
 (09:42:53) plugins: probing /usr/lib/purple-2/liboscar.so
 (09:42:53) plugins: /usr/lib/purple-2/liboscar.so is not usable because
 the 'purple_init_plugin' symbol could not be found.  Does the plugin call
 the PURPLE_INIT_PLUGIN() macro?
 (09:42:53) plugins: probing /usr/lib/purple-2/libsimple.so
 (09:42:53) plugins: probing /usr/lib/purple-2/tcl.so
 (09:42:53) plugins: probing /usr/lib/purple-2/perl.so
 (09:42:53) plugins: probing /usr/lib/purple-2/ssl-nss.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libbonjour.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libjabber.so
 (09:42:53) plugins: /usr/lib/purple-2/libjabber.so is not usable because
 the 'purple_init_plugin' symbol could not be found.  Does the plugin call
 the PURPLE_INIT_PLUGIN() macro?
 (09:42:53) plugins: probing /usr/lib/purple-2/statenotify.so
 (09:42:53) plugins: probing /usr/lib/purple-2/joinpart.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libqq.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libnovell.so
 (09:42:53) plugins: probing /usr/lib/purple-2/buddynote.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libaim.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libzephyr.so
 (09:42:53) plugins: probing /usr/lib/purple-2/autoaccept.so
 (09:42:53) plugins: probing /usr/lib/purple-2/ssl-gnutls.so
 (09:42:53) plugins: probing /usr/lib/purple-2/libsilcpurple.so
 (09:42:53) prefs: /purple/status/scores/offline changed, scheduling save.
 (09:42:53) prefs: /purple/status/scores/available changed, scheduling
 save.
 (09:42:53) prefs: /purple/status/scores/invisible changed, scheduling
 save.
 (09:42:53) prefs: /purple/status/scores/away changed, scheduling save.
 (09:42:53) prefs: /purple/status/scores/extended_away changed, scheduling
 save.
 (09:42:53) prefs: /purple/status/scores/idle changed, scheduling save.
 (09:42:53) prefs: /purple/status/scores/offline_msg changed, scheduling
 save.
 (09:42:53) util: Reading file accounts.xml from directory
 /home/bartek/.purple
 (09:42:53) util: Reading file status.xml from directory
 /home/bartek/.purple
 (09:42:53) certificate: CertificateVerifier x509, singleuse requested but
 not found.
 (09:42:53) certificate: CertificateVerifier singleuse registered
 (09:42:53) certificate: CertificatePool x509, ca requested but not found.
 (09:42:53) certificate: CertificateScheme x509 requested but not found.
 (09:42:53) certificate/x509/ca: Lazy init failed because an X.509 Scheme
 is not yet registered. Maybe it will be better later.
 (09:42:53) certificate/x509/ca: Init failed, probably because a dependency
 is not yet registered. It has been deferred to later.
 (09:42:53) certificate: CertificatePool ca registered
 (09:42:53) certificate: CertificatePool x509, tls_peers requested but not
 found.
 (09:42:53) certificate: CertificatePool tls_peers registered
 (09:42:53) certificate: CertificateVerifier x509, tls_cached requested but
 not found.
 (09:42:53) certificate: CertificateVerifier tls_cached registered
 (09:42:53) prefs: /purple/logging/format changed, scheduling save.
 (09:42:53) prefs: /purple/logging/format changed, scheduling save.
 (09:42:53) prefs: /purple/proxy/type changed, scheduling save.
 (09:42:53) prefs: /purple/proxy/host changed, scheduling save.
 (09:42:53) prefs: /purple/proxy/port changed, scheduling save.
 (09:42:53) prefs: /purple/proxy/username changed, scheduling save.
 (09:42:53) prefs: /purple/proxy/password changed, scheduling save.
 (09:42:53) certificate: CertificateScheme x509 requested but not found.
 (09:42:53) certificate: CertificateScheme x509 registered
 (09:42:53) stun: using server
 (09:42:53) sound: Initializing sound output drivers.
 (09:42:53) prefs: /pidgin/conversations/placement changed, scheduling
 save.
 (09:42:53) prefs: purple_prefs_connect_callback: Unknown pref
 /pidgin/conversations/im/show_protocol_icons
 (09:42:53) gtkblist: added visibility manager: 1
 (09:42:53) docklet: created
 (09:42:53) util: Reading file blist.xml from directory
 /home/bartek/.purple
 (09:42:53) pounce: Error reading pounces: Failed to open file
 '/home/bartek/.purple/pounces.xml': Nie ma takiego pliku ani katalogu
 (09:42:53) Session Management: No SESSION_MANAGER found, aborting.
 (09:42:54) dbus: Need to register an object with the dbus subsystem. (If
 you are not a developer, please ignore this message.)
 (09:42:54) dbus: The signal "gtkblist-hiding" caused some dbus error. (If
 you are not a developer, please ignore this message.)
 (09:42:54) account: Connecting to account elwis at jabber.gda.pl/dom
 (09:42:54) connection: Connecting. gc = 0x8659e38
 (09:42:54) dnssrv: querying SRV record for _xmpp-client._tcp.jabber.gda.pl
 (09:42:54) util: requested to fetch
 (http://192.168.1.254:1900/rtdevdsc.xml), full=1, user_agent=((null)),
 http11=1
 (09:42:54) dns: DNS query for '192.168.1.254' queued
 (09:42:54) dns: Created new DNS child 2758, there are now 1 children.
 (09:42:54) dns: Successfully sent DNS request to child 2758
 (09:42:54) docklet: embedded
 (09:42:54) dnssrv: found 0 SRV entries
 (09:42:54) dns: DNS query for 'jabber.gda.pl' queued
 (09:42:54) dns: Got response for '192.168.1.254'
 (09:42:54) dnsquery: IP resolved for 192.168.1.254
 (09:42:54) proxy: Attempting connection to 192.168.1.254
 (09:42:54) proxy: Connecting to 192.168.1.254:1900 with no proxy
 (09:42:54) proxy: Connection in progress
 (09:42:54) dns: Created new DNS child 2759, there are now 1 children.
 (09:42:54) dns: Successfully sent DNS request to child 2759
 (09:42:54) proxy: Connected to 192.168.1.254:1900.
 (09:42:54) util: Request: 'GET /rtdevdsc.xml HTTP/1.1
 Connection: close
 Host: 192.168.1.254:1900

 '
 (09:42:54) util: Response headers: 'HTTP/1.0 200 OK
 Content-type: text/xml
 Server: GIGABYTE-UPnP-Server/1.0 UPnP/1.0
 Expires: 0

 '
 (09:42:54) util: requested to fetch (http://192.168.1.254:1900/WANIPConn),
 full=0, user_agent=((null)), http11=1
 (09:42:54) dns: DNS query for '192.168.1.254' queued
 (09:42:54) dns: DNS query for '192.168.1.254' queued
 (09:42:54) dns: Created new DNS child 2760, there are now 2 children.
 (09:42:54) dns: Successfully sent DNS request to child 2760
 (09:42:54) dns: Created new DNS child 2761, there are now 3 children.
 (09:42:54) dns: Successfully sent DNS request to child 2761
 (09:42:54) dns: Got response for '192.168.1.254'
 (09:42:54) dnsquery: IP resolved for 192.168.1.254
 (09:42:54) proxy: Attempting connection to 192.168.1.254
 (09:42:54) proxy: Connecting to 192.168.1.254:1900 with no proxy
 (09:42:54) proxy: Connection in progress
 (09:42:54) dns: Got response for '192.168.1.254'
 (09:42:54) dnsquery: IP resolved for 192.168.1.254
 (09:42:54) proxy: Attempting connection to 192.168.1.254
 (09:42:54) proxy: Connecting to 192.168.1.254:1900 with no proxy
 (09:42:54) proxy: Connection in progress
 (09:42:54) proxy: Connected to 192.168.1.254:1900.
 (09:42:54) util: Request: 'POST /WANIPConn HTTP/1.1
 HOST: 192.168.1.254:1900
 SOAPACTION:
 "urn:schemas-upnp-org:service:WANIPConnection:1#GetExternalIPAddress"
 CONTENT-TYPE: text/xml ; charset="utf-8"
 CONTENT-LENGTH: 310

 <?xml version="1.0" encoding="utf-8"?>
 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"
 s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
 <s:Body>
 <u:GetExternalIPAddress
 xmlns:u="urn:schemas-upnp-org:service:WANIPConnection:1">
 </u:GetExternalIPAddress>
 </s:Body>
 </s:Envelope>'
 (09:42:54) proxy: Connected to 192.168.1.254:1900.
 (09:42:54) upnp: Local IP: 192.168.1.2
 (09:42:54) util: Response headers: 'HTTP/1.1 200 OK
 CONTENT-LENGTH:342
 CONTENT-TYPE:text/xml; charset="utf-8"
 SERVER: GIGABYTE-UPnP-Server/1.0 UPnP/1.0
 EXT:

 '
 (09:42:54) upnp: NAT Returned IP: 192.168.100.10
 (09:42:54) dns: Got response for 'jabber.gda.pl'
 (09:42:54) dnsquery: IP resolved for jabber.gda.pl
 (09:42:54) proxy: Attempting connection to 153.19.250.112
 (09:42:54) proxy: Connecting to jabber.gda.pl:5222 with no proxy
 (09:42:54) proxy: Connection in progress
 (09:42:54) proxy: Connected to jabber.gda.pl:5222.
 (09:42:54) jabber: Sending: <?xml version='1.0' ?>
 (09:42:54) jabber: Sending: <stream:stream to='jabber.gda.pl'
 xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'
 version='1.0'>
 (09:42:54) jabber: Recv (141): <?xml version='1.0'?><stream:stream
 xmlns:stream='http://etherx.jabber.org/streams' id='4711C840'
 xmlns='jabber:client' from='jabber.gda.pl'>
 (09:42:58) util: Writing file prefs.xml to directory /home/bartek/.purple
 (09:42:58) util: Writing file /home/bartek/.purple/prefs.xml
 (09:42:58) util: Writing file accounts.xml to directory
 /home/bartek/.purple
 (09:42:58) util: Writing file /home/bartek/.purple/accounts.xml
 (09:42:58) util: Writing file blist.xml to directory /home/bartek/.purple
 (09:42:58) util: Writing file /home/bartek/.purple/blist.xml
 (09:43:01) jabber: Sending: <iq type='get' id='purpledf2eca14'><query
 xmlns='jabber:iq:auth'><username>elwis</username></query></iq>
 (09:43:01) jabber: Recv (185): <iq type='result'
 id='purpledf2eca14'><query
 xmlns='jabber:iq:auth'><username>elwis</username><password/><digest/><sequence>499</sequence><token>458E3A16</token><resource/></query></iq>
 (09:43:01) jabber: Sending: <iq type='set' id='purpledf2eca15'><query
 xmlns='jabber:iq:auth'><username>elwis</username><resource>dom</resource><digest>cf25b7118f9b4a5764c05644ad9f35faa0d05c9e</digest></query></iq>
 (09:43:01) jabber: Recv (240): <iq type='error' id='purpledf2eca15'><query
 xmlns='jabber:iq:auth'><username>elwis</username><resource>dom</resource><digest
 sid='4711C840'>cf25b7118f9b4a5764c05644ad9f35faa0d05c9e</digest></query><error
 code='401'>Unauthorized</error></iq>
 (09:43:02) account: Disconnecting account 0x817b2e0
 (09:43:02) connection: Disconnecting connection 0x8659e38
 (09:43:02) connection: Destroying connection 0x8659e38
 (09:43:06) util: Writing file accounts.xml to directory
 /home/bartek/.purple
 (09:43:06) util: Writing file /home/bartek/.purple/accounts.xml
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3552>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list