The Propulsion Development Platform (PDP) Monitoring System is a web-based application that allows users to monitor the status of the engine controls and instrumentation. The PDP is a testbed for the development of propulsion systems, and the monitoring system is used to control valve actuation, monitor sensor readings, and record data.
0
stars
0
forks
source link
Mini PC websocket crashes when connection unexpectedly closed. #40
When the mini pc is running and a client is connected remotely over a websocket to it for instrumentation purposes, closing the connection causes the mini pc websocket to error and crash the program.
Acceptance Criteria
Add error handling so that when a websocket connection closes unexpectedly, it does not crash the mini pc side, and new connections can be made.
Description
When the mini pc is running and a client is connected remotely over a websocket to it for instrumentation purposes, closing the connection causes the mini pc websocket to error and crash the program.
Acceptance Criteria
Add error handling so that when a websocket connection closes unexpectedly, it does not crash the mini pc side, and new connections can be made.
Dev Notes
I noticed this happening while using the pyqt frontend https://github.com/UVicRocketry/PDP-Ground-Support/tree/PyQT-ui. When I closed the frontend, it crashed the minipc side too and produced a bunch of errors about websockets.
QA Notes
Linked issues