Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Session not found" error #1317

Closed
laszlovl opened this issue Nov 9, 2018 · 0 comments

Comments

@laszlovl
Copy link
Contributor

commented Nov 9, 2018

When Converse sends chatstate to an offline user, Ejabberd will return an error. (See processone/ejabberd#1727). Since there is no impact for undelivered chatstate messages anyway, this error should be hidden from the end user.

<message xml:lang="en" type="error" xmlns="jabber:client">
<active xmlns="http://jabber.org/protocol/chatstates"/>
<no-store xmlns="urn:xmpp:hints"/>
<no-permanent-store xmlns="urn:xmpp:hints"/>
<error code="503" type="cancel">
<service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xml:lang="en" xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">User session not found</text></error>
</message>

From the chat:

‎[13:30:24] ‎MattJ‎: ejabberd includes the original content, Prosody does not (and no idea about other servers)
‎[13:30:49] ‎MattJ‎: The id attribute is for error tracking, maybe the answer is to just remove it (and ignore errors with no id)

@jcbrand jcbrand added the bug label Nov 10, 2018

@jcbrand jcbrand added this to the 4.0.5 milestone Nov 10, 2018

@jcbrand jcbrand closed this in 7cb889b Nov 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.