psi-plus / main

Main repository with patches and required resources
https://psi-plus.com/
GNU Lesser General Public License v2.1
69 stars 20 forks source link

jabber connection lost #745

Closed madmanidze closed 4 years ago

madmanidze commented 5 years ago

Lost connection to jabber server (openfire), but client show account online.

Ri0n commented 5 years ago

what exactly do you mean by lost? what version of Psi are you using? Anything unusual in Psi's xml log?

Ri0n commented 5 years ago

Can you reproduce it every time? Do you have an account to test?

madmanidze commented 5 years ago

Psi+ v1.4.532

where i can find xml log?

Ri0n commented 5 years ago

in context menu of account in contacts list

madmanidze commented 5 years ago

psi starting fine, connect to jabber, then after some time - close group chat on this server and on server side client show offline.

madmanidze commented 5 years ago

ok, trying to collect logs.

madmanidze commented 5 years ago

https://pastebin.com/9pYMCT5v

<presence to="john@jabber-server.com/Psi+" type="unavailable" from="john@jabber-server.com/Psi+"/>

<presence to="john@jabber-server.com/Psi+" type="unavailable" from="conf@conference.jabber-server.com/john">
<show>xa</show>
<priority>30</priority>
<c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="http://psi-plus.com" ver="/048CkZCf5htI1869kIc1lkveJg="/>

<x xmlns="vcard-temp:x:update">
<photo>217b035871f10ef7b78e4666daaf5dba98d917df</photo>
</x>
<x xmlns="http://jabber.org/protocol/muc#user">
<item jid="john@jabber-server.com/Psi+" role="none" affiliation="owner"/>
<status code="110"/>
</x>
</presence>
Ri0n commented 5 years ago

Edited: first presence looks non-standard. rfc6121 doesn't describe server-generated unavailable presence stanzas from self-contacts. So I guess it's a kind of bug in Openfire

Ri0n commented 5 years ago

and of course closing a groupchat shouldn't affect client's status on server side. looks really like an openfire bug.

madmanidze commented 5 years ago

But all working fine on Ubuntu Xenial with 0.16.330 version. After upgrade to bionic and install psi-plus from ppa - got that bug...

Ri0n commented 5 years ago

since then stream management was integrated. you can try to disable it in account settings

madmanidze commented 5 years ago

that helped, thank you.

Vitozz commented 4 years ago

Look like problem resolved,