Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Workflow unreachable after watchdog reset #10054

Open
Neradoc opened this issue Feb 12, 2025 · 0 comments
Open

Web Workflow unreachable after watchdog reset #10054

Neradoc opened this issue Feb 12, 2025 · 0 comments
Labels
bug espressif applies to multiple Espressif chips web workflow
Milestone

Comments

@Neradoc
Copy link

Neradoc commented Feb 12, 2025

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

@Neradoc Neradoc added bug espressif applies to multiple Espressif chips web workflow labels Feb 12, 2025
@tannewt tannewt modified the milestones: 9.x.x, Long term Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug espressif applies to multiple Espressif chips web workflow
Projects
None yet
Development

No branches or pull requests

2 participants