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

Auto disconnect #60

Open
ngvietdung96 opened this issue Oct 29, 2018 · 1 comment
Open

Auto disconnect #60

ngvietdung96 opened this issue Oct 29, 2018 · 1 comment

Comments

@ngvietdung96
Copy link

Hi, after few time with my ESP32 project, when i connect and don't communicate anything with server, after few second it'll disconnect from socket.io server.

hope you check that problem. Have a nice day.

@HRahikainen
Copy link

Yes. I would also like to know, if you need to manually send the client.heartbeat() and how to use it. It seems to me that my ESP32 cliient disconnects after the 20-30 seconds that it isn't sending or receiving. I'm not explicitly sending heartbeat from the server (express/nodejs) at the moment. My connection to this hardware piece needs to stay online.

Hope you see this and thanks for your work so far.

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