User session not found - error code 503

倾然丶 夕夏残阳落幕 提交于 2020-07-22 14:30:32

问题


When I write messages to a user who is offline - without sending it - I get an error

Your message was not send because of an error

pick error

response:

/http-bind/<body xmlns='http://jabber.org/protocol/httpbind'><message xml:lang='en' to='abogdanov@bingo-dev.ru/181473147433257603378' from='jabberadmin@bingo-dev.ru' type='error' xmlns='jabber:client'><paused xmlns='http://jabber.org/protocol/chatstates'/><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></body>

回答1:


Your client is trying to send "typing notifications" to indicate user you are typing, and doesn't handle errors well: it should not show errors for typing notifications (or not send it to offline at all?). Also, you may have disabled offline storage at your server and that is why server report errors.



来源:https://stackoverflow.com/questions/43979472/user-session-not-found-error-code-503

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!