GithubHelp home page GithubHelp logo

Comments (10)

ortuman avatar ortuman commented on August 25, 2024

Ok. According to the log file seems pretty clear that messages are being sent to an already disconnected stream. Is there any way I can reproduce this very same issue? Also, maybe this has something to do with the recently added 'resource conflict' policy feature. Playing with different values changes this behavior? Thanks in advance!

from jackal.

readyblue avatar readyblue commented on August 25, 2024

I have tried changing the 'resource conflict' even before I have submit this issue. It has no effect on it.

This one is tough to reproduce, I do not even know how does it happen. Suddenly my friend and I were connected via mobile data with Xabber and it happens right there.

from jackal.

ortuman avatar ortuman commented on August 25, 2024

Mmmmmm, may this happen while one of you has the Xabber application in background???

from jackal.

readyblue avatar readyblue commented on August 25, 2024

@ortuman well we both have Xabber in the background most of the time, so it is very possible

from jackal.

ortuman avatar ortuman commented on August 25, 2024

and do you see any previous disconection in the logs?

from jackal.

readyblue avatar readyblue commented on August 25, 2024

I have found this
[DBG] stream:838 - SEND: <failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><malformed-request/></failure>

attaching full log:
full-503-error.txt

from jackal.

ortuman avatar ortuman commented on August 25, 2024

very useful! thanks!
I see why these messages are being resent as error...

RECV: <message to="[email protected]/xabber_dndsar61" id="wf3GR-1872" type="chat"><body>still-cannot-deliver</body><thread>lA2BJhSAmwCX</thread><active xmlns="http://jabber.org/protocol/chatstates"/><request xmlns="urn:xmpp:receipts"/></message>

notice that resource is in lowercase, though previously the stream was authenticated like Xabber_DNdsar61

...looks like the client is generating this condition...

I'll check the RFC to check if Xabber_DNdsar61 and xabber_dndsar61 should be considered as the same resource

from jackal.

ortuman avatar ortuman commented on August 25, 2024

Else if the JID is of the form <user@domain/resource> and no available resource matches the full JID, the recipient's server (a) SHOULD silently ignore the stanza (i.e., neither deliver it nor return an error) if it is a presence stanza, (b) MUST return a <service-unavailable/> stanza error to the sender if it is an IQ stanza, and (c) SHOULD treat the stanza as if it were addressed to <user@domain> if it is a message stanza.

so in case the JID doesn't match any active resource, the message SHOULD be delivered to all available resources... :)

I fix it asap!
(BTW, later I'll tackel the malformed-request issue)

Thanks for the report!!!

from jackal.

readyblue avatar readyblue commented on August 25, 2024

@ortuman many thanks man!

from jackal.

ortuman avatar ortuman commented on August 25, 2024

Fixed on 0.1.9 release

from jackal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.