← index #408Issue #8177
Related · high · value 4.980
QUERY · ISSUE

No Example for uasyncio SSL webserver

openby Asanga-Virajopened 2021-01-12updated 2021-01-12

No example for uasyncio SSL webserver. Also couldn't find any on the internet. Looking for support.

CANDIDATE · ISSUE

Simple example of uasyncio WebSocket Server (secure - with SSL)

closedby beyonloopened 2022-01-14updated 2026-03-19

Hi all.

I would like a simple example of uasyncio WebSocket Server (secure - with SSL). I see that there is a official uwebsocket module implemented on MicroPython.

>>> import os
>>> os.uname()
(sysname='esp32', nodename='esp32', release='1.17.0', version='v1.17 on 2021-09-02', machine='ESP32 module (spiram) with ESP32')
>>> import uwebsocket
>>>

Well, so I found a example (https://github.com/micropython/micropython/blob/master/extmod/webrepl/webrepl.py) that use the official uwebsocket module. Need just to add SSL + uasyncio on that example.

Thank you in advance!

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied