Author Topic: XMPP can't keep connection  (Read 8012 times)

0 Members and 3 Guests are viewing this topic.

Offline viza

  • Newbie
  • *
  • Posts: 22
  • Country: lt
XMPP can't keep connection
« 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.
 

Offline Vulpix

Re: XMPP can't keep connection
« Reply #1 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.
 

Offline Goraf

Re: XMPP can't keep connection
« Reply #2 on: 28 05 2018, 18:10:21 »
KeepStatus was merged into StatusManager plugin
 

Offline viza

  • Newbie
  • *
  • Posts: 22
  • Country: lt
Re: XMPP can't keep connection
« Reply #3 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.
 

Offline Goraf

 

Offline viza

  • Newbie
  • *
  • Posts: 22
  • Country: lt
Re: XMPP can't keep connection
« Reply #5 on: 29 05 2018, 09:17:23 »
OK, this is log file from start to disconnect (2 min 20 sec)
 

Offline ghazan

Re: XMPP can't keep connection
« Reply #6 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
 

Offline AnrDaemon

Re: XMPP can't keep connection
« Reply #7 on: 05 06 2018, 13:55:33 »
The best is to also inform the server owner of such issue.
 

Offline viza

  • Newbie
  • *
  • Posts: 22
  • Country: lt
Re: XMPP can't keep connection
« Reply #8 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?
« Last Edit: 18 10 2018, 06:40:49 by viza »
 

Offline ghazan

Re: XMPP can't keep connection
« Reply #9 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
 

Offline BlackCat

  • Newbie
  • *
  • Posts: 10
Re: XMPP can't keep connection
« Reply #10 on: 22 10 2018, 17:46:03 »
I have this problem, but with the Discord service.