开云体育

WiThrottle server "readLine from device failed" messages #withrottleserver


 

WiThrottle server seems to blast my system console with "readLine from device ... failed" messages. The WiThrottle and EngineDriver apps seem to work fine despite these messages.

What do these messages mean and is there any way to fix this?

I see this on two different installations.

Thanks.
--
Tim D. Childs
tim.d.childs@...
Lansing Model Railroad Club - lmrc.org


 

Tim,
Those are sent every time the connection to a client device fails, as the WiThrottle Server retries to connect several times.
If you're seeing these often, I suggest finding a less-crowded wifi channel, and/or installing a better wifi access point. You didn't mention what you're using, so I can't be more specific.
EngineDriver (and I presume WiThrottle) resyncs on reconnection, so you may not even notice it was gone.
--SteveT


 

On 4/7/25 8:17 PM, Steve Todd via groups.io wrote:
Tim,
Those are sent every time the connection to a client device fails, as the WiThrottle Server retries to connect several times.
If you're seeing these often, I suggest finding a less-crowded wifi channel, and/or installing a better wifi access point. You didn't mention what you're using, so I can't be more specific.
EngineDriver (and I presume WiThrottle) resyncs on reconnection, so you may not even notice it was gone.
--SteveT
Thanks Steve,

The more problematic of the two systems I babysit has a T-mobile 5G router as the wan source and an Eero mesh network to cover the house. The JMRI computer is plugged into one of the Eero mesh units. We are having intermittent problems with WiThrottle/Engine Driver not connecting to the server, sometimes entering the IP manually works, sometimes it doesn't; and sometimes where a phone has been working fine all of a sudden it seems to get kicked of the local wifi. I'm beginning to suspect this is a problem with the household wifi and not a Jmri issue. I will investigate this angle.

Much thanks for the info.

--
Tim D. Childs
tim.d.childs@...
Lansing Model Railroad Club - lmrc.org


 

Tim,

I have the app "Wifi Analyzer" on my Android phone. See Google Play store. It shows the signal strength of the Wifis that are available and the channel they are on. That app might be a good help for your investigations.

Daniel

On 2025-04-08 02:54, tdc via groups.io wrote:
On 4/7/25 8:17 PM, Steve Todd via groups.io wrote:
Tim,
Those are sent every time the connection to a client device fails, as the WiThrottle Server retries to connect several times.
If you're seeing these often, I suggest finding a less-crowded wifi channel, and/or installing a better wifi access point. You didn't mention what you're using, so I can't be more specific.
EngineDriver (and I presume WiThrottle) resyncs on reconnection, so you may not even notice it was gone.
--SteveT
Thanks Steve,

? The more problematic of the two systems I babysit has a T-mobile 5G router as the wan source and an Eero mesh network to cover the house. The JMRI computer is plugged into one of the Eero mesh units.? We are having intermittent problems with WiThrottle/Engine Driver not connecting to the server, sometimes entering the IP manually works, sometimes it doesn't; and sometimes where a phone has been working fine all of a sudden it seems to get kicked of the local wifi.? I'm beginning to suspect this is a problem with the household wifi and not a Jmri issue.? I will investigate this angle.

Much thanks for the info.


 

On 4/7/25 9:16 PM, danielb987 via groups.io wrote:
Tim,
I have the app "Wifi Analyzer" on my Android phone. See Google Play store. It shows the signal strength of the Wifis that are available and the channel they are on. That app might be a good help for your investigations.
Daniel

Thank you for that suggestion, that is a very handy app. Beats lugging a laptop over there, at least for the initial survey.

I'm finding the 2.4gHz channels swamped with stuff, unusual for a rural area but then he's got the the main router, three mesh boxes, smart tvs and printers and who knows what else. 5gHz is pretty much wide open, so I'm going to set up a totally separate wifi access point on a totally separate network and push everyone to 5gHz and see what happens.

--
Tim D. Childs
tim.d.childs@...
Lansing Model Railroad Club - lmrc.org
(who had this silly notion that he wouldn't have to do this kind of stuff anymore after he retired)