Pidgin showing “Unable to connect” message with Gmail chat

chatgmailpidgin

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.

Best Answer

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

Related Question