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

ESP32: Load flash, click through - error Failed to execute ‘requestPort’ on ‘Serial’: Must be handling a user gesture to show a permission request. #190

Open
SciLor opened this issue Dec 9, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@SciLor
Copy link
Contributor

SciLor commented Dec 9, 2024

If you are trying to flash a backup via load, the browser blocks the connection to the Serial.

“Error SecurityError: Failed to execute ‘requestPort’ on ‘Serial’: Must be handling a user gesture to show a permission request.”

See: https://forum.revvox.de/t/changed-teddycloud-ip-esp32-can-not-connect-anymore-codewort-ant/1059/5

@SciLor SciLor added the bug Something isn't working label Dec 9, 2024
@henryk86
Copy link
Collaborator

henryk86 commented Dec 10, 2024

That does not happen if a box is connected properly. That’s necessary even if you only click load flash. It’s needed to get the Mac of the box. So no bug in my opinion.

henryk86 added a commit to henryk86/teddycloud_web that referenced this issue Dec 14, 2024
@henryk86
Copy link
Collaborator

avoided that situation by providing an explicit reset path.

@henryk86 henryk86 self-assigned this Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants