# Connection with modbus lost

**URL:** <https://forum.inductiveautomation.com/t/connection-with-modbus-lost/4280>\
**Category:** Ignition\
**Created:** [April 12, 2012, 1:23pm UTC](https://forum.inductiveautomation.com/t/connection-with-modbus-lost/4280 "2012-04-12T13:23:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SamJaimes](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@SamJaimes](https://forum.inductiveautomation.com/u/SamJaimes)\
**Post date:** [April 12, 2012, 1:23pm UTC](https://forum.inductiveautomation.com/t/connection-with-modbus-lost/4280/1 "2012-04-12T13:23:27Z")

</div>

Hello!

I’ve been having troubles with modbus connection. Ignition gets disconnected from the PLC. The connection is through modbus and the only way I have to restore the connection is restarting the Ignition service. This happens since I installed Ignition 7.3.

Here are the logs:

```auto
INFO | jvm 3 | 2012/04/11 18:42:07 | WARN [TCPClientChannel] [18:42:07,916]: Connection lost.
INFO | jvm 3 | 2012/04/11 18:42:07 | java.net.SocketException: Connection reset
INFO | jvm 3 | 2012/04/11 18:42:07 | at java.net.SocketInputStream.read(Unknown Source)
INFO | jvm 3 | 2012/04/11 18:42:07 | at java.net.SocketInputStream.read(Unknown Source)
INFO | jvm 3 | 2012/04/11 18:42:07 | at com.inductiveautomation.common.iosession.socket.AsyncSocketIOSession.run(AsyncSocketIOSession.java:92)
INFO | jvm 3 | 2012/04/11 18:42:07 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 3 | 2012/04/11 18:42:07 | WARN [TCPServerChannel] [18:42:07,916]: Connection lost due to IOException.
INFO | jvm 3 | 2012/04/11 18:42:07 | java.net.SocketException: Connection reset
INFO | jvm 3 | 2012/04/11 18:42:07 | at java.net.SocketInputStream.read(Unknown Source)
INFO | jvm 3 | 2012/04/11 18:42:07 | at java.net.SocketInputStream.read(Unknown Source)
INFO | jvm 3 | 2012/04/11 18:42:07 | at com.inductiveautomation.common.iosession.socket.AsyncSocketIOSession.run(AsyncSocketIOSession.java:92)
INFO | jvm 3 | 2012/04/11 18:42:07 | at java.lang.Thread.run(Unknown Source)
INFO | jvm 3 | 2012/04/11 18:42:08 | ERROR [WriteCall] [18:42:08,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:08 | ERROR [Provider[default] ] [18:42:08,604]: [[default]PLC2MW/R1MarchaRecirculacionInterna] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_52]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:08 | ERROR [WriteCall] [18:42:08,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:08 | ERROR [Provider[default] ] [18:42:08,604]: [[default]PLC2MW/R1Forzados] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_58]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:08 | ERROR [WriteCall] [18:42:08,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:08 | ERROR [Provider[default] ] [18:42:08,604]: [[default]PLC2MW/R1VariadorSoplanteFreq] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_53]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:08 | ERROR [WriteCall] [18:42:08,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:08 | ERROR [Provider[default] ] [18:42:08,604]: [[default]PLC2MW/R1Forzados] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_58]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [WriteCall] [18:42:09,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [Provider[default] ] [18:42:09,604]: [[default]PLC2MW/R1ValvulaAeracionA] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_56]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [WriteCall] [18:42:09,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [Provider[default] ] [18:42:09,604]: [[default]PLC2MW/R1ValvulaAeracionB] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_57]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [WriteCall] [18:42:09,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [Provider[default] ] [18:42:09,604]: [[default]PLC2MW/R1Forzados] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_58]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [WriteCall] [18:42:09,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [Provider[default] ] [18:42:09,604]: [[default]PLC2MW/R1VariadorSoplanteFreq] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_53]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [WriteCall] [18:42:09,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [Provider[default] ] [18:42:09,604]: [[default]PLC2MW/R1Forzados] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_58]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [WriteCall] [18:42:09,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [Provider[default] ] [18:42:09,604]: [[default]PLC2MW/R1MarchaRecirculacionInterna] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_52]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [WriteCall] [18:42:09,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
INFO | jvm 3 | 2012/04/11 18:42:09 | ERROR [Provider[default] ] [18:42:09,604]: [[default]PLC2MW/R1Forzados] Error writing to OPC address [[Ignition OPC-UA Server][PLC2]1.MW2_58]. Result code: Not Connected
INFO | jvm 3 | 2012/04/11 18:42:09 | INFO [CaudalDiarioRecirculacionInternaA] [18:42:09,729]: Trigger did not evaluate - source item currently has bad quality [[55,Not Connected]].
INFO | jvm 3 | 2012/04/11 18:42:09 | INFO [CaudalDiarioRecirculacionInternaB] [18:42:09,729]: Trigger did not evaluate - source item currently has bad quality [[55,Not Connected]].
INFO | jvm 3 | 2012/04/11 18:42:10 | ERROR [WriteCall] [18:42:10,604]: Call failed client-side with StatusCode: StatusCode[0x808A0000, Severity=Bad, Subcode=Bad_NotConnected]. Cannot send a message while channel is in state: CLOSED
```

How can I fix this?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [April 12, 2012, 3:27pm UTC](https://forum.inductiveautomation.com/t/connection-with-modbus-lost/4280/2 "2012-04-12T15:27:49Z")

</div>

The error you posted doesn’t have anything to do with Modbus, it’s your OPC-UA client connection going down…

Are you connected to the Ignition OPC-UA server or a third-part server? Can you export your logs from the log console (logs.bin.gz) and send it to support?

---

<div class="post-metadata">

**Author:** ![SamJaimes](https://avatars.discourse-cdn.com/v4/letter/s/a6a055/32.png) [@SamJaimes](https://forum.inductiveautomation.com/u/SamJaimes)\
**Post date:** [June 6, 2012, 10:59am UTC](https://forum.inductiveautomation.com/t/connection-with-modbus-lost/4280/3 "2012-06-06T10:59:24Z")

</div>

The problem was I had installed Modbus and Modbus v2 at the same time. I uninstalled the old modbus module and now all is working without modbus problems
