Unable to connect to Hangouts via Pidgin

Eion Robb eion at robbmob.com
Mon Mar 11 16:50:54 EDT 2019


Hi Anis,

"Not Authorized" means an incorrect password.  You'll either need to set up
an app-specific password if you're using two-factor authentication, allow
insecure apps if you're not using two-factor auth, or switch to the
Hangouts plugin which has a different login mechanism.

Links to the XMPP way: https://developer.pidgin.im/wiki/Protocol Specific
Questions#gtalk_2fa
Link to the Hangouts plugin: https://bitbucket.org/EionRobb/purple-hangouts

Cheers,
Eion


On Tue, 12 Mar 2019 at 01:38, Anis Ali Khan <AAliKhan at dynacom.com> wrote:

> Hello,
>
>
>
> I’m getting a not authorized error message.
>
>
>
> Pidgin is configured as follows:
>
>
>
>
>
> Please refer to the debug log:
>
>
>
> (08:29:56) util: Writing file prefs.xml to directory
> C:\Users\aakhan\AppData\Roaming\.purple
>
> (08:29:56) util: Writing file
> C:\Users\aakhan\AppData\Roaming\.purple\prefs.xml
>
> (08:30:01) account: Connecting to account anisalikhan88 at gmail.com/.
>
> (08:30:01) connection: Connecting. gc = 060AE1E0
>
> (08:30:01) dnssrv: querying SRV record for gmail.com: _xmpp-client._
> tcp.gmail.com
>
> (08:30:01) dnssrv: found 5 SRV entries
>
> (08:30:01) dnsquery: Performing DNS lookup for xmpp.l.google.com
>
> (08:30:01) dnsquery: IP resolved for xmpp.l.google.com
>
> (08:30:01) proxy: Attempting connection to 173.194.205.125
>
> (08:30:01) proxy: Connecting to xmpp.l.google.com:5222 with no proxy
>
> (08:30:01) proxy: Connection in progress
>
> (08:30:01) proxy: Connecting to xmpp.l.google.com:5222.
>
> (08:30:01) proxy: Connected to xmpp.l.google.com:5222.
>
> (08:30:01) jabber: Sending (anisalikhan88 at gmail.com): <?xml version='1.0'
> ?>
>
> (08:30:01) jabber: Sending (anisalikhan88 at gmail.com): <stream:stream to='
> gmail.com' xmlns='jabber:client' xmlns:stream='
> http://etherx.jabber.org/streams' version='1.0'>
>
> (08:30:01) jabber: Recv (138): <stream:stream from="gmail.com"
> id="621FCE916EB0F34C" version="1.0" xmlns:stream="
> http://etherx.jabber.org/streams" xmlns="jabber:client">
>
> (08:30:01) jabber: Recv (241): <stream:features><starttls
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-OAUTH2</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>
>
> (08:30:01) jabber: Sending (anisalikhan88 at gmail.com): <starttls
> xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
>
> (08:30:01) jabber: Recv (50): <proceed
> xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
>
> (08:30:01) nss: SSL version 3.3 using 128-bit AES-GCM with 128-bit AEAD MAC
>
> Server Auth: 2048-bit RSA, Key Exchange: 256-bit ECDHE, Compression: NULL
>
> Cipher Suite Name: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
>
> (08:30:01) nss: subject=CN=gmail.com,O=Google LLC,L=Mountain
> View,ST=California,C=US issuer=CN=Google Internet Authority G3,O=Google
> Trust Services,C=US
>
> (08:30:01) nss: partial certificate chain
>
> (08:30:01) certificate/x509/tls_cached: Starting verify for gmail.com
>
> (08:30:01) certificate/x509/tls_cached: Checking for cached cert...
>
> (08:30:01) certificate/x509/tls_cached: ...Found cached cert
>
> (08:30:01) nss/x509: Loading certificate from
> C:\Users\aakhan\AppData\Roaming\.purple\certificates\x509\tls_peers\
> gmail.com
>
> (08:30:01) certificate/x509/tls_cached: Peer cert matched cached
>
> (08:30:01) nss/x509: Exporting certificate to
> C:\Users\aakhan\AppData\Roaming\.purple\certificates\x509\tls_peers\
> gmail.com
>
> (08:30:01) util: Writing file
> C:\Users\aakhan\AppData\Roaming\.purple\certificates\x509\tls_peers\
> gmail.com
>
> (08:30:01) nss: Trusting CN=gmail.com,O=Google LLC,L=Mountain
> View,ST=California,C=US
>
> (08:30:01) certificate: Successfully verified certificate for gmail.com
>
> (08:30:01) jabber: Sending (ssl) (anisalikhan88 at gmail.com):
> <stream:stream to='gmail.com' xmlns='jabber:client' xmlns:stream='
> http://etherx.jabber.org/streams' version='1.0'>
>
> (08:30:01) jabber: Recv (ssl)(138): <stream:stream from="gmail.com"
> id="E763ADE37F20CF3F" version="1.0" xmlns:stream="
> http://etherx.jabber.org/streams" xmlns="jabber:client">
>
> (08:30:01) jabber: Recv (ssl)(197): <stream:features><mechanisms
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-OAUTH2</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>PLAIN</mechanism></mechanisms></stream:features>
>
> (08:30:01) sasl: Mechs found: X-OAUTH2 X-GOOGLE-TOKEN PLAIN
>
> (08:30:01) sasl: No worthy mechs found
>
> (08:30:06) util: Writing file accounts.xml to directory
> C:\Users\aakhan\AppData\Roaming\.purple
>
> (08:30:06) util: Writing file
> C:\Users\aakhan\AppData\Roaming\.purple\accounts.xml
>
> (08:30:07) sasl: Mechs found: X-OAUTH2 X-GOOGLE-TOKEN PLAIN
>
> (08:30:07) jabber: Sending (ssl) (anisalikhan88 at gmail.com): <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>
>
> (08:30:08) jabber: Recv (ssl)(77): <failure
> xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
>
> (08:30:08) sasl: Mechs found: X-OAUTH2 X-GOOGLE-TOKEN
>
> (08:30:08) sasl: No worthy mechs found
>
> (08:30:08) connection: Connection error on 060AE1E0 (reason: 2
> description: Not Authorized)
>
> (08:30:08) jabber: Recv (ssl)(16): </stream:stream>
>
> (08:30:08) account: Disconnecting account anisalikhan88 at gmail.com/
> (05FC96B0)
>
> (08:30:08) connection: Disconnecting connection 060AE1E0
>
> (08:30:08) jabber: Sending (ssl) (anisalikhan88 at gmail.com):
> </stream:stream>
>
> (08:30:08) connection: Destroying connection 060AE1E0
>
> (08:30:13) util: Writing file accounts.xml to directory
> C:\Users\aakhan\AppData\Roaming\.purple
>
> (08:30:13) util: Writing file
> C:\Users\aakhan\AppData\Roaming\.purple\accounts.xml
>
>
>
> I appreciate your help sorting this out.
>
>
>
> Regards,
>
>
>
> *Anis Ali Khan*
>
> Technicien Informatique | IT Technician
>
> Dynacom
>
> 1270, Dagenais Blvd., Ouest
>
> Laval, Quebec
>
> CANADA H7L 5E3
>
>
> _______________________________________________
> Support at pidgin.im mailing list
> Want to unsubscribe?  Use this link:
> https://pidgin.im/cgi-bin/mailman/listinfo/support
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pidgin.im/pipermail/support/attachments/20190312/5488592d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 10631 bytes
Desc: not available
URL: <https://pidgin.im/pipermail/support/attachments/20190312/5488592d/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7525 bytes
Desc: not available
URL: <https://pidgin.im/pipermail/support/attachments/20190312/5488592d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 16796 bytes
Desc: not available
URL: <https://pidgin.im/pipermail/support/attachments/20190312/5488592d/attachment-0005.png>


More information about the Support mailing list