update , was able to fix it by following the guideline from huawei forum
https://forum.huawei.com/enterprise/en/modbus-tcp-guide/thread/789585-100027
by activating the modbus again the Sdongle started to communicate with my OH3 again
hi all,
currently facing an issue with modbus tcp.
I recently update to 3.2.0.M4 (2021-11-10). The connection was still working but a day after the communication suddenly stopped working (2021-11-11). I am not aware of any change i did at that time.
2021-11-13 09:58:56.984 [WARN ] [ing.ModbusSlaveConnectionFactoryImpl] - connect try 1/1 error: connect timed out. Connection TCPMasterConnection [m_Socket=Socket[unconnected], m_Timeout=3000, m_Connected=false, m_Address=/192.168.1.171, m_Port=502, m_ModbusTransport=null, m_ConnectTimeoutMillis=10000, rtuEncoded=false]. Endpoint ModbusIPSlaveEndpoint [address=192.168.1.171, port=502]
2021-11-13 09:58:56.984 [ERROR] [ing.ModbusSlaveConnectionFactoryImpl] - re-connect reached max tries 1, throwing last error: connect timed out. Connection TCPMasterConnection [m_Socket=Socket[unconnected], m_Timeout=3000, m_Connected=false, m_Address=/192.168.1.171, m_Port=502, m_ModbusTransport=null, m_ConnectTimeoutMillis=10000, rtuEncoded=false]. Endpoint ModbusIPSlaveEndpoint [address=192.168.1.171, port=502]
2021-11-13 09:58:56.985 [ERROR] [ing.ModbusSlaveConnectionFactoryImpl] - Error connecting connection TCPMasterConnection [m_Socket=Socket[unconnected], m_Timeout=3000, m_Connected=false, m_Address=/192.168.1.171, m_Port=502, m_ModbusTransport=null, m_ConnectTimeoutMillis=10000, rtuEncoded=false] for endpoint ModbusIPSlaveEndpoint [address=192.168.1.171, port=502]: connect timed out
2021-11-13 09:58:56.985 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Could not connect to endpoint ModbusIPSlaveEndpoint [address=192.168.1.171, port=502] -- aborting request ModbusReadRequestBlueprint [slaveId=1, functionCode=READ_MULTIPLE_REGISTERS, start=32002, length=1, maxTries=3] [operation ID cafa6fe4-dd3c-44f3-a22a-b2b2d0fb5663]
I also verified of the Huawei portal still receive data on the FusionSolar portal. Here everything looks fine. The Dongle has the version V100R001C00SPC124 and i could also not see that any update was done by Huawei.
I can also ping the dongle from the OH3 machine, so the dongle is reachable from my OH3
My bridge configuration look like this and was not changed
Bridge modbus:tcp:slave100 [ host="192.168.1.171", port="502" ,id=1 ,timeBetweenTransactionsMillis=1200 ]{
Any hint on what could be the root cause or are any other user facing similar issue?
cheers