You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Got an ESP32 (M5Stack), and making a simple Https request fails.
Tried soft reset and reboot.
Copied source from urequests and ran it manually with gc.collect at everypoint.
Still fell over at the same place.
Falls over when executing s = ussl.wrap_socket(s, server_hostname=host).
Bombs with Error 12, ENOMEM
The text was updated successfully, but these errors were encountered:
Which firmware version are you using? How many concurrent HTTP requests are you doing and/or does it always fail on the first request or only on subsequent ones?
This is quite possibly related to #5303 , in which case you might have more luck with an IDF3 build, or a newer IDF4 build.
FYi, despite the ENOMEM error, the memory used by wrap_socket doesn't come from the MicroPython heap, which is why gc.collect() does not help.
Got an ESP32 (M5Stack), and making a simple Https request fails.
Tried soft reset and reboot.
Copied source from
urequests
and ran it manually withgc.collect
at everypoint.Still fell over at the same place.
Falls over when executing
s = ussl.wrap_socket(s, server_hostname=host)
.Bombs with
Error 12, ENOMEM
The text was updated successfully, but these errors were encountered: