[Bug 22074] Any test using telepathy-gabble-debug fails
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 18 10:19:20 CET 2010
http://bugs.freedesktop.org/show_bug.cgi?id=22074
--- Comment #6 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2010-03-18 02:19:19 PST ---
Interesting, here is the log with LM_DEBUG=all
(telepathy-gabble:1925): gabble-DEBUG: do_connect: calling lm_connection_open
*** Connecting to: localhost:4242
*** SRV lookup disabled for localhost
Going to connect to localhost:4242
(telepathy-gabble:1925): tp-glib/connection-DEBUG:
tp_base_connection_change_status: was 4294967295, now 1, for reason 1
(telepathy-gabble:1925): tp-glib/connection-DEBUG:
tp_base_connection_change_status: emitting status-changed to 1, for reason 1
(telepathy-gabble:1925): gabble-DEBUG: connection_status_changed_cb: adding
callbacks
(telepathy-gabble:1925): gabble-DEBUG: connection_status_changed_cb: adding
callbacks
(telepathy-gabble:1925): gabble-DEBUG: connection_status_changed_cb: adding
callbacks
Trying ::1 port 4242...
Connection failed.
Connection failed: Connection refused (error 111)
Freeing up IOChannel and file descriptor
Trying ::1 port 4242...
Connection failed.
Connection failed: Connection refused (error 111)
Freeing up IOChannel and file descriptor
Trying 127.0.0.1 port 4242...
Connection success (1).
SEND:
-----------------------------------
<?xml version='1.0' encoding='UTF-8'?>
-----------------------------------
*** Sending stream header
SEND:
-----------------------------------
<stream:stream version="1.0" xmlns="jabber:client"
xmlns:stream="http://etherx.jabber.org/streams" to="localhost"
id="18948281158">
-----------------------------------
So Gabble tries to connect using IPv6 first. So I tried to change the account
param in gabbletest.py from 'localhost' to '127.0.0.1' and it works!
So I guess something goes wrong in lm when trying to connect to the IP6 address
and a callback is called after resource have been destroyed.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list