Subject: Using talk.google.com without an @gmail.com address
The following article allowed us to at least identify the issue and provide a work around:
http://www.google.com/support/talk/bin/answer…?answer=14…
Alex, your instructions in many of the other threads work perfectly for @gmail.com accounts. Our situation is that we have many users with Google accounts that do not have an @gmail.com account, and no SRV records pointing to "talk.google.com", but can use other 3rd party IM applications without an issue (Pidgin, Trillian, iChat, etc.). These users utilize the other google services (YouTube, Picasa, Contacts) with this same account, so adding chat capabilities seemed to be a natural progression for our application.
The error being returned leads you to believe something either isn't configured correctly, or you typed your username/password wrong. Here is a sample of the application debug:
You'll note that <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure> logically makes us think we did something incorrectly on our end.
Any suggestions/insight on making this work without sending everyone off to create an account like the Google link above recommends?
http://www.google.com/support/talk/bin/answer…?answer=14…
Alex, your instructions in many of the other threads work perfectly for @gmail.com accounts. Our situation is that we have many users with Google accounts that do not have an @gmail.com account, and no SRV records pointing to "talk.google.com", but can use other 3rd party IM applications without an issue (Pidgin, Trillian, iChat, etc.). These users utilize the other google services (YouTube, Picasa, Contacts) with this same account, so adding chat capabilities seemed to be a natural progression for our application.
The error being returned leads you to believe something either isn't configured correctly, or you typed your username/password wrong. Here is a sample of the application debug:
XmppFeed::Connect()
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Connecting
ContactFeed::GetContacts
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Connected
XmppFeed::HandleXmppClientConnectionOnWriteXml:: <stream:stream to='gmail.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
XmppFeed::HandleXmppClientConnectionOnReadXml:: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="gmail.com" id="4550827469E7512E" version="1.0" >
XmppFeed::HandleXmppClientConnectionOnReadXml:: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><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><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features>
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Securing
XmppFeed::HandleXmppClientConnectionOnWriteXml:: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
XmppFeed::HandleXmppClientConnectionOnReadXml:: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
XmppFeed::HandleXmppClientConnectionClientSockeOnValidateCertificate:: Subject: CN=gmail.com, O=Google Inc., L=Mountain View, S=California, C=US
XmppFeed::HandleXmppClientConnectionOnWriteXml:: <stream:stream to='gmail.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Authenticating
XmppFeed::HandleXmppClientConnectionOnReadXml:: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="gmail.com" id="8FB8FE69A491C99B" version="1.0" >
XmppFeed::HandleXmppClientConnectionOnReadXml:: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features>
XmppFeed::HandleXmppClientConnectionOnSaslStart
XmppFeed::HandleXmppClientConnectionOnWriteXml:: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">xxxxxxxxxxxxxx_removed_this_xxxxxxxxxxxxxxxxx</auth>
XmppFeed::HandleXmppClientConnectionOnReadXml:: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure>
XmppFeed::HandleXmppClientConnectionOnAuthError:: <not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
XmppFeed::HandleXmppClientConnectionOnReadXml:: </stream:stream>
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Disconnected
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Connecting
ContactFeed::GetContacts
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Connected
XmppFeed::HandleXmppClientConnectionOnWriteXml:: <stream:stream to='gmail.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
XmppFeed::HandleXmppClientConnectionOnReadXml:: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="gmail.com" id="4550827469E7512E" version="1.0" >
XmppFeed::HandleXmppClientConnectionOnReadXml:: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><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><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features>
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Securing
XmppFeed::HandleXmppClientConnectionOnWriteXml:: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
XmppFeed::HandleXmppClientConnectionOnReadXml:: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
XmppFeed::HandleXmppClientConnectionClientSockeOnValidateCertificate:: Subject: CN=gmail.com, O=Google Inc., L=Mountain View, S=California, C=US
XmppFeed::HandleXmppClientConnectionOnWriteXml:: <stream:stream to='gmail.com' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en'>
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Authenticating
XmppFeed::HandleXmppClientConnectionOnReadXml:: <stream:stream xmlns:stream="http://etherx.jabber.org/streams" from="gmail.com" id="8FB8FE69A491C99B" version="1.0" >
XmppFeed::HandleXmppClientConnectionOnReadXml:: <stream:features xmlns:stream="http://etherx.jabber.org/streams"><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features>
XmppFeed::HandleXmppClientConnectionOnSaslStart
XmppFeed::HandleXmppClientConnectionOnWriteXml:: <auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">xxxxxxxxxxxxxx_removed_this_xxxxxxxxxxxxxxxxx</auth>
XmppFeed::HandleXmppClientConnectionOnReadXml:: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure>
XmppFeed::HandleXmppClientConnectionOnAuthError:: <not-authorized xmlns="urn:ietf:params:xml:ns:xmpp-sasl" />
XmppFeed::HandleXmppClientConnectionOnReadXml:: </stream:stream>
XmppFeed::HandleXmppClientConnectionOnXmppConnectionStateChanged:: Disconnected
You'll note that <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized /></failure> logically makes us think we did something incorrectly on our end.
Any suggestions/insight on making this work without sending everyone off to create an account like the Google link above recommends?
merc
Show profile
Link to this post
