All,
Don’t want to conflate this issue with the other issue we are having involving slow loads of workflows.
Another issue we are seeing with our multi-user hub v.8.2.3 (UISever v1.4) is that when a user will click on anything in the GUI. On occasion the GUI will disconnect from workflows (The red banner) and other users on that same cylc server will see themselves disconnected. it is sort of a luck of the draw whether or not you get reconnected from what I am hearing in so far as recovery. Not entirely sure how this manifests itself in the log but I have gathered an instance that has something that might look out of place. I don’t want to state the 2 issues are related but they do share the disconnects as a symptom. This log segment below shows that something might be up with the proxy connection we traverse but I am no expert at the Hub UI. Does anyone in the Cylc user group have experience with using Cylc via forwarded web proxy connections? Does the below disconnect point to anything in particular?
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: future:
<Task finished name='Task-16126'
coro=<TornadoSubscriptionServer.on_start() done, defined at /autofs/nccs-svm1_afw_sw/afw-system/cylc/8.2.3/lib64/python3.9/site-packages/cylc/uiserver/websockets/tornado.py:127>
exception=WebSocketClosedError()>
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: Traceback (most recent call last):
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/cylc/uiserver/websockets/tornado.py",
line 146, in on_start
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: await self.send_execution_result(
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/cylc/uiserver/websockets/tornado.py",
line 166, in send_execution_result
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: await super().send_execution_result(connection_context, op_id, execution_result)
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/graphql_ws/base_async.py",
line 189, in send_execution_result
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: await super().send_execution_result(connection_context, op_id, execution_result)
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/graphql_ws/base_async.py",
line 181, in send_message
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: return await connection_context.send(message)
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/cylc/uiserver/websockets/tornado.py",
line 47, in send
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: await
self.ws.write_message(data)
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/tornado/websocket.py",
line 331, in write_message
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: raise
WebSocketClosedError()
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]:
tornado.websocket.WebSocketClosedError
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: During handling of the above exception, another exception occurred:
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: Traceback (most recent call last):
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/cylc/uiserver/websockets/tornado.py",
line 149, in on_start
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: await self.send_error(connection_context, op_id, e)
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/graphql_ws/base_async.py",
line 181, in send_message
2023-11-21T01:09:52.198927+00:00 cylcXX cylc-hub.sh[176421]: return await connection_context.send(message)
2023-11-21T01:09:52.199959+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/cylc/uiserver/websockets/tornado.py",
line 47, in send
2023-11-21T01:09:52.199959+00:00 cylcXX cylc-hub.sh[176421]: await
self.ws.write_message(data)
2023-11-21T01:09:52.199959+00:00 cylcXX cylc-hub.sh[176421]: File "/autofs/storageXX/cylc/8.2.3/lib64/python3.9/site-packages/tornado/websocket.py",
line 331, in write_message
2023-11-21T01:09:52.199959+00:00 cylcXX cylc-hub.sh[176421]: raise
WebSocketClosedError()
2023-11-21T01:09:52.199959+00:00 cylcXX cylc-hub.sh[176421]:
tornado.websocket.WebSocketClosedError
2023-11-21T01:10:00.765346+00:00 cylcXX cylc-hub.sh[168504]: [D
2023-11-21T01:10:00.765 JupyterHub proxy:880] Proxy: Fetching GET
http://127.0.0.1:8001/api/routes--