websockets icon indicating copy to clipboard operation
websockets copied to clipboard

Library for building WebSocket servers and clients in Python

Results 106 websockets issues
Sort by recently updated
recently updated
newest added

How can nginx read the .sock file if websockets does not give it permission?

I am using `websockets==13.1` and have reviewed the documentation. The websockets library includes a keep-alive feature that sends an empty ByteFrame as a ping message. How can I modify the...

documentation

Hey Aymeric, I noticed that by this line https://github.com/python-websockets/websockets/blob/98f236f89529d317628fe8ee3d4d0564e675f68d/src/websockets/asyncio/client.py#L525 the full traceback of the current Exception is included in the log message, which looks confusing to me. Example ``` [2024-09-13...

enhancement

While implementing an Asyncio server (with the new API) - I am unable to catch the InvalidMessage exception that can occur. It is correctly logged as an error, but then...

question

An upstream change in CPython >= 3.12 changes the behaviour of `asyncio.Server.serve_forever()` to wait for all clients to disconnect voluntarily before returning upon cancellation. There is discussion to change this...

documentation

Hi again, I implemented the connection tracking and graceful server shutdown procedure that I explained in [issue #1488](https://github.com/python-websockets/websockets/issues/1488#issuecomment-2778939350). ### Server shutdown behavior In the current version, the sync server does...

Ensures the sync connection is closed when the object is garbage collected. While in a perfect world, everyone would correctly use the context manager, I've found this is not the...

Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.22.0 to 2.23.3. Release notes Sourced from pypa/cibuildwheel's releases. v2.23.3 🛠 Dependency updates, including Python 3.13.3 (#2371) v2.23.2 🐛 Workaround an issue with pyodide builds when running...

dependencies
github_actions

## Scenario I have a /healthz endpoint on my websocket server, used as a kubernetes health check. ## What I expected to happen If the websocket connection upgrade headers aren't...

enhancement