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

Automatically register a new endpoint on expiration #35

Open
demurgos opened this issue May 13, 2017 · 1 comment
Open

Automatically register a new endpoint on expiration #35

demurgos opened this issue May 13, 2017 · 1 comment

Comments

@demurgos
Copy link
Member

If getMessages is not called for more than 2 minutes, the current endpoint is disconnected.

Trying to perform any call with the registrationToken leads to an error 404: {"errorCode":729,"message":"You must create an endpoint before performing this operation."}.

We should detect this kind of error and register a new endpoint.

@grigori-gru
Copy link
Contributor

Hello! Is there any way to solve this problem? I get error every second when when connected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants