#656190 pidgin fails to connect to Google talk when /etc/hostname doesn't match /etc/hosts

Package:
pidgin
Source:
pidgin
Description:
graphical multi-protocol instant messaging client
Submitter:
Andreas Weber
Date:
2026-07-06 17:45:10 UTC
Severity:
normal
Tags:
#656190#5
Date:
2012-01-17 11:04:28 UTC
From:
To:
Dear Maintainers,

Pidgin 2.10.1 (libpurple 2.10.1) was configured for Google talk
but it fails to connect with the message "Der Server benutzt keine der
unterstützten Authentifizierungsmethoden",
in english: "Server does not use any supported authentication method",
which is not true(see below).

I figured out that this occurs when the hostname in /etc/hostname
doesn't match the one in /etc/hosts. After adapting the two entries,
Pidgin connected fine.

The relevant part of the debug log:
(10:51:04) certificate: Successfully verified certificate for googlemail.com
(10:51:04) jabber: Sending (ssl) (myusername@googlemail.com):
<stream:streamto='googlemail.com' xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
(10:51:04) jabber: Recv (ssl)(143): <stream:stream
from="googlemail.com" id="2C325E3B61D1A3B7" version="1.0"
xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">
(10:51:04) jabber: Recv (ssl)(197): <stream:features><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanisms></stream:features>
(10:51:04) sasl: sasl_state is -1, failing the mech and trying again
(10:51:04) connection: Connection error on 0x7f4413d85890 (reason: 3
description: Der Server benutzt keine der unterstützten
Authentifizierungsmethoden)
(10:51:04) account: Disconnecting account
myusername@googlemail.com/(0x7f4413158080)

This problem was also reported on
http://askubuntu.com/questions/88989/unable-to-connect-to-google-talk-using-
pidgin-sasl-error
for ubuntu

Greetings, Andy

#656190#10
Date:
2012-02-20 19:27:47 UTC
From:
To:
--- Please enter the report below this line. ---

same behavior on my laptop, so I can confirm this bug

Debian Release: wheezy/sid
--- Package information. ---
Depends (Version) | Installed
====================================-+-==============
pidgin-data (>= 2.10.1) | 2.10.1-1
pidgin-data (<< 2.10.1-z) | 2.10.1-1
libatk1.0-0 (>= 1.12.4) | 2.2.0-2
libc6 (>= 2.7) | 2.13-21
libcairo2 (>= 1.2.4) | 1.10.2-6.1
libdbus-1-3 (>= 1.0.2) | 1.4.16-1
libdbus-glib-1-2 (>= 0.78) | 0.98-1
libfontconfig1 (>= 2.8.0) | 2.8.0-3
libfreetype6 (>= 2.2.1) | 2.4.7-2
libgdk-pixbuf2.0-0 (>= 2.22.0) | 2.24.0-1
libglib2.0-0 (>= 2.24.0) | 2.30.2-6
libgstreamer0.10-0 (>= 0.10.10) | 0.10.35-1
libgtk2.0-0 (>= 2.24.0) | 2.24.6-2
libgtkspell0 (>= 2.0.10) | 2.0.16-1
libice6 (>= 1:1.0.0) | 2:1.0.7-2
libpango1.0-0 (>= 1.18.0) | 1.29.4-1
libpurple0 (>= 2.8.0) | 2.10.1-1
libsm6 | 2:1.2.0-2
libx11-6 | 2:1.4.4-2
libxml2 (>= 2.6.27) | 2.7.8.dfsg-5
libxss1 | 1:1.2.1-2
gconf2 (>= 2.28.1-2) | 2.32.4-1
perl-base (>= 5.14.2-6) | 5.14.2-7
perlapi-5.14.2 |


Recommends (Version) | Installed
=========================================-+-===========
gstreamer0.10-plugins-base | 0.10.35-1
gstreamer0.10-plugins-good | 0.10.30-2


Suggests (Version) | Installed
=====================================-+-============
gnome-panel (>= 2.1) |
OR kdebase-workspace-bin |
OR docker |
evolution-data-server (>= 1.10.0) | 3.0.3-1
libsqlite3-0 (>= 3.5.9) | 3.7.7-2

#656190#17
Date:
2012-08-11 14:56:45 UTC
From:
To:
Confirmed, and fixing /etc/hosts worked for me