JMRI icon indicating copy to clipboard operation
JMRI copied to clipboard

JMRI LCC Hub IOException

Open dsand47 opened this issue 2 years ago • 3 comments

When JMRI using the "CAN via GridConnect Network Interface" quits, the JMRI running the LCC Hub Server has an exception.

Both machines are running JMRI 5.5.4.

Client configuration (macOS 13.6): Screenshot 2023-09-25 at 4 14 01 PM

Server status (Raspberry Pi OS 6.1.21): Screenshot 2023-09-25 at 4 14 38 PM

Server log: session lcc hub.log

dsand47 avatar Sep 25 '23 21:09 dsand47

Quitting JMRI on the LCC Hub server creates similar errors on the client.

session.log

dsand47 avatar Sep 25 '23 21:09 dsand47

Is this perhaps just an issue of what's being logged?

2023-09-25T15:44:32,581 hub.Hub                               ERROR -  [Thread-25]
java.io.IOException: Connection not terminated normally
	at org.openlcb.hub.Hub$ReaderThread.readByteProtected(Hub.java:274) ~[openlcb.jar:?]
	at org.openlcb.hub.Hub$ReaderThread.loadChars(Hub.java:242) ~[openlcb.jar:?]
	at org.openlcb.hub.Hub$ReaderThread.run(Hub.java:206) [openlcb.jar:?]

The java.io.IOException is routine when a connection is broken from the remote end. Perhaps this should just be changed to a ERROR/WARN/INFO/DEBUG level (?) message without the traceback.

bobjacobsen avatar Nov 01 '23 23:11 bobjacobsen

This issue is stale because it has been open for 45 days with no activity.

github-actions[bot] avatar Dec 18 '23 02:12 github-actions[bot]