-
Notifications
You must be signed in to change notification settings - Fork 58
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
Problem: io.emit after socket.on | ESP8266 & nodejs #28
Comments
If you can send several times before it freezes I would suspect a memory overflow. If you don't need the large buffer i would make it smaller. |
Hi, have you tried increasing the delay from 500 to maybe 5000 |
Thank you for your quick response and your ideas. I tried what you mentioned but it could not solve my problem.
|
Hi, where are you emitting the data? back to the ESP8266? |
I’m using a WeMos D1 mini. But everything works just fine now. I’m emitting data from various ESPs to a web application which joins its own room. From: washo4evr [mailto:notifications@github.com] Hi, where are you emitting the data? back to the ESP8266? — |
Hi,
thank you very much for providing your library. Everything I'm doing works just fine expect one problem:
I send a JSON every 500ms. I'm receiving the data on my nodejs server but as soon as I want to emit the data instantly it suddenly stops. (it works 4 to 6 times before it freezes).
Arduino:
JavaScript
I would be very grateful if you have an idea to this issue. I reached my limits.
The text was updated successfully, but these errors were encountered: