I get this error after adding a modbus device. I’m not sure what is causing it. My tag does not work. But when I use a modbus tcp troubleshooting program I can successfully read from the device.
2021-06-02 11:36:20 AM SocketIODelegate [hostname=10.10.0.36,port=502] Socket connection closed, DriverState was Connected.
java.io.IOException: End of stream reached.
at com.inductiveautomation.iosession.socket.AsyncSocketIOSession.run(AsyncSocketIOSession.java:74)
at java.lang.Thread.run(Unknown Source)
It’s the device closing the TCP connection for some reason.
If you have successful comms using a Modbus test program then capturing those comms with Wireshark is the easiest way to figure out what’s different with your Ignition setup.
You would run the capture on the Ignition server and optionally filter for the IP address of the Modbus device. Ensure it’s capturing/recording on the right network interface before then communicating with the test program.
You can upload the resulting capture here for us to look at.
You could also call support. Troubleshooting Modbus addressing is a fairly common thing for them and they can walk you through using Wireshark.
IT is going to run it and send me the results. But from a troubleshooting program and read and write to the device even though it does time out on me. But Ignition just does not want to see it.
weird enough today when we ran the capture i was not getting the error in the console i was the other day. never the less here is the capture https://we.tl/t-m5xYnmK65V
I'm a bit late to the party, but I had the same problem recently.
I'm using Weidmüller UR20 remote I/Os connected directly to Ignition via Modbus TCP.
In my case, the problem was caused by a too-low Modbus connection timeout set on the Weidmüller side. I simply increased the value from 1 second (default) to 2 seconds, and the problem disappeared.
Hopefully, this information helps someone.