Greg Young - teltonika plugin erroranyone els...
teltonika plugin error
anyone else having issues with teltonika plugin?
(im using Rut x11) ... getting a consistent "connect error"
... have reported as issue on respective github page for this plugin
19 Replies
Never worked for me, but previously had a RUT950 and currently a RUTX50 so could not really blame the plugin. But with Node-Red and the modbus node it works fine.
What is your firmware version of RUTX11?
Been runnung plugin long times and no issues. Reconnection fine.
FW RUTX_R_00.07.10
i note that mine is behind your fw version,
also its showing 7.10.2 available.
so i will update fw and see what happens
Rutx11 now updated to FW 7.10.2
however behaviour still the same
above is my config in Rutx11 under modbus TCp server
and my plugin setup
Just wondering why you have 25 concurrent connected clients? What are those?
Mine remains normally 0, SK start and end connection. Something odd is going on...
Otherwise setting seems to be same as mine.
thanks for response,
i just checked and its now showing 31 connected clients …
…. have done a number of reboots today and been messing with
getting my failover wan connections working (wifi WAN, starlink (ether) WAN, internal LTE modem WAN).
not sure if this is somehow connected with it “accumulating ” connected clients?
not sure its connected with thisnissue..?
i have my WAN connections (3 as above) failover settings (same for each) setup as
flush connections on “ connected” & “disconnected”
still getting the error/s.
have debug turned on, however server log is not providing any details.
is there a further way i could debug/capture details?
after enabling the plugin, it says “initialising” .. and then errors out with below.
Rutx11 is on latest firmware .
Try first without "Keep persistent connection". And then try also with "Timeout" e.g 60s.
The ECONNRESET error typically indicates that the connection was reset by the peer, which could mean the Modbus server closed the connection unexpectedly.
thanks for response,
i already had persistent connection enabled, however by default timeout was set=0
after now setting it to 60, it is working.
i will monitor and report if any further issues,
but all looks good, thanks
… unfortunately it didn’t last.. it connected once, work for a minute (maybe 2-3 minutes)
and then errored out again.
timeout 60 is the longest allowed in teltonika settings.
in the plugin i have reduced fetch time from 60 , and now tried 45 seconds… no change . error with either..
hmmm. any other thoughts?
Try disable persisted connection. I do not have that enabled. I added timeout yesterday, so 60s did not do any harm.
so far ok ….
after 45mins - all ok.
it would appear it was the “timeout” setting (& not persistent) that it needed.
thx for your help
.. and 12hrs later .. all good!
i updated and closed the issue details in github .. to reflect my outcome.
README.md might require updating to highlight correct settings at the first place.
A PR would a good way to contribute development 😉
PR sent .. albeit i think it sent multiples? (im a newbie at github)