General Computing
gmail pidgin chat
Updated Sat, 18 Jun 2022 12:53:38 GMT

Pidgin showing "Unable to connect" message with Gmail chat


I am unable to connect to gmail chat through pidgin (2.10.9) on Debian.

But Facebook chat is working fine.

Have tried this:

  1. Google support https://support.google.com/a/answer/49147?hl=en
  2. a blog suggestion

Telnet shows

$ telnet gmail.com 5222 
Trying 74.125.236.86... 
Trying 74.125.236.85... 
Trying 2404:6800:4007:801::1015... 
telnet: Unable to connect to remote host: Network is unreachable

Tried pidgin FAQ suggestion

at console

dig +short SRV _xmpp-client._tcp.gmail.com 

gives

5 0 5222 xmpp.l.google.com.
20 0 5222 alt4.xmpp.l.google.com. 
20 0 5222 alt2.xmpp.l.google.com. 
20 0 5222 alt1.xmpp.l.google.com.
20 0 5222 alt3.xmpp.l.google.com.



Solution

Enabled allow less secure apps option in Google account. This solved the problems with all the standard pidgin settings for the gtalk.





Comments (1)

  • +1 – Not the greatest solution, since it explicitly makes your account less secure. Is there any way other than this? — May 28, 2015 at 20:31