Opened 7 years ago

Last modified 5 years ago

#14948 new defect

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

Reported by: ari Owned by: deryni
Milestone: Component: XMPP
Version: 2.10.1 Keywords:
Cc:

Description (last modified by ari)

From http://bugs.debian.org/656190 (not sure if this can be fixed, but perhaps the error message can be better):

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

Change History (4)

comment:1 Changed 7 years ago by ari

  • Description modified (diff)

comment:2 Changed 6 years ago by maximi89

Hi, this happened to me too when I used the application "network-admin" who come from the package "gnome-system-tools". I have changed the name of the name of my computer and it just have updated "/etc/hostname" but not the /etc/hosts... so probably we have the problem in that software...

comment:3 Changed 6 years ago by maximi89

Left me something, this affects XMPP not only the XMPP of "Google Talk".

And in my case the affected one is 2.10.6

comment:4 Changed 5 years ago by datallah

Ticket #16014 has been marked as a duplicate of this ticket.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!