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
Copying and running the code from the README yields the following error:
connection handler failed
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 945, in transfer_data
message = await self.read_message()
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 1015, in read_message
frame = await self.read_data_frame(max_size=self.max_size)
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 1090, in read_data_frame
frame = await self.read_frame(max_size)
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 1145, in read_frame
frame = await Frame.read(
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/framing.py", line 70, in read
data = await reader(2)
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/asyncio/streams.py", line 721, in readexactly
raise exceptions.IncompleteReadError(incomplete, n)
asyncio.exceptions.IncompleteReadError: 0 bytes read on a total of 2 expected bytes
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/server.py", line 232, in handler
await self.ws_handler(self)
File "/Users/johnwaidhofer/Desktop/Projects/ypy-websocket/ypy_websocket/websocket_server.py", line 105, in serve
async for message in websocket:
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 482, in __aiter__
yield await self.recv()
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 553, in recv
await self.ensure_open()
File "/opt/homebrew/Caskroom/miniforge/base/envs/ypy/lib/python3.8/site-packages/websockets/legacy/protocol.py", line 921, in ensure_open
raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: no close frame received or sent
System Info
OS: MacOS Monterey 12.5.1
Python version: 3.8.12
Architecture: ARM
The text was updated successfully, but these errors were encountered:
Copying and running the code from the README yields the following error:
System Info
The text was updated successfully, but these errors were encountered: