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
Running this test program, with a settings.toml containing valid values for CIRCUITPY_WIFI_SSID and CIRCUITPY_WIFI_PASSWORD, will cause a hard fault with a few minutes.
It takes around 1-5 minutes to restart in safe mode, though I have seen it run longer. No interaction with the HTTP server is needed. I simply restart code.py and wait.
importwifiimportsocketpoolfromadafruit_httpserverimportServerimporttimetime.sleep(5)
print("IP addr", wifi.radio.ipv4_address)
pool=socketpool.SocketPool(wifi.radio)
server=Server(pool, debug=False)
# port 80 will get EADDRINUSE due to web workflow# Either IP adddress will cause a crash eventually.server.start("0.0.0.0", 8000)
#server.start(str(wifi.radio.ipv4_address), 8000)whileTrue:
try:
server.poll()
exceptExceptionase:
print(type(e))
Either server.start() can cause a crash: the wildcard IP address or the actual IP address don't matter.
I have reproduced this only on a QT Py ESP32-C3. I cannot reproduce on a QT ESP32-S3, with no PSRAM.
Running this test program, with a
settings.toml
containing valid values forCIRCUITPY_WIFI_SSID
andCIRCUITPY_WIFI_PASSWORD
, will cause a hard fault with a few minutes.It takes around 1-5 minutes to restart in safe mode, though I have seen it run longer. No interaction with the HTTP server is needed. I simply restart code.py and wait.
Either
server.start()
can cause a crash: the wildcard IP address or the actual IP address don't matter.I have reproduced this only on a QT Py ESP32-C3. I cannot reproduce on a QT ESP32-S3, with no PSRAM.
[replaces #9735]
The text was updated successfully, but these errors were encountered: