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

Error: This socket has been ended by the other party. #14

Open
wcchh opened this issue Jun 22, 2016 · 1 comment
Open

Error: This socket has been ended by the other party. #14

wcchh opened this issue Jun 22, 2016 · 1 comment

Comments

@wcchh
Copy link

wcchh commented Jun 22, 2016

step:

  1. play a video and wait for play-end.
  2. play another video, then error occurred.

And we could found "device.client_.socket_.destroyed" is "true". socket connection has lost but we seems not be informed and has no method to reconnect it.

If someone could provide

  1. lost connection notify.
  2. a method to sockets reconnect will be good.

Thanks.

@wcchh
Copy link
Author

wcchh commented Jun 23, 2016

And then I found it's a keep alive case. Sockets will be closed after 1 minute caused by timeout (I think).
Thus we also could fix this issue by polling status of deices in 1 minute.

Suggestion: Please add this information in ReadME.

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

No branches or pull requests

1 participant