Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-260

error presence packets when server is down

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.1.0
    • Component/s: Core
    • Labels:
      None

      Description

      http://www.igniterealtime.org/community/message/182768

      In smack 3.0.4, error presence packets like this are not handled:

      <presence to="mobi@ubithere.com/CellPhone" from="vbarat@lancelot" type="error"><error code="404" type="CANCEL"><remote-server-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></presence>

      This happens when a server is down.

      But the Roster doesn't process these packets so we have the wrong Presence when asking the Roster about the user.

      Here is my attached patch:

        Attachments

          Activity

            People

            Assignee:
            matt Matt Tucker
            Reporter:
            akrherz Daryl Herzmann
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: