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

Socket is disconnecting if I don't send/receive data through it for a certain time #102

Open
LokiKartik opened this issue Mar 14, 2018 · 2 comments

Comments

@LokiKartik
Copy link

Hi,
I am using angular2-websocket for my angular 5 app. If there is no interaction between server and client for around 2 minutes, I am getting error
"The connection to ws://localhost:9001/socket was interrupted while the page was loading" and socket gets disconnected. I tested in Firefox 58.0.2. Is it the problem with socket configuration or with browser?

@sau-lanvy
Copy link
Contributor

I think there's an issue with Firefox. You can try to reconnect to server with the timeout.

@sau-lanvy
Copy link
Contributor

sau-lanvy commented Apr 6, 2018

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

2 participants