Miranda NG Official Community Forum

Forum for English speaking Miranda NG users => Support/Help => Topic started by: viza on 28 05 2018, 07:21:09

Title: XMPP can't keep connection
Post by: viza on 28 05 2018, 07:21:09
From time to time my Jabber plugin is going to Offline status and I have always manually set it to Online  >:( However after couple of minutes it going to Offline status again. How to keep it alive? With Pidgin there is no such a problem.
Title: Re: XMPP can't keep connection
Post by: Vulpix on 28 05 2018, 13:47:10
It would be helpful if you provided your network log from Jabber so we could see why you get disconnected.

For the reconnection, you can use a plugin called KeepStatus to automatically reconnect to protocols that get disconnected, if the disconnection was not done by you on purpose.
Title: Re: XMPP can't keep connection
Post by: Goraf on 28 05 2018, 18:10:21
KeepStatus was merged into StatusManager plugin
Title: Re: XMPP can't keep connection
Post by: viza on 29 05 2018, 06:17:06
Where I can find this network log?
I remember on the previous version of Miranda, KeepStatus plugin helped me only particularly - instead of manual re-connection it did it this automatically. Anyway, the reason of disconnection is not clear.
Title: Re: XMPP can't keep connection
Post by: Goraf on 29 05 2018, 06:23:13
https://wiki.miranda-ng.org/index.php?title=Network_log (https://wiki.miranda-ng.org/index.php?title=Network_log)
Title: Re: XMPP can't keep connection
Post by: viza on 29 05 2018, 09:17:23
OK, this is log file from start to disconnect (2 min 20 sec)
Title: Re: XMPP can't keep connection
Post by: ghazan on 05 06 2018, 12:01:12
viza,
thanks for the log, yes, the problem is in your server: it publishes a <feature var='urn:xmpp:ping'/>, but never responds to such packets.
if you know which server do you use, please inform me

for now, to avoid the problem, you can disable Keep-alive packets in options
(https://farm2.staticflickr.com/1755/27714148927_9a2a91ba01_o.jpg)
Title: Re: XMPP can't keep connection
Post by: AnrDaemon on 05 06 2018, 13:55:33
The best is to also inform the server owner of such issue.
Title: Re: XMPP can't keep connection
Post by: viza on 18 10 2018, 06:14:50
if you know which server do you use, please inform me
Server is running on CentOS 7
for now, to avoid the problem, you can disable Keep-alive packets in options
Sorry, picture is no longer aviable ;( You mean check box "Keep connection alive"? Yes, seems it works, thank you! Must server admin change something?
Title: Re: XMPP can't keep connection
Post by: ghazan on 19 10 2018, 14:55:27
Server is running on CentOS 7Sorry, picture is no longer aviable ;( You mean check box "Keep connection alive"? Yes, seems it works, thank you! Must server admin change something?
no, I meant the version of XMPP server

Server is running on CentOS 7Sorry, picture is no longer aviable ;( You mean check box "Keep connection alive"? Yes, seems it works, thank you! Must server admin change something?
If a server does not support server ping, it must not declare the appropriate namespace in its features. Yes, your admin should fix it
Title: Re: XMPP can't keep connection
Post by: BlackCat on 22 10 2018, 17:46:03
I have this problem, but with the Discord service.