Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random disconnection from Google CCS (Cloud Connection Server) #78

Open
toledomatias opened this issue Jan 17, 2017 · 2 comments
Open

Comments

@toledomatias
Copy link

I have a WebApi app in a VPS with Jabber-Net that connects to Google CCS, who notifies when a XMPP message arrives from an Android app on a device. Everything works perfect, but randomly, after 7, 10 hours, stops receiving messsage from CCS. No event is called (I captured every of them)

@ForNeVeR ForNeVeR self-assigned this Jan 18, 2017
@ForNeVeR
Copy link
Member

ForNeVeR commented Jan 18, 2017

Probably that's a network connection issue? Theoretically, Jabber-Net should generate error event in that case, but not every network issue can be reliably detected by client.

  1. I'll check if Jabber-Net always calls error handlers on network errors.
  2. I think that the general solution is to use XEP-0199: XMPP Ping to detect any network issues, but I don't think that ping is implemented in Jabber-Net. I'll create a feature issue for that (XEP-0199: XMPP Ping #80).

@ForNeVeR
Copy link
Member

@toledomatias currently I'd recommend you to implement ping yourself. Joe Hildebrand, original Jabber-Net author, have written this excellent answer at StackOverflow that could help you.

@ForNeVeR ForNeVeR removed their assignment May 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants