Problem connecting to Google Talk

Asked by quizzical

Hi there,

I am having problem connecting to Google Talk, it may be something simple which I have missed ut I have searched through the guides and questions and have been unable to resolve this. Any help would be appreciated.

I followed the guide at this page:

http://feistyguide.blogspot.com/2007/06/how-to-configure-pidgin-for-google-talk.html

This is for Feisty and I am running Gutsy but I didn't think there would be a huge difference, the only thing I have noticed is that in this guide there is a field called server in the account setup menu whilst in my installation the same field is called domain.

Anyhow, I setup the account according to this guide and then receive a "not authorized" error. Despite the fact that I know my password is right. I can use the google talk gadget and I have no problem on my windows machine so I know its not my account. Heres the ouput from the debug window:

(12:09:21) account: Connecting to account <email address hidden>/Home
(12:09:21) connection: Connecting. gc = 0x870abe8
(12:09:21) dns: DNS query for 'talk.google.com' queued
(12:09:21) dns: Created new DNS child 10808, there are now 1 children.
(12:09:21) dns: Successfully sent DNS request to child 10808
(12:09:21) dns: Got response for 'talk.google.com'
(12:09:21) dnsquery: IP resolved for talk.google.com
(12:09:21) proxy: Attempting connection to 209.85.163.125
(12:09:21) proxy: Connecting to talk.google.com:5222 with no proxy
(12:09:21) proxy: Connection in progress
(12:09:21) proxy: Connected to talk.google.com:5222.
(12:09:21) jabber: Sending: <?xml version='1.0' ?>
(12:09:21) jabber: Sending: <stream:stream to='gmail.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
(12:09:22) jabber: Recv (176): <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="07A6070DD2F6A479" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
(12:09:22) jabber: Recv (210): <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>
(12:09:22) jabber: Sending: <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
(12:09:22) jabber: Recv (50): <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
(12:09:22) jabber: Sending (ssl): <stream:stream to='gmail.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
(12:09:22) jabber: Recv (ssl)(176): <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="5732772732F7CA08" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
(12:09:22) jabber: Recv (ssl)(166): <stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>
(12:09:22) sasl: Mechs found: PLAIN X-GOOGLE-TOKEN
(12:09:22) jabber: Sending (ssl): <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AHF1aXhvcHRpYwBtb25zdDNy</auth>
(12:09:23) jabber: Recv (ssl)(77): <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
(12:09:23) jabber: Recv (ssl)(16): </stream:stream>
(12:09:23) account: Disconnecting account 0x86644b8
(12:09:23) connection: Disconnecting connection 0x870abe8
(12:09:23) connection: Destroying connection 0x870abe8
(12:09:24) util: Writing file prefs.xml to directory /home/alex/.purple
(12:09:24) util: Writing file /home/alex/.purple/prefs.xml
(12:09:27) util: Writing file accounts.xml to directory /home/alex/.purple
(12:09:27) util: Writing file /home/alex/.purple/accounts.xml

Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pidgin Edit question
Assignee:
No assignee Edit question
Solved by:
quizzical
Solved:
Last query:
Last reply:
Revision history for this message
Neo (pudumula-gmail) said :
#1

did u change anything in the advanced tab especially the ssl encription

Revision history for this message
quizzical (quixoptic) said :
#2

The only thing I changed from default settings in the advanced tab was to add the talk.google.com so it looks like this:

require ssl/tls: not checked
Force old (port 5223) ssl: not checked
allow plaintext auth over unencrypted streams: not checked

connect port: 5222
connect server: talk.google.com

proxy type: use gnome proxy settings

Cheers

Revision history for this message
Bhavani Shankar (bhavi) said :
#3

This article might give you more info:

http://ubuntuforums.org/showthread.php?t=436651

Bhavani Shankar.

Revision history for this message
quizzical (quixoptic) said :
#4

I've had a look through that post. I set up port forwarding for the ports mentioned but that doesn't seem to have made a difference. I haven't tried installing the ssl libraries and compiling from source as my install of pidgin is the one which came with ubuntu. It looks like I have a different version of pidgin to most of these guides as I have a 'Domain' option rather than a server option and I don't have a register button at the bottom of the account configuration screen.

Revision history for this message
arochester (arochester) said :
#5
Revision history for this message
quizzical (quixoptic) said :
#6

Right, i've solved the problem and it was a fairly trivial issue. I had been putting the server (or domain) down as gmail.com because that is the address I use to log into google accounts. However, I initially registered the account at googlemail.com, using googlemail.com as my domain rather than gmail.com fixed the issue.

thanks everyone!

Revision history for this message
Andriy Tymchenko (silpol) said :
#7

one (another) variant

this line from log above
(12:09:23) jabber: Recv (ssl)(77): <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>

might also mean that you account had been locked (Google is trying to protect your account from botnet attack on your password, so lock it but your client does NOT tell you straight it is locked) - this is true _if_ you haven't changed password recently, but you are appear to be locked.

so what to do? go this page http://www.google.com/support/talk/bin/answer.py?hl=en&answer=32951 (on same computer from where you run your pidgin) and just do what is written there - you will be unlocked in about 10 seconds.