Comments (10)
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.
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.
Mmmmmm, may this happen while one of you has the Xabber application in background???
from jackal.
@ortuman well we both have Xabber in the background most of the time, so it is very possible
from jackal.
and do you see any previous disconection in the logs?
from jackal.
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.
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.
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.
@ortuman many thanks man!
from jackal.
Fixed on 0.1.9
release
from jackal.
Related Issues (20)
- Add repository.Private cached type
- Add repository.Offline cached type
- Add repository.Last cached type
- Add repository.Capabilities cached type
- Add repository.BlockList cached type
- XEP-0227: Portable Import/Export Format for XMPP-IM Servers
- New maintainer(s) needed HOT 3
- Move into the organization HOT 2
- Refactor storage model to provide other alternatives besides an RDBMS / SQL db HOT 3
- Websocket connection? HOT 2
- no pepper keys defined? HOT 1
- Getting Started: go get won't work any more HOT 4
- Cannot install with go install
- jackalctl will create invalid users HOT 3
- Add support for XEP-0163: Personal Eventing Protocol
- Authentication failure HOT 2
- VoIP HOT 1
- Digging into logger configuration
- Docker-compose doesn't work HOT 2
- ⚠️ Looking for a new maintainer ⚠️ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jackal.