ocilo / skype-http

Unofficial Skype API for Node.js via HTTP
https://ocilo.github.io/skype-http
MIT License
51 stars 24 forks source link

Automatically register a new endpoint on expiration #35

Open demurgos opened 7 years ago

demurgos commented 7 years ago

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 commented 6 years ago

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