python-websocket-server icon indicating copy to clipboard operation
python-websocket-server copied to clipboard

A simple fully working websocket-server in Python with no external dependencies

Results 40 python-websocket-server issues
Sort by recently updated
recently updated
newest added

Hi, when I reload or close my client page the following Error comes up. Btw, I have a loop in my function, which is called when a message is received....

I inserted the key.pem and cert.pem in the same directory with the py script and tried to specify the absolute path and relative path and got the same error. (777...

Python-dbg detected warning during websocket server working: > [INFO 2023.04.12 21:14:58 Thread-2:warnings.py:30][_showwarnmsg_impl]: ****:164: ResourceWarning: unclosed > if check_str in list(self.check_pattern_callbacks.keys()): > Object allocated at (most recent call last): > File...

improved cyclomatic difficulty from level C to level A (checked with radon)

I do have reason to believe that this works.

Sometimes getting a weird error. Not sure on what action exactly... 2018-08-24 10:13:03,075 DEBUG webserver client left: None ---------------------------------------- Exception happened during processing of request from ('122.228.10.51', 26823) Traceback (most...

After executing disconnect_clients_abruptly() self.clients list is cleared. ``` def _client_left_(self, handler): client = self.handler_to_client(handler) self.client_left(client, self) if client in self.clients: self.clients.remove(client) ``` Sometimes handle() function finished after this in point...

_terminate_client_handlers uses "for" cycle for clients disconnecting: ``` for client in self.clients: self._terminate_client_handler(client["handler"]) ``` It executes _client_left_ as finish(), there client is removed form self.clients list. It leads to an...

Hi, first of all, thanks for this great lib ! Quick question : ``` WebsocketServer(host="0.0.0.0", port=12345) ``` will that allow a connection using IPV6 ? if not, is there a...