[Bug 28051] telepathy-gabble 0.9.11-1~ppa10.04+1 breaks facebook login

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jun 22 18:59:44 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28051

--- Comment #16 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-06-22 09:59:43 PDT ---
Relevant CM parameters:

(telepathy-gabble:10152): tp-glib/params-DEBUG: tp_cm_param_setter_offset:
account = "bla.bla at chat.facebook.com"
(telepathy-gabble:10152): tp-glib/params-DEBUG: tp_cm_param_setter_offset:
password = <hidden>
(telepathy-gabble:10152): tp-glib/params-DEBUG: parse_parameters: server not
given, using default behaviour
(telepathy-gabble:10152): tp-glib/params-DEBUG: tp_cm_param_setter_offset: port
= 5222 = 0x1466
(telepathy-gabble:10152): tp-glib/params-DEBUG: tp_cm_param_setter_offset:
old-ssl = FALSE

So we'll connect to the result of a SRV lookup for
_xmpp-client._tcp.chat.facebook.com, or failing that, to chat.facebook.com.
However, the SRV lookup fails, and fails with an error that doesn't cause us to
fall back.

For anyone who gets this bug, I'd be interested to see the results of these two
commands on the same machine:

host -t SRV _xmpp._tcp.chat.facebook.com

host -v -t SRV _xmpp._tcp.chat.facebook.com

>From the GIO source code, it seems that the error you got, "Unknown error on
connect", is raised with code G_IO_ERROR_FAILED if
g_socket_address_enumerator_next or g_socket_address_enumerator_next_finish
returns NULL without setting its @error parameter. That looks like a GIO bug,
because g_socket_address_enumerator_next returns NULL without setting @error if
there are no more addresses... GIO should probably set a more specific error
code for that.

Wocky, in turn, interprets the domain G_IO_ERROR to be fatal:

      /* An IO error implies there IS a SRV record but we could not
       * connect: we do not fall through in this case: */

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list