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

The problem is, after a certain number of messages are sent from the server, the client cannot receive the messages. I created a websockets server. I called the send_node_data function...

Python 3.11 incompatible with websockets\legacy\protocol.py Error "got an unexpected keyword argument 'loop'" The following places is where this happens, fix is simply remove 'loop' argument. WebSocketCommonProtocol.__init__ FROM: self._drain_lock = asyncio.Lock(...

When trying to load websockets, I get an error message saying: ModuleNotFoundError: No module named 'websockets.imports' When looking into the __init__.py script, line 5: from .imports import lazy_import an error...

documentation

Reading past issues and using it myself, I realized that the threading implementation can get more love. Not all of us want to use asyncio or mix asyncio code with...

Hello, I am using the threading client implementation. The problem I am facing is when I try to close the connection while stuck in the **_ClientConnection.recv_** method, the network connection...

bug

Versions: websockets 12.0 Python 3.10.13 On the examples ([readthedocs](https://websockets.readthedocs.io/en/stable/howto/quickstart.html), [github](https://github.com/python-websockets/websockets/blob/main/example/quickstart/server_secure.py)) the server is able to connect via https; but any attempts to connect via http no longer connect, only immediate...

Sorry if this is a trivial question, but I've spend a lot of time on it by now. I wrote a server that does wesocket connection and session management, and...

This doc page gives a hello-world example: https://websockets.readthedocs.io/en/stable/index.html using the `asyncio` paradigm. > It supports several network I/O and control flow paradigms: > The default implementation builds upon [asyncio](https://docs.python.org/3/library/asyncio.html#module-asyncio), Python’s...

documentation

e.g. there could be connection close bugs because TLS connections don't support half-closing.

bug
low priority

I'm writing a websocket client and having trouble reconciling resiliency and authentication error handling. I'm using HTTP basic auth in my backend, sending the auth details as an extra header...

enhancement