esp-web-tools icon indicating copy to clipboard operation
esp-web-tools copied to clipboard

WebSerial DOMException: Failed to execute 'setSignals' on 'SerialPort': Failed to set control signals.

Open maitredede opened this issue 2 years ago • 1 comments

The problem

Hello,

I am trying to flash my esp32-cam from my brower (chrome linux amd64), but I have a DOMException: Failed to execute 'setSignals' on 'SerialPort': Failed to set control signals.

I have same problem with ESPHome addon for HA, or https://web.esphome.io/.

Which version of ESPHome has the issue?

2023.2.4

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2023.2.5

What platform are you using?

ESP32

Board

esp32-cam

Component causing the issue

WebSerial

Example YAML snippet

No response

Anything in the logs that might be useful for us?

OS : Linux selfme 5.10.0-21-amd64 esphome/issues#1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
Browser : Google Chrome Version 111.0.5563.41 (Build officiel) beta (64 bits)
USB to TTL adapter : https://www.adafruit.com/product/954

Serial port is mounted as `/dev/ttyUSB0`, with owner `root:dialout` and perms `rw-rw----`. My current user is member of group `dialout`.

Steps with https://web.esphome.io/ :
- "Connect" : select `/dev/ttyUSB0`, "Connexion" => OK.
- "Prepare for first use", confirmation "Install", => DOMException

Browser logs :

esptool.js v0.1-dev
Serial port WebSerial VendorID 0x67b ProductID 0x2303
Connecting...
DOMException: Failed to execute 'setSignals' on 'SerialPort': Failed to set control signals.
_handleInstall @ c.d9c8b285.js:53
await in _handleInstall (asynchrone)
firstUpdated @ c.d9c8b285.js:53
_$AE @ index-05774b90.js:1
performUpdate @ index-05774b90.js:1
scheduleUpdate @ index-05774b90.js:1
_$E_ @ index-05774b90.js:1
await in _$E_ (asynchrone)
requestUpdate @ index-05774b90.js:1
o @ index-05774b90.js:1
v @ index-05774b90.js:1
rt @ index-05774b90.js:1
f @ c.d9c8b285.js:1
(anonyme) @ index-05774b90.js:1
(anonyme) @ index-05774b90.js:1
o @ index-05774b90.js:1
(anonyme) @ c.d9c8b285.js:90


### Additional information

_No response_

maitredede avatar Mar 01 '23 01:03 maitredede

I have the same problem. Have you solved it?

swaftrade avatar May 10 '23 05:05 swaftrade

https://community.home-assistant.io/t/solved-flashing-failing-immediately-on-linux/567332

franz-ms-muc avatar Aug 08 '25 16:08 franz-ms-muc

I had the same problem. Just noticed a pending Chrome update, did the update and it was resolved.

aSapien avatar Aug 18 '25 20:08 aSapien