Open usr577 opened 1 year ago
It returns AttributeError: 'module' object has no attribute 'SSLContext' when using the post option and says line 87, so ctx = ussl.SSLContext() is wrong. Using micropython version 1.19.1 on esp32
AttributeError: 'module' object has no attribute 'SSLContext'
ctx = ussl.SSLContext()
You can:
remove line ctx = ussl.SSLContext()
replace ctx by ussl s = ussl.wrap_socket(s, server_hostname=host)
ctx
ussl
s = ussl.wrap_socket(s, server_hostname=host)
It returns
AttributeError: 'module' object has no attribute 'SSLContext'
when using the post option and says line 87, soctx = ussl.SSLContext()
is wrong. Using micropython version 1.19.1 on esp32