-
Notifications
You must be signed in to change notification settings - Fork 12
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
last println not rebeing recieved.. #4
Comments
Thanks for your report. I found that the problem you encountered may not be caused by this library, but by ESPAsyncWebServer (I think this is a feature of the library, although there are some things that can be improved). As you can see in https://github.com/me-no-dev/ESPAsyncWebServer/blob/f71e3d427b5be9791a8a2c93cf8079792c3a9a26/src/AsyncWebSocket.cpp#L550 , they limit the length of queue, and they define the max length of queue to 8 for ESP8266, you can check in https://github.com/me-no-dev/ESPAsyncWebServer/blob/f71e3d427b5be9791a8a2c93cf8079792c3a9a26/src/AsyncWebSocket.h#L30. So if you want to send many messages through websocket rapidly, I recommand you make a temp storage. Or you can edit the ESPAsyncWebServer to solve this problem. By the way, I create a PR try to let user config the WS_MAX_QUEUED_MESSAGES (esphome/ESPAsyncWebServer#10), hope it can be proved.XD |
If your problem is solved, you can close this issue. |
I am having the same problem, and it makes WebserLite quite unusable. The output appearing on the browser is good for the first few lines, then it gets totally garbled. I have the same problem with Webser non-lite, which points to the issue that you raised -- it being a problem with async websocket. I will check your recommendation above, and if it does not fix the problem, I will be back. Also, how do I make the window larger both horizontally and vertically. How can I do: Thanks! |
You can find that I put If you have any questions please feel free to ask and if this library helps you please give it a star, thank you😀. |
abaove code prints.. but the last printline not being recieved "streamdata" not printed..
The text was updated successfully, but these errors were encountered: