|
Symptom: I can still load the idom page, but any events on the page are not registered. Unclear what the trigger for this error is but it happens the most on pages that are open for 24+ hours. Restarting the python app is required to fix. Stack trace is below. |
Answered by
rmorshea
Jun 11, 2021
Replies: 1 comment 5 replies
|
It seems like this error is related to the client unexpectedly closing the connection for any of the reasons described in the The problem with IDOM then, is the fact that you have to restart the service to get it working again. Maybe the way to fix this is by putting a try/except for |
5 replies
Answer selected by
rmorshea
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like this error is related to the client unexpectedly closing the connection for any of the reasons described in the
websocketsdocs. I suppose this disconnect event is tied to your infrastructure and client connectivity issues.The problem with IDOM then, is the fact that you have to restart the service to get it working again. Maybe the way to fix this is by putting a try/except for
ConnectionClosedErroraround these two lines: