You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nov 18 07:02:05 rockpro telegraf[1449366]: 2023-11-18T06:02:05Z E! [inputs.modbus] Error in plugin: slave 1: read tcp 192.168.57.7:56970->192.168.66.3:502: i/o timeout
Nov 18 07:02:10 rockpro telegraf[1449366]: 2023-11-18T06:02:10Z E! [inputs.modbus] Error in plugin: slave 1: modbus: response transaction id '7616' does not match request '7617'
Nov 18 07:02:20 rockpro telegraf[1449366]: 2023-11-18T06:02:20Z E! [inputs.modbus] Error in plugin: slave 1: modbus: response transaction id '7617' does not match request '7618'
Nov 18 07:02:30 rockpro telegraf[1449366]: 2023-11-18T06:02:30Z E! [inputs.modbus] Error in plugin: slave 1: modbus: response transaction id '7618' does not match request '7619'
Nov 18 07:02:40 rockpro telegraf[1449366]: 2023-11-18T06:02:40Z E! [inputs.modbus] Error in plugin: slave 1: modbus: response transaction id '7619' does not match request '7620'
Nov 18 07:02:50 rockpro telegraf[1449366]: 2023-11-18T06:02:50Z E! [inputs.modbus] Error in plugin: slave 1: modbus: response transaction id '7620' does not match request '7621'
[these lines repeat until telegraf is restarted]
System info
telegraf 1.28.5-1, Debian 12.2
Docker
No response
Steps to reproduce
The issue occurs occasionally; telegraf runs fine for weeks on end, but if this error is occuring, it does not recover by itself.
Expected behavior
I guess closing/reopening the Modbus connection after an i/o error, or at least resetting the internal counters for the transaction IDs, would be a solution.
Actual behavior
After this desynchronization the connection never recovers, until telegraf is restarted.
Additional info
The device being monitored is a Huawei Sun2000 solar inverter, whose modbus implementation is a bit flakey.
Not every "i/o timeout" message in the logs leads to this behaviour.
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf
Logs from Telegraf
System info
telegraf 1.28.5-1, Debian 12.2
Docker
No response
Steps to reproduce
The issue occurs occasionally; telegraf runs fine for weeks on end, but if this error is occuring, it does not recover by itself.
Expected behavior
I guess closing/reopening the Modbus connection after an i/o error, or at least resetting the internal counters for the transaction IDs, would be a solution.
Actual behavior
After this desynchronization the connection never recovers, until telegraf is restarted.
Additional info
The device being monitored is a Huawei Sun2000 solar inverter, whose modbus implementation is a bit flakey.
Not every "i/o timeout" message in the logs leads to this behaviour.
The text was updated successfully, but these errors were encountered: