-
Notifications
You must be signed in to change notification settings - Fork 2
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
websocket messages are being dropped #9
Comments
We decided that the best + easiest workaround is to actually close the websocket connection from the server side after a short delay. That should give the browser enough time to actually read + process all datapoints before the connection close causes it to lose the final points. |
@mccanne rightly pointed out that we should keep this github issue open until we fix the problem within the client, or decide that it's really impossible to fix within the client. |
Reopening to track a better fix in the client. |
This is a fix for #131, taking parts of the fix from juttle-engine for juttle/juttle-engine#9. I didn't bother with a fully configurable timeout. I did copy over a unit test to ensure that there is a delay between the job_end message and the websocket being closed.
I updated bug description as it is still reproducing; the fix in this commit moved the failure point out, but it can still be reached. We are still getting user reports from the field running into this. The repro program is in the description. |
This bug is my nemesis! Let me know if there's anything I can do to help fix it. |
@davidbcook, i just pushed a fix in |
That worked! |
Was able to reproduce the issue outside of |
This bug is still reproducing even with this fix in place.
There have been some reports of outrigger not showing all the points coming out of a juttle program, see original bug report in juttle/outrigger#131 with debugging notes.
A program to reproduce this (originally was reproing with 1 chart, now needs 4):
The json file (needs to be renamed to .json): dense.txt
If you run this program, you will get 3 timecharts fully loaded, but without context charts underneath, and Chart Four will be "Waiting for data" with nothing rendered.
Reproduces on build [email protected]
The text was updated successfully, but these errors were encountered: