Summary: | regression in 0.9.13: fails to connect to jabberd2 2.2.7.1, prosody 0.6.1 | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Simon McVittie <smcv> |
Component: | gabble | Assignee: | Will Thompson <will> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | major | ||
Priority: | medium | CC: | patrys |
Version: | 0.9 | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
URL: | http://git.collabora.co.uk/?p=user/wjt/telepathy-gabble-wjt.git;a=shortlog;h=refs/heads/tired-jokes-about-discotheques | ||
Whiteboard: | review+ with trivial change | ||
i915 platform: | i915 features: |
Description
Simon McVittie
2010-06-18 04:06:53 UTC
I shall fix it! Wish me luck. I have fixed it! Who would review my masterwork? Functionally, this looks fine. One style point:
> if (disco_error != NULL)
> + DEBUG ("Got disco error on bare jid: %s", disco_error->message);
> + else
> + for (i = node_iter (result); i; i = node_iter_next (i))
> + {
I think the if and else blocks should have {} for clarity, because the for-loop is more than one statement.
Merged; will be in 0.9.14! It turns out this affects my Prosody 0.6.1 installation, too; we should probably release 0.9.14 sooner rather than later, if this is a common server bug. Outgoing IQ: (telepathy-gabble:2069): wocky-DEBUG: _write_node_tree: Serializing tree: * iq xmlns='jabber:client' type='get' to='smcv@XXX' id='788917834034' * query xmlns='http://jabber.org/protocol/disco#info' Reply: (telepathy-gabble:2069): wocky-DEBUG: Parsing chunk: <iq id='788917834034' type='error' to='smcv@XXX/reptile'><error type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq> I also get these messages, because Prosody omits @from on the reply: (telepathy-gabble:2069): wocky-DEBUG: handle_iq_reply: wocky-porter.c:842: '(null)' (normal: '(null)') attempts to spoof an IQ reply from 'smcv@XXX' (telepathy-gabble:2069): gabble-DEBUG: connection_iq_unknown_cb: got unknown iq: * iq xmlns='jabber:client' id='788917834034' type='error' to='smcv@XXX/reptile' * error type='cancel' * service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas' and the connection attempt eventually fails: (telepathy-gabble:2069): gabble-DEBUG: bare_jid_disco_cb: Got disco error on bare jid: Request for info on smcv@XXX timed out (In reply to comment #5) > I also get these messages, because Prosody omits @from on the reply: This is Bug #28647 in Wocky. (In reply to comment #5) > It turns out this affects my Prosody 0.6.1 installation, too I opened <http://code.google.com/p/lxmppd/issues/detail?id=191>. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.