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

Logs spammed with ClosedChannelException #1300

Closed
tresf opened this issue Oct 29, 2024 · 1 comment
Closed

Logs spammed with ClosedChannelException #1300

tresf opened this issue Oct 29, 2024 · 1 comment
Assignees
Milestone

Comments

@tresf
Copy link
Contributor

tresf commented Oct 29, 2024

A client has logs files with these messages spammed hundreds of times.

I believe this is a sign that the websocket has closed, but the listener for USB has not.

2024-10-25T13:04:50,416 [ERROR] Could not send message
java.io.IOException: java.nio.channels.ClosedChannelException
	at org.eclipse.jetty.util.FutureCallback.block(FutureCallback.java:163) ~[qz-tray.jar:?]
	at org.eclipse.jetty.util.FutureCallback.block(FutureCallback.java:139) ~[qz-tray.jar:?]
	at org.eclipse.jetty.websocket.common.JettyWebSocketRemoteEndpoint.sendBlocking(JettyWebSocketRemoteEndpoint.java:191) ~[qz-tray.jar:?]
	at org.eclipse.jetty.websocket.common.JettyWebSocketRemoteEndpoint.sendString(JettyWebSocketRemoteEndpoint.java:52) ~[qz-tray.jar:?]
	at qz.ws.PrintSocketClient.send(PrintSocketClient.java:803) [qz-tray.jar:?]
	at qz.ws.PrintSocketClient.sendStream(PrintSocketClient.java:788) [qz-tray.jar:?]
	at qz.utils.UsbUtilities$1.run(UsbUtilities.java:209) [qz-tray.jar:?]
Caused by: java.nio.channels.ClosedChannelException
	at org.eclipse.jetty.websocket.core.internal.WebSocketSessionState.onOutgoingFrame(WebSocketSessionState.java:184) ~[qz-tray.jar:?]
	at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.sendFrame(WebSocketCoreSession.java:514) ~[qz-tray.jar:?]
	at org.eclipse.jetty.websocket.common.JettyWebSocketRemoteEndpoint.sendBlocking(JettyWebSocketRemoteEndpoint.java:190) ~[qz-tray.jar:?]
	... 4 more
@tresf
Copy link
Contributor Author

tresf commented Dec 3, 2024

Closed via #1304

@tresf tresf closed this as completed Dec 3, 2024
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

2 participants