circuitpython: web workflow broken on ESP32 V2 with 8.0.2

CircuitPython version

CircuitPython 8.0.2 on Adafruit Feather ESP32 V2

Code/REPL

N/A

Behavior

N/A

Description

In CircuitPython 8.0.2 with ESP32 V2, whenever a file is uploaded (PUT) or deleted (DELETE) the web workflow gets broken because the board no longer listens for TCP connections on port 80.

Downgrading to 8.0.0 beta 4 fixes the problem. https://github.com/adafruit/circuitpython/commit/f8ac1d9261c087d1f65886036289c2121c32cc0f#diff-43f36ea6fd6b4d28f257e55f3f1f29a9890e72c88d7b56164d77ab5691b704cc looks suspicious to me.

Additional information

See https://forums.adafruit.com/viewtopic.php?p=961741 for more details.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 29 (4 by maintainers)

Most upvoted comments

@vladak , This probably isn’t the fix but I’d be curious if the attached adafruit_feather_esp32_v2 firmware resolves the issues you are seeing.

firmware.zip

The code that identifies as 8.1.0-alpha.2-17-g00a03c323-dirty indeed resolves the issue. Using my version of circup that supports web workflow I can install and uninstall libraries consisting of multiple files without issue. The code.py uploader above (which I modified a bit to run the upload in a short cycle) works as well. Hurray !

I get the issue on a FunHouse too, when I try to upload a file, it returns 409 as it should because the drive is mounted, but still auto-reloads, and after that the web workflow stops responding. The issue also happens when creating a directory but ONLY if the directory is really created, not if it already exists, or if the drive is mounted. Which is also the only case where it triggers an auto-reload.