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

Uncaught exception 'WebSocket\ConnectionException' - popup() inherent limitation #556

Open
491933243 opened this issue Jan 24, 2025 · 1 comment
Labels

Comments

@491933243
Copy link

Repeatedly calling Popup() often results in this error, causing the program to freeze and not execute.

@kensoh
Copy link
Member

kensoh commented Feb 4, 2025

Hi @491933243, popup() has to wrap the HTML content in order to send back, it might be due to the WebSocket library use or just the general unreliability around doing wrapping. Could you try if restarting the Python rpa package periodically helps with the issue? Or could you write some wrapper to kill the Python process if it hangs and restart it?

@kensoh kensoh added the query label Feb 4, 2025
@kensoh kensoh changed the title Fatal error: Uncaught exception 'WebSocket\ConnectionException' with message 'Empty read; connection dead? Stream state: Uncaught exception 'WebSocket\ConnectionException' - popup() works by wrapping around the tab's HTML Feb 4, 2025
@kensoh kensoh changed the title Uncaught exception 'WebSocket\ConnectionException' - popup() works by wrapping around the tab's HTML Uncaught exception 'WebSocket\ConnectionException' - popup() inherent limitation Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants