-
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.
|
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
It seems like this error is related to the client unexpectedly closing the connection for any of the reasons described in the
websockets
docs. 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
ConnectionClosedError
around these two lines: