You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
An similar error is coming on windows: #110
Traceback (most recent call last):
File "/usr/lib/python3.9/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/usr/lib/python3.9/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 271, in __init__
StreamRequestHandler.__init__(self, socket, addr, server)
File "/usr/lib/python3.9/socketserver.py", line 720, in __init__
self.handle()
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 284, in handle
self.read_next_message()
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 341, in read_next_message
opcode_handler(self, message_bytes.decode('utf8'))
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 163, in _message_received_
self.message_received(self.handler_to_client(handler), self, msg)
File "/home/pi/Desktop/dartsllerWebsocket.py", line 40, in message_received
server.send_message_to_all("Test"+","+"test"+","+str(t1))
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 81, in send_message_to_all
self._multicast(msg)
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 199, in _multicast
self._unicast(client, msg)
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 195, in _unicast
receiver_client['handler'].send_message(msg)
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 344, in send_message
self.send_text(message)
File "/home/pi/.local/lib/python3.9/site-packages/websocket_server/websocket_server.py", line 413, in send_text
self.request.send(header + payload)
BrokenPipeError: [Errno 32] Broken pipe
The text was updated successfully, but these errors were encountered:
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.
An similar error is coming on windows: #110
The text was updated successfully, but these errors were encountered: