-
Notifications
You must be signed in to change notification settings - Fork 1k
Example for uasyncio.websocket.server fails #405
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
Hello @damiencorpataux Did you success run any example of uasyncio websocket server? I need to run a websocket server on ESP32 too, but I would like in secure mode, with SSL. But that official link in your example https://github.com/micropython/micropython-lib/blob/master/uasyncio.websocket.server/example_websock.py do not exists anymore. And, in new MicroPython structured I not found too :( Thank you. |
"Stream object has no attribute ios" |
Not enough information to help sorry. |
For async websocket server, see https://github.com/miguelgrinberg/microdot |
@jimmo how to use upip to install microdot ?
|
@QGB upip has been essentially unsupported for a few years. I don't believe microdot has ever been installable by Coincidentally, I just published In the meantime you can install manually by copying the required files (either just microdot.py, or both microdot.py and microdot_asyncio.py if you want the async version). |
I need to run a websocket server on ESP32 and the official example raises the following exception when I connect from any client:
My micropython firmware and libraries:
My
main.py
:The text was updated successfully, but these errors were encountered: