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

0 Members and 1 Guest are viewing this topic.

Offline vizaTopic starter

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
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

  • Beta Tester
  • *****
  • Posts: 595
  • Country: 00
  • Karma: 15
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

  • Beta Tester
  • *****
  • Posts: 265
  • Karma: 13
Re: XMPP can't keep connection
« Reply #2 on: 28 05 2018, 18:10:21 »
KeepStatus was merged into StatusManager plugin
 

Offline vizaTopic starter

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
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

  • Beta Tester
  • *****
  • Posts: 265
  • Karma: 13
 

Offline vizaTopic starter

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
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

  • Miranda NG founder
  • Administrator
  • *****
  • Posts: 549
  • Country: ru
  • Karma: 41
  • Jabber ID
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

  • Full Member
  • ***
  • Posts: 249
  • Country: 00
  • Karma: 5
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 vizaTopic starter

  • Newbie
  • *
  • Posts: 9
  • Karma: 0
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

  • Miranda NG founder
  • Administrator
  • *****
  • Posts: 549
  • Country: ru
  • Karma: 41
  • Jabber ID
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: 7
  • Karma: 0
Re: XMPP can't keep connection
« Reply #10 on: 22 10 2018, 17:46:03 »
I have this problem, but with the Discord service.