Skip to content

Web Workflow unreachable after watchdog reset #10054

Open
@Neradoc

Description

@Neradoc

CircuitPython version and board name

Adafruit CircuitPython 9.2.4-44-g255eea9b9c on 2025-02-09; Seeed Studio XIAO ESP32C3 with ESP32-C3FN4
Adafruit CircuitPython 9.2.4-44-g255eea9b9c on 2025-02-09; Adafruit QT Py ESP32-S3 4MB Flash 2MB PSRAM with ESP32S3

Code/REPL

from microcontroller import watchdog as w
from watchdog import WatchDogMode
w.timeout = 30
w.mode = WatchDogMode.RESET
w.feed()

while True:
    pass

Behavior

When a board is reset by the watchdog module, the web workflow stops responding. To test, make sure you can access the web workflow, change code.py so the boad resets from a watchdog and see if the web workflow responds again. Then press reset and see if the web workflow comes back as it should (before the watchdog resets again).

❯ curl http://192.168.1.53/cp/version.json
curl: (7) Failed to connect to 192.168.1.53 port 80 after 14 ms: Couldn't connect to server

Tested on a Xiao C3 and QTPY ESP32-S3 on latest.

Description

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions