Keyboard Shortcuts
Likes
Search
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).
?
After uninstalling 5.9.4 and reinstalling 5.9.3, this is what comes up in the log (same notes as previous log file):
?
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). ?
After uninstalling 5.9.4 and reinstalling 5.9.3, this is what comes up in the log (same notes as previous log file): ?
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. Of course, once the server crashes, it's not going to respond, so the client times out. Now, why you are getting "java.util. 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. --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. java.util. Of course, once the server crashes, it's not going to respond, so the client times out. Now, why you are getting "java.util. 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 |
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
?
? |
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 |