Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I have a problem about livestreaming connection starlette.websockets.WebSocketDisconnect: 1006 #2382

Closed
diddmstjr07 opened this issue Dec 21, 2023 · 0 comments

Comments

@diddmstjr07
Copy link

diddmstjr07 commented Dec 21, 2023

ERROR: Exception in ASGI application
Traceback (most recent call last):
File "D:\backend\app.py", line 22, in websocket_endpoint
data = await websocket.receive_bytes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\eunse\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\starlette\websockets.py", line 122, in receive_bytes
self._raise_on_disconnect(message)
File "C:\Users\eunse\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\starlette\websockets.py", line 105, in _raise_on_disconnect
raise WebSocketDisconnect(message["code"])
starlette.websockets.WebSocketDisconnect: 1006

I'm using Fastapi socket connection in Server and using python websocket module in client computer. I was making livestreaming service, but after 30 second I started client camera python program, the error what I said upper happen. the error message upper is printed in Server console. I check by connected with ssh protocol. I use window 11 server by open 8000 port.
Please help me

Important

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@encode encode locked and limited conversation to collaborators Dec 21, 2023
@Kludex Kludex converted this issue into discussion #2383 Dec 21, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant