In 0.9.13 we started discovering PEP capabilities correctly, by disco'ing our own bare JID as well as disco'ing the server. Unfortunately, jabberd2 2.2.7.1 replies with an error when we disco our own bare JID. The solution is probably to make this error non-fatal (leaving failure to disco the server as fatal). The relevant parts of a log: (telepathy-gabble:5059): gabble-DEBUG: gabble_disco_request_with_timeout: Creating disco request 0x819d9a0 for pld-linux.org (telepathy-gabble:5059): gabble-DEBUG: gabble_disco_request_with_timeout: Creating disco request 0x819da20 for _________@pld-linux.org (telepathy-gabble:5059): gabble-DEBUG: connection_disco_cb: got: * query xmlns='http://jabber.org/protocol/disco#info' * identity name='Jabber IM server' type='im' category='server' * feature var='jabber:iq:private' * feature var='presence' * feature var='jabber:iq:time' * feature var='jabber:iq:agents' * feature var='urn:xmpp:ping' * feature var='http://jabber.org/protocol/vacation' * feature var='urn:xmpp:time' * feature var='urn:xmpp:blocking' * feature var='vcard-temp' * feature var='jabber:iq:version' * feature var='message' * feature var='msgoffline' * feature var='jabber:iq:privacy' * feature var='http://jabber.org/protocol/amp' * feature var='jabber:iq:roster' * feature var='iq' * feature var='jabber:iq:last' * feature var='jabber:iq:browse' * feature var='http://jabber.org/protocol/disco' * x xmlns='jabber:x:data' type='result' * field type='hidden' var='FORM_TYPE' * value "urn:xmpp:dataforms:softwareinfo" * field var='software' * value "jabberd" * field var='software_version' * value "2.2.7.1" * field var='os' * value "Linux" * field var='os_version' * value "x86_64" (telepathy-gabble:5059): gabble-DEBUG: connection_disco_cb: set features flags to 8 (telepathy-gabble:5059): gabble-DEBUG: bare_jid_disco_cb: Got disco error on bare jid: the feature requested is not implemented by the recipient or server and therefore cannot be processed (telepathy-gabble:5059): gabble-DEBUG: gabble_presence_cache_end_unsure_period: 0x8182450 (telepathy-gabble:5059): tp-glib/connection-DEBUG: tp_base_connection_change_status: was 1, now 2, for reason 1 (telepathy-gabble:5059): tp-glib/connection-DEBUG: tp_base_connection_change_status: emitting status-changed to 2, for reason 1
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.