Skip to content

Websocket Connection Closed  #33

Description

@Hegelim

Ran a test recording on 05/24, the recording lasted 5 minutes before it exited with error

future: <Task finished name='Task-636' coro=<ConnectionManager.broadcast() done, defined at /Mocap/multi_camera/backend/fastapi.py:106> exception=WebSocketDisconnect()>
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/uvicorn/protocols/websockets/websockets_impl.py", line 331, in asgi_send
    await self.send(data)  # type: ignore[arg-type]
  File "/usr/local/lib/python3.8/dist-packages/websockets/legacy/protocol.py", line 647, in send
    await self.write_frame(True, opcode, data)
  File "/usr/local/lib/python3.8/dist-packages/websockets/legacy/protocol.py", line 1209, in write_frame
    await self.drain()
  File "/usr/local/lib/python3.8/dist-packages/websockets/legacy/protocol.py", line 1198, in drain
    await self.ensure_open()
  File "/usr/local/lib/python3.8/dist-packages/websockets/legacy/protocol.py", line 939, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedOK: received 1001 (going away); then sent 1001 (going away)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/starlette/websockets.py", line 88, in send
    await self._send(message)
  File "/usr/local/lib/python3.8/dist-packages/starlette/_exception_handler.py", line 50, in sender
    await send(message)
  File "/usr/local/lib/python3.8/dist-packages/uvicorn/protocols/websockets/websockets_impl.py", line 344, in asgi_send
    raise ClientDisconnected from exc
uvicorn.protocols.utils.ClientDisconnected

During handling of the above exception, another exception occurred:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions