Thank you, yes the client/server you linked to does work ok with the deprecation warning. The original code as posted still fails on that same SD with the "no running event loop" error.Does the asyncio echo server example from PyPI https://pypi.org/project/websockets/ work OK for you?
It does on my Pi4 running latest Bullseye 64-bit with desktop and all updates, Python 3.9.2, websockets 14.0
- with "DeprecationWarning: websockets.server.serve is deprecated"
And a client for that echo server runs OK on a separate Pi5 running python 3.11 in a venv.
Also works OK with the asyncio echo server running on Pi5 Bookworm and the client on Pi4 Bullseye
Statistics: Posted by mercedes1954 — Sun Nov 10, 2024 4:42 pm