-
Notifications
You must be signed in to change notification settings - Fork 178
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
bug: RPC WebSocket disconnects if protocol is > ~1 MB #6159
Comments
I could also reproduce this running the robot server locally with |
Upon investigation, two problems:
So the summary of events is:
Eventually, these logs show up in the robot server:
A The app's dev tools report the upload command message to be 1171956 bytes long (~1.2 MB) |
We seem to have a problem with our WebSocket server. If any given message is > 1 MB, the socket is closed
This ticket will track this bug. I will file a new ticket for the app missing WebSocket disconnects when the robot is otherwise healthy |
Overview
A seemingly valid PD protocol will cause the app to throw a ACK Timeout error when uploaded to the robot. No errors can be observed in the robot logs.
Update:
This seems to be caused by the robot server ending the real-time connection if any given message is greater than 1MB. In this case, the protocol itself is larger than 1MB, so the upload command causes the connection to end unexpectedly
Current behavior / Steps to reproduce
journalctl -f
opentrons_simluate
.The text was updated successfully, but these errors were encountered: