Skip to content
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

sometimes websocket is not working in codespaces envs #193

Open
lucafaggianelli opened this issue Oct 2, 2023 · 0 comments
Open

sometimes websocket is not working in codespaces envs #193

lucafaggianelli opened this issue Oct 2, 2023 · 0 comments
Labels
can't reproduce cat:Backend enhancement New feature or request hacktoberfest Issues good for https://hacktoberfest.com

Comments

@lucafaggianelli
Copy link
Owner

lucafaggianelli commented Oct 2, 2023

This is not strictly a bug in the code but rather a problem with the codespaces environment

trace from uvicorn

INFO:     ('10.240.0.222', 0) - "WebSocket /api/ws/" [accepted]
DEBUG:    > HTTP/1.1 101 Switching Protocols
DEBUG:    > Upgrade: websocket
DEBUG:    > Connection: Upgrade
DEBUG:    > Sec-WebSocket-Accept: RJOTuApJXEGTS5phKWIYE8hdbcM=
DEBUG:    > Sec-WebSocket-Extensions: permessage-deflate
DEBUG:    > date: Mon, 02 Oct 2023 13:03:12 GMT
DEBUG:    > server: uvicorn
INFO:     connection open
DEBUG:    = connection is OPEN
DEBUG:    ! failing connection with code 1006
DEBUG:    = connection is CLOSED
DEBUG:    x half-closing TCP connection
WS Error 1006
INFO:     connection closed
@lucafaggianelli lucafaggianelli added bug Something isn't working enhancement New feature or request cat:Backend hacktoberfest Issues good for https://hacktoberfest.com labels Oct 2, 2023
@lucafaggianelli lucafaggianelli changed the title websocket is not working in codespaces envs sometimes websocket is not working in codespaces envs Oct 2, 2023
@lucafaggianelli lucafaggianelli added can't reproduce and removed bug Something isn't working labels Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can't reproduce cat:Backend enhancement New feature or request hacktoberfest Issues good for https://hacktoberfest.com
Projects
None yet
Development

No branches or pull requests

1 participant