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

Connection closed: 1006 - Session Closed #1275

Open
tresf opened this issue Jul 15, 2024 · 0 comments
Open

Connection closed: 1006 - Session Closed #1275

tresf opened this issue Jul 15, 2024 · 0 comments

Comments

@tresf
Copy link
Contributor

tresf commented Jul 15, 2024

At some point, newer versions of the Chrome browser automatically close the WebSocket connections for inactive tabs.

We should detect this and automatically attempt to reconnect when this occurs.

The logs will show something like this:

[INFO] 2024-07-15T13:06:13,301 @ qz.ws.PrintSocketClient:71
	Connection closed: 1006 - Session Closed

A workaround is to use a connect-and-print type wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant