Skip to content

Web Workflow serial terminal occasionally disconnects #6689

Description

@RetiredWizard

CircuitPython version

Adafruit CircuitPython 8.0.0-alpha.1-89-gb38109c48-dirty on 2022-08-02; ESP32-S3-DevKitC-1-N8R2 with ESP32S3
Adafruit CircuitPython 8.0.0-alpha.1-89-gb38109c48-dirty on 2022-08-02; Adafruit Feather ESP32S3 4MB Flash 2MB PSRAM with ESP32S3
Adafruit CircuitPython 8.0.0-alpha.1-89-gb38109c48-dirty on 2022-08-02; Adafruit Feather ESP32S2 with ESP32S2

Code/REPL

from supervisor import runtime
print("Press any key to stop output")
while runtime.serial_bytes_available == 0:
    print("0123456789"*5+"abcdefghijklmnopqrstuvwxyz")

Behavior

Usually Within a 10 or 20 seconds or so of starting this python script the Web Workflow serial terminal will become disconnected (stop showing output from the serial port and the ctrl-c,d and send buttons go grey). Refreshing the screen will reconnect the terminal and output will continue unless it has been stopped from the usb serial terminal.

Description

In most cases the following message is displayed in the browser developer console:

image

But occasionally this message is displayed:

image

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions