-
Notifications
You must be signed in to change notification settings - Fork 40
An error occurs when using Jsonrpcserver over WebSocket with Python3.12 #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Try the example here: I just tried it with Python 3.12.6 and it worked fine. |
Thanks a lot, @bcb. Using websockets.server.serve instead of websockets.serve resolved the bug, but still getting a DeprecationWarning. I use |
Is it a warning from jsonrpcserver or websockets? |
From websockets @bcb
|
It looks like the usage of the websockets library has changed in recent versions. I should update the example. |
When using jsonrpcserver over WebSocket with Python 3.10, there is no problem, but with Python 3.12, an error occurs:
Below is my test codes:
server.py
client.py
The text was updated successfully, but these errors were encountered: