开云体育

Locked 5.9.4 / WiThrottle problem #withrottleserver


 

Hello,?
?
I updated to 5.9.4 yesterday and found that I could not connect to the WiThrottle server. Went in and disabled the firewall and it didn't have any effect. Re-enabled the firewall, uninstalled JMRI, re-installed the latest production version, and found I could access the WiThrottle server again. Updated to 5.9.3 and verified that I could access WiThrottle. This morning, I again verified all WiThrottle and JMRI web server operations on the various devices - iPhone, Android, and panel mounted tablets: Windows, iPad, and Kindle. All operated normally. Updated again to 5.9.4 and found that the web server functions such as operations appeared to work normally but the iPhone and Android were not able to connect up. The Android devices show that they see the server but on attempting to connect, a time out error is received. Without bothering to disable the firewall or reboot the device, I uninstalled 5.9.4 and reinstalled 5.9.3. The iPhone and Android start to communicate with the server again.?
?
Android screen capture while attempting to connect:
?
After uninstalling 5.9.4 and reinstalling 5.9.3:
?
5.9.4 log file (note this is not original, I have removed a lot of lines related to a turnout control script. Unedited copy available on request).
?
11:37:55,821 apps.util.Log4JUtil? ? ? ? ? ? ? ? ? ?INFO? - * JMRI log ** [main]
11:37:55,853 apps.util.Log4JUtil? ? ? ? ? ? ? ? ? ?INFO? - This log is stored in file: C:\Users\samus\JMRI\log\session.log [main]
11:37:55,853 apps.util.Log4JUtil? ? ? ? ? ? ? ? ? ?INFO? - This log is appended to file: C:\Users\samus\JMRI\log\messages.log [main]
11:37:55,884 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - PanelPro version 5.9.4+R7726763089 starts under Java 17.0.12 on Windows 10 amd64 v10.0 at Tue Sep 17 11:37:55 CDT 2024 [main]
11:37:56,079 t.permission.DefaultPermissionManager INFO? - Permission file: C:\Users\samus\JMRI\.permissions.xml [main]
11:37:56,094 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]
11:37:56,126 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - Starting with profile My_JMRI_Railroad.3e47c04f [main]
11:37:56,329 jmri.util.node.NodeIdentity? ? ? ? ? ?INFO? - Using jmri-boLiebFBWhNiaahgwCzsml-3e47c04f as the JMRI storage identity for profile id 3e47c04f [AWT-EventQueue-0]
11:37:58,094 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main]
11:37:58,157 rix.loconet.usb_dcs52.UsbDcs52Adapter INFO? - Connecting USB DCS52 via COM3 VCOM? DCS52 [main]
11:37:58,157 .loconet.locobuffer.LocoBufferAdapter INFO? - LocoNet: Port Communications Port (COM3) opened at 57600 baud, sees DTR: true RTS: true DSR: false CTS: false DCD: false flow: RTSCTS [main]
11:37:58,172 x.loconet.pr3.PR3SystemConnectionMemo INFO? - Connection [L] initialized as LocoNet interface, allows access to attached devices. (see preferences) [main]
11:37:58,286 jmri.jmrix.loconet.LnPacketizer? ? ? ?INFO? - lnPacketizer Started [main]
11:37:59,168 jmri.jmrit.roster.Roster? ? ? ? ? ? ? INFO? - Reading roster file with rootFromName(C:\Users\samus\OneDrive\Model Railroad\JMRI\roster.xml) [main]
11:38:00,252 jmri.jmris.simpleserver.SimpleServer? INFO? - JMRI SimpleServer started on port 2048 [AWT-EventQueue-0]
11:38:00,597 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for '8th sub. idaho div. np ry._withrottle._tcp.local.' on 192.168.50.10:12090 [WiThrottleServer]
11:38:00,598 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for '8th sub. idaho div. np ry._withrottle._tcp.local.' on fe80:0:0:0:d7f8:530f:b653:73bd%eth3:12090 [WiThrottleServer]
11:38:00,599 jmri.jmrit.withrottle.FacelessServer? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
11:38:00,788 jmri.web.server.WebServer? ? ? ? ? ? ?INFO? - Starting Web Server on port 12080 [WebServer]
11:38:02,463 jmri.web.server.WebServer? ? ? ? ? ? ?INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.4.0} [WebServer]
11:38:03,490 jmri.util.startup.PerformFileModel? ? INFO? - Loading file C:\Users\samus\OneDrive\Model Railroad\JMRI\Rev 48 Staging Config.xml [main]
11:38:09,125 jmri.util.startup.PerformScriptModel? INFO? - Running script C:\Users\samus\OneDrive\Model Railroad\JMRI\PM42forCTC.py [main]
11:38:16,380 jmri.util.startup.PerformScriptModel? INFO? - Running script C:\Users\samus\OneDrive\Model Railroad\JMRI\TurnoutDataTransferMajorModC-CA-slf4j.py [main]
11:38:16,619 script.MagTnotLisns? ? ? ? ? ? ? ? ? ?INFO? - >> Script TurnoutDataMajorModC Test 05 2019-08-28 [Arduino]
11:38:16,628 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
11:38:16,629 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path preference: is C:\Users\samus\OneDrive\Model Railroad\JMRI\ [main]
11:38:16,629 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path profile: is C:\Users\samus\JMRI\My_JMRI_Railroad\ [main]
11:38:16,630 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path settings: is C:\Users\samus\JMRI\ [main]
11:38:16,631 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path home: is C:\Users\samus\ [main]
11:38:16,632 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path scripts: is C:\Users\samus\OneDrive\Model Railroad\JMRI\ [main]
?
11:38:17,576 t.display.layoutEditor.BlockValueFile INFO? - 1 of 1 block values restored. Rule=RESTOREONLYIFALLOCCUPIED, Power=OFF [main]
?
11:38:18,177 apps.PanelPro.PanelPro? ? ? ? ? ? ? ? INFO? - Main initialization done [main]
?
11:38:18,505 script.MagTnotLisns? ? ? ? ? ? ? ? ? ?INFO? - Count of Turnouts = 5 [Arduino]
?
11:49:34,791 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [WiThrottleServer]
java.util.MissingResourceException: Resource 'StateInconsistent' not found
at jmri.Bundle.retry(Bundle.java:204) ~[jmri.jar:?]
at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]
at jmri.jmrit.Bundle.retry(Bundle.java:106) ~[jmri.jar:?]
at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]
at jmri.jmrit.withrottle.Bundle.retry(Bundle.java:95) ~[jmri.jar:?]
at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]
at jmri.Bundle.handleGetMessage(Bundle.java:129) ~[jmri.jar:?]
at jmri.jmrit.withrottle.Bundle.getMessage(Bundle.java:42) ~[jmri.jar:?]
at jmri.jmrit.withrottle.TurnoutController.sendTitles(TurnoutController.java:156) ~[jmri.jar:?]
at jmri.jmrit.withrottle.DeviceServer.addControllers(DeviceServer.java:533) ~[jmri.jar:?]
at jmri.jmrit.withrottle.DeviceServer.<init>(DeviceServer.java:167) ~[jmri.jar:?]
at jmri.jmrit.withrottle.FacelessServer.listen(FacelessServer.java:67) ~[jmri.jar:?]
at jmri.jmrit.withrottle.DeviceManager$DeviceManagerThread.run(DeviceManager.java:63) ~[jmri.jar:?]
After uninstalling 5.9.4 and reinstalling 5.9.3, this is what comes up in the log (same notes as previous log file):
?
12:07:45,777 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- * JMRI log ** [main]
12:07:45,808 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is stored in file: C:\Users\samus\JMRI\log\session.log [main]
12:07:45,824 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is appended to file: C:\Users\samus\JMRI\log\messages.log [main]
12:07:45,855 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 5.9.3+Rac2dc0606b starts under Java 17.0.12 on Windows 10 amd64 v10.0 at Tue Sep 17 12:07:45 CDT 2024 [main]
12:07:46,096 t.permission.DefaultPermissionManager INFO ?- Permission file: C:\Users\samus\JMRI\.permissions.xml [main]
12:07:46,127 t.permission.DefaultPermissionManager INFO ?- Permission system is enabled: no [main]
12:07:46,142 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile My_JMRI_Railroad.3e47c04f [main]
12:07:46,361 jmri.util.node.NodeIdentity ? ? ? ? ? INFO ?- Using jmri-boLiebFBWhNiaahgwCzsml-3e47c04f as the JMRI storage identity for profile id 3e47c04f [AWT-EventQueue-0]
12:07:48,424 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "LocoNet" [main]
12:07:48,486 rix.loconet.usb_dcs52.UsbDcs52Adapter INFO ?- Connecting USB DCS52 via COM3 VCOM ?DCS52 [main]
12:07:48,502 .loconet.locobuffer.LocoBufferAdapter INFO ?- Port COM3 Communications Port (COM3) opened at 57600 baud, sees DTR: true RTS: true DSR: false CTS: false DCD: false flow: RTSCTS [main]
12:07:48,517 x.loconet.pr3.PR3SystemConnectionMemo INFO ?- Connection [L] initialized as LocoNet interface, allows access to attached devices. (see preferences) [main]
12:07:48,645 jmri.jmrix.loconet.LnPacketizer ? ? ? INFO ?- lnPacketizer Started [main]
12:07:49,582 jmri.jmrit.roster.Roster ? ? ? ? ? ? ?INFO ?- Reading roster file with rootFromName(C:\Users\samus\OneDrive\Model Railroad\JMRI\roster.xml) [main]
12:07:50,702 jmri.jmris.simpleserver.SimpleServer ?INFO ?- JMRI SimpleServer started on port 2048 [AWT-EventQueue-0]
12:07:51,020 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Published ZeroConf service for '8th sub. idaho div. np ry._withrottle._tcp.local.' on 192.168.50.10:12090 [WiThrottleServer]
12:07:51,021 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Published ZeroConf service for '8th sub. idaho div. np ry._withrottle._tcp.local.' on fe80:0:0:0:d7f8:530f:b653:73bd%eth3:12090 [WiThrottleServer]
12:07:51,022 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
12:07:51,222 jmri.web.server.WebServer ? ? ? ? ? ? INFO ?- Starting Web Server on port 12080 [WebServer]
12:07:52,803 jmri.web.server.WebServer ? ? ? ? ? ? INFO ?- Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.4.0} [WebServer]
12:07:53,840 jmri.util.startup.PerformFileModel ? ?INFO ?- Loading file C:\Users\samus\OneDrive\Model Railroad\JMRI\Rev 48 Staging Config.xml [main]
12:07:59,392 jmri.util.startup.PerformScriptModel ?INFO ?- Running script C:\Users\samus\OneDrive\Model Railroad\JMRI\PM42forCTC.py [main]
12:08:06,381 jmri.util.startup.PerformScriptModel ?INFO ?- Running script C:\Users\samus\OneDrive\Model Railroad\JMRI\TurnoutDataTransferMajorModC-CA-slf4j.py [main]
12:08:06,636 script.MagTnotLisns ? ? ? ? ? ? ? ? ? INFO ?- ? ? >> Script TurnoutDataMajorModC Test 05 2019-08-28 [Arduino]
12:08:06,645 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path program: is C:\Program Files (x86)\JMRI\ [main]
12:08:06,646 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path preference: is C:\Users\samus\OneDrive\Model Railroad\JMRI\ [main]
12:08:06,647 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path profile: is C:\Users\samus\JMRI\My_JMRI_Railroad\ [main]
12:08:06,648 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path settings: is C:\Users\samus\JMRI\ [main]
12:08:06,648 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path home: is C:\Users\samus\ [main]
12:08:06,649 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path scripts: is C:\Users\samus\OneDrive\Model Railroad\JMRI\ [main]
12:08:07,607 t.display.layoutEditor.BlockValueFile INFO ?- 1 of 1 block values restored. Rule=RESTOREONLYIFALLOCCUPIED, Power=OFF [main]
12:08:08,220 apps.PanelPro.PanelPro ? ? ? ? ? ? ? ?INFO ?- Main initialization done [main]
12:09:07,178 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
12:09:07,298 jmri.jmrit.withrottle.DeviceServer ? ?INFO ?- Received Name: DNPNL3LGG5MK [DeviceServer-1]
12:09:40,392 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
12:09:40,398 jmri.jmrit.withrottle.DeviceServer ? ?INFO ?- Received Name: White Galaxy S5 [DeviceServer-2]
12:09:48,520 jmri.jmrit.withrottle.DeviceServer ? ?INFO ?- Received Name: White Galaxy S5 [DeviceServer-2]
12:09:56,536 jmri.jmrit.withrottle.DeviceServer ? ?INFO ?- Received Name: White Galaxy S5 [DeviceServer-2]
12:10:10,197 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 1 [DeviceServer-2]
12:10:10,398 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 2 [DeviceServer-2]
12:10:10,599 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 3 [DeviceServer-2]
12:10:10,800 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 4 [DeviceServer-2]
12:10:11,002 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 5 [DeviceServer-2]
12:10:11,203 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 6 [DeviceServer-2]
12:10:11,404 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 7 [DeviceServer-2]
12:10:11,606 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 8 [DeviceServer-2]
12:10:11,807 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 9 [DeviceServer-2]
12:10:12,010 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 10 [DeviceServer-2]
12:10:12,211 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 11 [DeviceServer-2]
12:10:12,413 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 12 [DeviceServer-2]
12:10:12,615 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 13 [DeviceServer-2]
12:10:12,817 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 14 [DeviceServer-2]
12:10:13,018 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 15 [DeviceServer-2]
12:10:13,220 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 16 [DeviceServer-2]
12:10:13,421 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 17 [DeviceServer-2]
12:10:13,622 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 18 [DeviceServer-2]
12:10:13,823 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 19 [DeviceServer-2]
12:10:14,025 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 20 [DeviceServer-2]
12:10:14,227 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 21 [DeviceServer-2]
12:10:14,429 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 22 [DeviceServer-2]
12:10:14,631 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 23 [DeviceServer-2]
12:10:14,832 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 24 [DeviceServer-2]
12:10:15,034 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 25 [DeviceServer-2]
12:10:15,034 jmri.jmrit.withrottle.DeviceServer ? ?ERROR - readLine failure limit exceeded, ending thread run loop for device 'White Galaxy S5' [DeviceServer-2]
?
I'm not at all convinced that this isn't a firewall issue but given that I am not changing anything in the firewall as I bounce back and forth between 5.9.3 and 5.9.4 I am at a loss as to figure out what to allow.
?
Sam


 

开云体育

Sam,

?

The following entry from your log with 5.9.4 likely shows a jmri problem.? WiThrottleServer will be dead at that point.? Hopefully one of the devs will take a look.

?

Robin

?

Robin Becker

San Diego CA

?

11:49:34,791 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [WiThrottleServer]

java.util.MissingResourceException: Resource 'StateInconsistent' not found

at jmri.Bundle.retry(Bundle.java:204) ~[jmri.jar:?]

at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]

at jmri.jmrit.Bundle.retry(Bundle.java:106) ~[jmri.jar:?]

at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]

at jmri.jmrit.withrottle.Bundle.retry(Bundle.java:95) ~[jmri.jar:?]

at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]

at jmri.Bundle.handleGetMessage(Bundle.java:129) ~[jmri.jar:?]

at jmri.jmrit.withrottle.Bundle.getMessage(Bundle.java:42) ~[jmri.jar:?]

at jmri.jmrit.withrottle.TurnoutController.sendTitles(TurnoutController.java:156) ~[jmri.jar:?]

at jmri.jmrit.withrottle.DeviceServer.addControllers(DeviceServer.java:533) ~[jmri.jar:?]

at jmri.jmrit.withrottle.DeviceServer.<init>(DeviceServer.java:167) ~[jmri.jar:?]

at jmri.jmrit.withrottle.FacelessServer.listen(FacelessServer.java:67) ~[jmri.jar:?]

at jmri.jmrit.withrottle.DeviceManager$DeviceManagerThread.run(DeviceManager.java:63) ~[jmri.jar:?]

?

?

?

From: [email protected] <[email protected]> On Behalf Of Sam Simons
Sent: Tuesday, September 17, 2024 10:44 AM
To: [email protected]
Subject: [jmriusers] 5.9.4 / WiThrottle problem

?

Hello,?

?

I updated to 5.9.4 yesterday and found that I could not connect to the WiThrottle server. Went in and disabled the firewall and it didn't have any effect. Re-enabled the firewall, uninstalled JMRI, re-installed the latest production version, and found I could access the WiThrottle server again. Updated to 5.9.3 and verified that I could access WiThrottle. This morning, I again verified all WiThrottle and JMRI web server operations on the various devices - iPhone, Android, and panel mounted tablets: Windows, iPad, and Kindle. All operated normally. Updated again to 5.9.4 and found that the web server functions such as operations appeared to work normally but the iPhone and Android were not able to connect up. The Android devices show that they see the server but on attempting to connect, a time out error is received. Without bothering to disable the firewall or reboot the device, I uninstalled 5.9.4 and reinstalled 5.9.3. The iPhone and Android start to communicate with the server again.?

?

Android screen capture while attempting to connect:

?

After uninstalling 5.9.4 and reinstalling 5.9.3:

?

5.9.4 log file (note this is not original, I have removed a lot of lines related to a turnout control script. Unedited copy available on request).

?

11:37:55,821 apps.util.Log4JUtil? ? ? ? ? ? ? ? ? ?INFO? - * JMRI log ** [main]

11:37:55,853 apps.util.Log4JUtil? ? ? ? ? ? ? ? ? ?INFO? - This log is stored in file: C:\Users\samus\JMRI\log\session.log [main]

11:37:55,853 apps.util.Log4JUtil? ? ? ? ? ? ? ? ? ?INFO? - This log is appended to file: C:\Users\samus\JMRI\log\messages.log [main]

11:37:55,884 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - PanelPro version 5.9.4+R7726763089 starts under Java 17.0.12 on Windows 10 amd64 v10.0 at Tue Sep 17 11:37:55 CDT 2024 [main]

11:37:56,079 t.permission.DefaultPermissionManager INFO? - Permission file: C:\Users\samus\JMRI\.permissions.xml [main]

11:37:56,094 t.permission.DefaultPermissionManager INFO? - Permission system is enabled: no [main]

11:37:56,126 apps.Apps? ? ? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - Starting with profile My_JMRI_Railroad.3e47c04f [main]

11:37:56,329 jmri.util.node.NodeIdentity? ? ? ? ? ?INFO? - Using jmri-boLiebFBWhNiaahgwCzsml-3e47c04f as the JMRI storage identity for profile id 3e47c04f [AWT-EventQueue-0]

11:37:58,094 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "LocoNet" [main]

11:37:58,157 rix.loconet.usb_dcs52.UsbDcs52Adapter INFO? - Connecting USB DCS52 via COM3 VCOM? DCS52 [main]

11:37:58,157 .loconet.locobuffer.LocoBufferAdapter INFO? - LocoNet: Port Communications Port (COM3) opened at 57600 baud, sees DTR: true RTS: true DSR: false CTS: false DCD: false flow: RTSCTS [main]

11:37:58,172 x.loconet.pr3.PR3SystemConnectionMemo INFO? - Connection [L] initialized as LocoNet interface, allows access to attached devices. (see preferences) [main]

11:37:58,286 jmri.jmrix.loconet.LnPacketizer? ? ? ?INFO? - lnPacketizer Started [main]

11:37:59,168 jmri.jmrit.roster.Roster? ? ? ? ? ? ? INFO? - Reading roster file with rootFromName(C:\Users\samus\OneDrive\Model Railroad\JMRI\roster.xml) [main]

11:38:00,252 jmri.jmris.simpleserver.SimpleServer? INFO? - JMRI SimpleServer started on port 2048 [AWT-EventQueue-0]

11:38:00,597 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for '8th sub. idaho div. np ry._withrottle._tcp.local.' on 192.168.50.10:12090 [WiThrottleServer]

11:38:00,598 jmri.jmrit.withrottle.FacelessServer? INFO? - Published ZeroConf service for '8th sub. idaho div. np ry._withrottle._tcp.local.' on fe80:0:0:0:d7f8:530f:b653:73bd%eth3:12090 [WiThrottleServer]

11:38:00,599 jmri.jmrit.withrottle.FacelessServer? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]

11:38:00,788 jmri.web.server.WebServer? ? ? ? ? ? ?INFO? - Starting Web Server on port 12080 [WebServer]

11:38:02,463 jmri.web.server.WebServer? ? ? ? ? ? ?INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.4.0} [WebServer]

11:38:03,490 jmri.util.startup.PerformFileModel? ? INFO? - Loading file C:\Users\samus\OneDrive\Model Railroad\JMRI\Rev 48 Staging Config.xml [main]

11:38:09,125 jmri.util.startup.PerformScriptModel? INFO? - Running script C:\Users\samus\OneDrive\Model Railroad\JMRI\PM42forCTC.py [main]

11:38:16,380 jmri.util.startup.PerformScriptModel? INFO? - Running script C:\Users\samus\OneDrive\Model Railroad\JMRI\TurnoutDataTransferMajorModC-CA-slf4j.py [main]

11:38:16,619 script.MagTnotLisns? ? ? ? ? ? ? ? ? ?INFO? - >> Script TurnoutDataMajorModC Test 05 2019-08-28 [Arduino]

11:38:16,628 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]

11:38:16,629 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path preference: is C:\Users\samus\OneDrive\Model Railroad\JMRI\ [main]

11:38:16,629 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path profile: is C:\Users\samus\JMRI\My_JMRI_Railroad\ [main]

11:38:16,630 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path settings: is C:\Users\samus\JMRI\ [main]

11:38:16,631 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path home: is C:\Users\samus\ [main]

11:38:16,632 jmri.util.FileUtilSupport? ? ? ? ? ? ?INFO? - File path scripts: is C:\Users\samus\OneDrive\Model Railroad\JMRI\ [main]

?

11:38:17,576 t.display.layoutEditor.BlockValueFile INFO? - 1 of 1 block values restored. Rule=RESTOREONLYIFALLOCCUPIED, Power=OFF [main]

?

11:38:18,177 apps.PanelPro.PanelPro? ? ? ? ? ? ? ? INFO? - Main initialization done [main]

?

11:38:18,505 script.MagTnotLisns? ? ? ? ? ? ? ? ? ?INFO? - Count of Turnouts = 5 [Arduino]

?

11:49:34,791 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [WiThrottleServer]

java.util.MissingResourceException: Resource 'StateInconsistent' not found

at jmri.Bundle.retry(Bundle.java:204) ~[jmri.jar:?]

at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]

at jmri.jmrit.Bundle.retry(Bundle.java:106) ~[jmri.jar:?]

at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]

at jmri.jmrit.withrottle.Bundle.retry(Bundle.java:95) ~[jmri.jar:?]

at jmri.Bundle.handleGetMessage(Bundle.java:150) ~[jmri.jar:?]

at jmri.Bundle.handleGetMessage(Bundle.java:129) ~[jmri.jar:?]

at jmri.jmrit.withrottle.Bundle.getMessage(Bundle.java:42) ~[jmri.jar:?]

at jmri.jmrit.withrottle.TurnoutController.sendTitles(TurnoutController.java:156) ~[jmri.jar:?]

at jmri.jmrit.withrottle.DeviceServer.addControllers(DeviceServer.java:533) ~[jmri.jar:?]

at jmri.jmrit.withrottle.DeviceServer.<init>(DeviceServer.java:167) ~[jmri.jar:?]

at jmri.jmrit.withrottle.FacelessServer.listen(FacelessServer.java:67) ~[jmri.jar:?]

at jmri.jmrit.withrottle.DeviceManager$DeviceManagerThread.run(DeviceManager.java:63) ~[jmri.jar:?]

After uninstalling 5.9.4 and reinstalling 5.9.3, this is what comes up in the log (same notes as previous log file):

?

12:07:45,777 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- * JMRI log ** [main]
12:07:45,808 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is stored in file: C:\Users\samus\JMRI\log\session.log [main]
12:07:45,824 apps.util.Log4JUtil ? ? ? ? ? ? ? ? ? INFO ?- This log is appended to file: C:\Users\samus\JMRI\log\messages.log [main]
12:07:45,855 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 5.9.3+Rac2dc0606b starts under Java 17.0.12 on Windows 10 amd64 v10.0 at Tue Sep 17 12:07:45 CDT 2024 [main]
12:07:46,096 t.permission.DefaultPermissionManager INFO ?- Permission file: C:\Users\samus\JMRI\.permissions.xml [main]
12:07:46,127 t.permission.DefaultPermissionManager INFO ?- Permission system is enabled: no [main]
12:07:46,142 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile My_JMRI_Railroad.3e47c04f [main]
12:07:46,361 jmri.util.node.NodeIdentity ? ? ? ? ? INFO ?- Using jmri-boLiebFBWhNiaahgwCzsml-3e47c04f as the JMRI storage identity for profile id 3e47c04f [AWT-EventQueue-0]
12:07:48,424 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "LocoNet" [main]
12:07:48,486 rix.loconet.usb_dcs52.UsbDcs52Adapter INFO ?- Connecting USB DCS52 via COM3 VCOM ?DCS52 [main]
12:07:48,502 .loconet.locobuffer.LocoBufferAdapter INFO ?- Port COM3 Communications Port (COM3) opened at 57600 baud, sees DTR: true RTS: true DSR: false CTS: false DCD: false flow: RTSCTS [main]
12:07:48,517 x.loconet.pr3.PR3SystemConnectionMemo INFO ?- Connection [L] initialized as LocoNet interface, allows access to attached devices. (see preferences) [main]
12:07:48,645 jmri.jmrix.loconet.LnPacketizer ? ? ? INFO ?- lnPacketizer Started [main]
12:07:49,582 jmri.jmrit.roster.Roster ? ? ? ? ? ? ?INFO ?- Reading roster file with rootFromName(C:\Users\samus\OneDrive\Model Railroad\JMRI\roster.xml) [main]
12:07:50,702 jmri.jmris.simpleserver.SimpleServer ?INFO ?- JMRI SimpleServer started on port 2048 [AWT-EventQueue-0]
12:07:51,020 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Published ZeroConf service for '8th sub. idaho div. np ry._withrottle._tcp.local.' on 192.168.50.10:12090 [WiThrottleServer]
12:07:51,021 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Published ZeroConf service for '8th sub. idaho div. np ry._withrottle._tcp.local.' on fe80:0:0:0:d7f8:530f:b653:73bd%eth3:12090 [WiThrottleServer]
12:07:51,022 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
12:07:51,222 jmri.web.server.WebServer ? ? ? ? ? ? INFO ?- Starting Web Server on port 12080 [WebServer]
12:07:52,803 jmri.web.server.WebServer ? ? ? ? ? ? INFO ?- Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.4.0} [WebServer]
12:07:53,840 jmri.util.startup.PerformFileModel ? ?INFO ?- Loading file C:\Users\samus\OneDrive\Model Railroad\JMRI\Rev 48 Staging Config.xml [main]
12:07:59,392 jmri.util.startup.PerformScriptModel ?INFO ?- Running script C:\Users\samus\OneDrive\Model Railroad\JMRI\PM42forCTC.py [main]
12:08:06,381 jmri.util.startup.PerformScriptModel ?INFO ?- Running script C:\Users\samus\OneDrive\Model Railroad\JMRI\TurnoutDataTransferMajorModC-CA-slf4j.py [main]
12:08:06,636 script.MagTnotLisns ? ? ? ? ? ? ? ? ? INFO ?- ? ? >> Script TurnoutDataMajorModC Test 05 2019-08-28 [Arduino]
12:08:06,645 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path program: is C:\Program Files (x86)\JMRI\ [main]
12:08:06,646 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path preference: is C:\Users\samus\OneDrive\Model Railroad\JMRI\ [main]
12:08:06,647 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path profile: is C:\Users\samus\JMRI\My_JMRI_Railroad\ [main]
12:08:06,648 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path settings: is C:\Users\samus\JMRI\ [main]
12:08:06,648 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path home: is C:\Users\samus\ [main]
12:08:06,649 jmri.util.FileUtilSupport ? ? ? ? ? ? INFO ?- File path scripts: is C:\Users\samus\OneDrive\Model Railroad\JMRI\ [main]

12:08:07,607 t.display.layoutEditor.BlockValueFile INFO ?- 1 of 1 block values restored. Rule=RESTOREONLYIFALLOCCUPIED, Power=OFF [main]

12:08:08,220 apps.PanelPro.PanelPro ? ? ? ? ? ? ? ?INFO ?- Main initialization done [main]

12:09:07,178 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
12:09:07,298 jmri.jmrit.withrottle.DeviceServer ? ?INFO ?- Received Name: DNPNL3LGG5MK [DeviceServer-1]
12:09:40,392 jmri.jmrit.withrottle.FacelessServer ?INFO ?- Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
12:09:40,398 jmri.jmrit.withrottle.DeviceServer ? ?INFO ?- Received Name: White Galaxy S5 [DeviceServer-2]
12:09:48,520 jmri.jmrit.withrottle.DeviceServer ? ?INFO ?- Received Name: White Galaxy S5 [DeviceServer-2]
12:09:56,536 jmri.jmrit.withrottle.DeviceServer ? ?INFO ?- Received Name: White Galaxy S5 [DeviceServer-2]
12:10:10,197 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 1 [DeviceServer-2]
12:10:10,398 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 2 [DeviceServer-2]
12:10:10,599 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 3 [DeviceServer-2]
12:10:10,800 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 4 [DeviceServer-2]
12:10:11,002 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 5 [DeviceServer-2]
12:10:11,203 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 6 [DeviceServer-2]
12:10:11,404 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 7 [DeviceServer-2]
12:10:11,606 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 8 [DeviceServer-2]
12:10:11,807 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 9 [DeviceServer-2]
12:10:12,010 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 10 [DeviceServer-2]
12:10:12,211 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 11 [DeviceServer-2]
12:10:12,413 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 12 [DeviceServer-2]
12:10:12,615 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 13 [DeviceServer-2]
12:10:12,817 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 14 [DeviceServer-2]
12:10:13,018 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 15 [DeviceServer-2]
12:10:13,220 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 16 [DeviceServer-2]
12:10:13,421 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 17 [DeviceServer-2]
12:10:13,622 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 18 [DeviceServer-2]
12:10:13,823 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 19 [DeviceServer-2]
12:10:14,025 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 20 [DeviceServer-2]
12:10:14,227 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 21 [DeviceServer-2]
12:10:14,429 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 22 [DeviceServer-2]
12:10:14,631 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 23 [DeviceServer-2]
12:10:14,832 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 24 [DeviceServer-2]
12:10:15,034 jmri.jmrit.withrottle.DeviceServer ? ?WARN ?- null readLine() from device 'White Galaxy S5', consecutive error # 25 [DeviceServer-2]
12:10:15,034 jmri.jmrit.withrottle.DeviceServer ? ?ERROR - readLine failure limit exceeded, ending thread run loop for device 'White Galaxy S5' [DeviceServer-2]

?

I'm not at all convinced that this isn't a firewall issue but given that I am not changing anything in the firewall as I bounce back and forth between 5.9.3 and 5.9.4 I am at a loss as to figure out what to allow.

?

Sam


 

Sam,

Thanks for the detailed info. From this, I can see that it is not a firewall issue, as your client connects. But the WiThrottle Server is crashing with this message:

11:49:34,791 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [WiThrottleServer]
java.util.MissingResourceException: Resource 'StateInconsistent' not found

Of course, once the server crashes, it's not going to respond, so the client times out.

Now, why you are getting "java.util.MissingResourceException: Resource 'StateInconsistent' not found" is the question.

First suggestion is to create a new profile that ONLY starts the WiThrottle server and try it. Or, you can turn off all startup options except Start WiThrottle Server in your current profile.
If that works, then enable startup actions one at a time until you find the one which causes this error.

--SteveT


 

Steve,

It appears that?StateInconsistent is commented in the properties file.

jmrit/withrottle/WiThrottleBundle.properties:#StateInconsistent = Inconsistent

Dave Sand


----- Original message -----
From: Steve Todd <mstevetodd@...>
Subject: Re: [jmriusers] 5.9.4 / WiThrottle problem #withrottleserver
Date: Tuesday, September 17, 2024 1:02 PM

Sam,

Thanks for the detailed info. From this, I can see that it is not a firewall issue, as your client connects. But the WiThrottle Server is crashing with this message:

11:49:34,791 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [WiThrottleServer]
java.util.MissingResourceException: Resource 'StateInconsistent' not found

Of course, once the server crashes, it's not going to respond, so the client times out.

Now, why you are getting "java.util.MissingResourceException: Resource 'StateInconsistent' not found" is the question.

First suggestion is to create a new profile that ONLY starts the WiThrottle server and try it. Or, you can turn off all startup options except Start WiThrottle Server in your current profile.
If that works, then enable startup actions one at a time until you find the one which causes this error.

--SteveT



 

Looks like it was commented out in this PR: https://github.com/JMRI/JMRI/commit/d2f4e90bac05defbdc24c7ca64aab07c33034318#diff-5c8fcfba7d2f4d11ff755c504095496a6444a6b46b26c72953835fdce6e76228


 

All,
I've no idea why those lines were commented out, but I will create a PR to put them back.
?
Sam,
Thanks for catching that. It should be fixed in 5.9.5. I'll update here when a developer version is available for you to test.
Until then, please use 5.9.3.
?
--SteveT


 

Will do, thank you. Appreciate all your work on JMRI and WiThrottle.


 

All, this fix is in the latest Development build, available here:
Also, a workaround to this issue is to disable Turnouts and Routes under Allowed Controls in WiThrottle Preferences. Useful if you don't use Turnouts or Routes on your WiThrottle client.
?
Sam, it would be helpful if you would give the Development build a try and advise results.
?
--SteveT
?
?


 

Today I tested JMRI.5.9.4plus+jenkins+20240918T0412Z+Rcee52923b8a.tgz
It works
--
Petr ?ídlo
Czech Republic


 

Downloaded and tested, seems to be working fine now. Exact test workflow as follows:
?
Update 5.9.3 to 5.9.4, verify WiThrottle inop.
Turn off routes and turnouts, verify WiThrottle works.
Re-enable routes and turnouts, verify WiThrottle inop.
Update to 5.9.4+0412Z, verify WiThrottle works on iPhone, ED on Android and Kindle.
?
Thanks for the quick work!
?
Sam