[Bug 32390] New: Creating a search channel on a "" (empty string) server fails without an error

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 14 16:17:34 CET 2010


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

           Summary: Creating a search channel on a "" (empty string)
                    server fails without an error
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: pochu27 at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


I was opening a search channel with the server set to "", resulting on my
callback not being called. The gabble debug shows:


* iq xmlns='jabber:client' type='get' to='' id='8122680337'
    * query xmlns='jabber:iq:search'
gabble/connection-DEBUG: 14/12/10 15:12:03.80893:
gabble_connection_update_capabilities: enter
gabble/media-channel-DEBUG: 14/12/10 15:12:03.80957:
gabble_media_factory_add_caps: Client
org.freedesktop.Telepathy.Client.TpGLibRequestAndHandle._3a1_2e206.n1 media
capabilities:
gabble/connection-DEBUG: 14/12/10 15:12:03.81010:
gabble_connection_update_capabilities: client
org.freedesktop.Telepathy.Client.TpGLibRequestAndHandle._3a1_2e206.n1 has no
interesting capabilities
gabble/presence-DEBUG: 14/12/10 15:12:03.81083:
gabble_presence_set_capabilities: about to add caps to resource 5ab67c28 with
serial 18
gabble/presence-DEBUG: 14/12/10 15:12:03.81135:
gabble_presence_set_capabilities: found resource 5ab67c28
gabble/presence-DEBUG: 14/12/10 15:12:03.81182:
gabble_presence_set_capabilities: new serial 18, old 17, clearing caps
gabble/presence-DEBUG: 14/12/10 15:12:03.81233:
gabble_presence_set_capabilities: updating caps for resource 5ab67c28
gabble/connection-DEBUG: 14/12/10 15:12:03.81284:
gabble_connection_refresh_capabilities: nothing to do
wocky-DEBUG: 14/12/10 15:12:03.86035: _end_element_ns: Received stanza
* iq xmlns='jabber:client' from='emilio.pozuelo at collabora.co.uk'
to='emilio.pozuelo at collabora.co.uk/5ab67c28' type='error' id='8122680337'
    * query xmlns='jabber:iq:search'
    * error code='503' type='cancel'
        * service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'
wocky-DEBUG: 14/12/10 15:12:03.86137: check_spoofing: wocky-porter.c:946:
'emilio.pozuelo at collabora.co.uk' (normal: 'emilio.pozuelo at collabora.co.uk')
attempts to spoof an IQ reply from ''
wocky-DEBUG: 14/12/10 15:12:03.86184: check_spoofing: wocky-porter.c:948: Our
full JID is 'emilio.pozuelo at collabora.co.uk/5ab67c28' and our bare JID is
'emilio.pozuelo at collabora.co.uk'
gabble/connection-DEBUG: 14/12/10 15:12:03.86256: connection_iq_unknown_cb: got
unknown iq:
* iq xmlns='jabber:client' from='emilio.pozuelo at collabora.co.uk'
to='emilio.pozuelo at collabora.co.uk/5ab67c28' type='error' id='8122680337'
    * query xmlns='jabber:iq:search'
    * error code='503' type='cancel'
        * service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'


Notice the to=''.


15:08 <       wjt> pochu: the bug in gabble is that it should handle the server
being set to "" specially

-- 
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