dottedmag (dottedmag) wrote in lj_dev,
dottedmag
dottedmag
lj_dev

<iq type='error'> bug in Jabber server

Not sure it is proper community to post, but...

Found during investigating why Gajim can't connect to livejournal.com Jabber server.

When client sends stanza server does not understand, such as
<iq from="dottedmag@livejournal.com/Gajim" type="get" id="152">
  <query xmlns="jabber:iq:private">
    <storage xmlns="storage:metacontacts" />
  </query>
</iq>

server responds with the stanza
<iq  to='dottedmag@livejournal.com/Gajim' type='error' id='152'>
</iq>

However, RFC 3920 9.2.3.7 states:

An IQ stanza of type "error" SHOULD include the child element contained in the associated "get" or "set" and MUST include an <error/> child; for details, see Stanza Errors (Section 9.3).

Seems that Gajim is confused by missing <error/> child in the reply.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 5 comments