Pidgin using google talk authorization

Bill Jobs billjobs47 at gmail.com
Thu Jun 4 17:26:53 EDT 2015


Hi, I'm having an issue using pidgin. I am trying to connect/authenticate
my pidgin client to my custom server. After failing to correctly
authenticate, I browsed through the debug output provided below:Pidgin
Debug Log : Thu 04 Jun 2015 04:14:02 PM CDT
(16:13:18) util: Writing file prefs.xml to directory /home/me/.purple
(16:13:18) util: Writing file /home/me/.purple/prefs.xml
(16:13:18) util: Writing file accounts.xml to directory /home/me/.purple
(16:13:18) util: Writing file /home/me/.purple/accounts.xml
(16:13:23) g_log: purple_account_get_bool: assertion 'account != NULL'
failed
(16:13:42) buddyicon: Could not get file info of
(16:13:42) account: Connecting to account my_uname at my_domain/.
(16:13:42) connection: Connecting. gc = 0xb9678da8
(16:13:42) dnssrv: querying SRV record for my_domain:
_xmpp-client._tcp.my_domain
(16:13:42) dnssrv: res_query returned an error
(16:13:42) dnsquery: Performing DNS lookup for my_domain
(16:13:42) dnsquery: IP resolved for my_domain
(16:13:42) proxy: Attempting connection to my_domain
(16:13:42) proxy: Connecting to my_domain:5222 with no proxy
(16:13:42) proxy: Connection in progress
(16:13:42) proxy: Connecting to my_domain:5222.
(16:13:42) proxy: Connected to my_domain:5222.
(16:13:42) jabber: Sending (my_uname at my_domain): <?xml version='1.0' ?>
(16:13:42) jabber: Sending (my_uname at my_domain): <stream:stream
to='my_domain' xmlns='jabber:client' xmlns:stream='
http://etherx.jabber.org/streams' version='1.0'>
(16:13:42) jabber: Recv (428): <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'
from='my_domain' id='70087262-114a-4f64-9e89-969529b866d4' xml:lang='en'
xmlns='jabber:client'><stream:features><auth xmlns='
http://jabber.org/features/iq-auth'/><starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms></stream:features>
(16:13:42) jabber: Sending (my_uname at my_domain): <starttls
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
(16:13:42) jabber: Recv (50): <proceed
xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
(16:13:42) nss:
subject=E=root at localhost.localdomain,CN=localhost.localdomain,OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=--
issuer=E=root at localhost.localdomain
,CN=localhost.localdomain,OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=--
(16:13:42) certificate/x509/tls_cached: Starting verify for my_domain
(16:13:42) certificate/x509/tls_cached: Checking for cached cert...
(16:13:42) certificate/x509/tls_cached: ...Found cached cert
(16:13:42) nss/x509: Loading certificate from
/home/me/.purple/certificates/x509/tls_peers/my_domain
(16:13:42) certificate/x509/tls_cached: Peer cert matched cached
(16:13:42) nss/x509: Exporting certificate to
/home/me/.purple/certificates/x509/tls_peers/my_domain
(16:13:42) util: Writing file
/home/me/.purple/certificates/x509/tls_peers/my_domain
(16:13:42) nss: Trusting E=root at localhost.localdomain
,CN=localhost.localdomain,OU=SomeOrganizationalUnit,O=SomeOrganization,L=SomeCity,ST=SomeState,C=--
(16:13:42) certificate: Successfully verified certificate for my_domain
(16:13:42) jabber: Sending (ssl) (my_uname at my_domain: <stream:stream
to='2my_domain' xmlns='jabber:client' xmlns:stream='
http://etherx.jabber.org/streams' version='1.0'>
(16:13:42) jabber: Recv (ssl)(377): <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'
from='my_domain' id='7e7c8c82-df9a-4c29-8480-9e5c3648c6e2' xml:lang='en'
xmlns='jabber:client'><stream:features><auth xmlns='
http://jabber.org/features/iq-auth'/><mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>PLAIN</mechanism></mechanisms></stream:features>
(16:13:42) sasl: Mechs found: PLAIN
(16:13:42) jabber: Sending (ssl) (my_uname at my_domain): <auth
xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' xmlns:ga='
http://www.google.com/talk/protocol/auth'
ga:client-uses-full-bind-result='true'>password removed</auth>
(16:13:42) jabber: Recv (ssl)(167): <failure
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><not-authorized/><text>Unable to
authorize you with the authentication credentials you've
sent.</text></failure>
(16:13:42) connection: Connection error on 0xb9678da8 (reason: 2
description: Not Authorized)
(16:13:42) account: Disconnecting account my_uname at my_domain/ (0xb963c2e0)
(16:13:42) connection: Disconnecting connection 0xb9678da8
(16:13:42) jabber: Sending (ssl) (my_uname at my_domain): </stream:stream>
(16:13:42) connection: Destroying connection 0xb9678da8
(16:13:47) util: Writing file accounts.xml to directory /home/me/.purple
(16:13:47) util: Writing file /home/me/.purple/accounts.xml
(16:13:48) util: Writing file blist.xml to directory /home/me/.purple
(16:13:48) util: Writing file /home/me/.purple/blist.xml
(16:13:50) Gtk: Attempting to read the recently used resources file at
`/home/me/.local/share/recently-used.xbel', but the parser failed: Failed
to open file '/home/me/.local/share/recently-used.xbel': Permission denied.
(16:14:02) prefs: /pidgin/filelocations/last_save_folder changed,
scheduling save.


 I've tracked the issue to between the following entries
(16:13:42) sasl: Mechs found: PLAIN
(16:13:42) jabber: Sending (ssl) (my_uname at my_domain): <auth
xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN' xmlns:ga='
http://www.google.com/talk/protocol/auth'
ga:client-uses-full-bind-result='true'>password removed</auth>


I was wondering if any of you know what could be causing the error
The only idea I have at this point is that it looks like it is trying to
use a google talk authentication server instead of the one I provided

Please let me know, and thanks in advance

- Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pidgin.im/pipermail/support/attachments/20150604/e2b7f545/attachment.html>


More information about the Support mailing list