MangoAutomation / modbus4j

A high-performance and ease-of-use implementation of the Modbus protocol written in Java. Supports ASCII, RTU, TCP, and UDP transports as slave or master, automatic request partitioning and response data type parsing.
GNU General Public License v3.0
897 stars 370 forks source link

Often happening ModbusTransportException #41

Open PeterBorisenko opened 3 years ago

PeterBorisenko commented 3 years ago

I can successfully get the data, but meanwhile I am getting many of ModbusTransportException: Unsupported IP protocol id. Have no idea what to do with it.

Checked the dump from Wireshark. The device answers properly in short time (about 0.5ms). Seems MessageControl or InputStreamListener screwed up in some way.

java-qgsmn commented 1 year ago

i meet you same problem too. my exception because my mobbus class extents some class

BergLiu commented 1 year ago

I have encountered the same problem, who has a solution?