Siemens S7 1200 (Negoiate PDU Request/Disconnect Issue)

Hi All,

I am posting this to see if anyone else has issues with Siemens S7-1200 not connecting/connection breaking randomly.

Background information:

This server has been running for ~2+ years with no issues for this specific OPCUA connection
I have 23 other Siemen S7 1200’s running which are connecting and working.

This issue happened randomly no changes have been made to the PLC/Networking/Firewall at least this is what I was told…

PLC: Siemens S7-1200, CPU 1214 DC/DC/DC

Ignition Version: 8.1.33

Log Errors:

NegotiatePDURequest	08Dec2025 14:47:22	NegotiatePDURequest failed. FailureType: DISCONNECTED
java.lang.Exception: RequestCycle stopped.

at com.inductiveautomation.xopc.driver.api.BasicRequestCycle$AddToQueue.run(BasicRequestCycle.java:120)

at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

at java.base/java.util.concurrent.FutureTask.run(Unknown Source)

at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.base/java.lang.Thread.run(Unknown Source)


S71200Driver	08Dec2025 14:47:22	Socket connection closed; DriverState was Connecting.
java.net.SocketException: Connection reset

at java.base/sun.nio.ch.NioSocketImpl.implRead(Unknown Source)

at java.base/sun.nio.ch.NioSocketImpl.read(Unknown Source)

at java.base/sun.nio.ch.NioSocketImpl$1.read(Unknown Source)

at java.base/java.net.Socket$SocketInputStream.read(Unknown Source)

at java.base/java.io.InputStream.read(Unknown Source)

at com.inductiveautomation.iosession.socket.AsyncSocketIOSession.run(AsyncSocketIOSession.java:71)

at java.base/java.lang.Thread.run(Unknown Source)

I’m able to ping the PLC from the server the Ignition gateway is running on.

We have checked the switch and everything seems to be fine.

Inside of the OPC UA device connection the status shows Disconnected. I have tried deleting then connecting and reestablishing this makes the error occur again.

Any insight would be greatly appreciated, I am assuming it is a PLC issue. I don’t have experience troubleshooting or using PLCs directly, only connecting them to Ignition. If anyone has had this issue before and knows a fix please let me know.

This, in my experience, always comes from the PLC, or from an overloaded firewall along the path.

I don't do Siemens much myself, but there are many reports here of connection limits in the PLC being a sporadic problem. Especially if systems outside Ignition have been added that talk directly to the same PLC.

2 Likes

I was just about to give a similar answer. This looks like the PLC is closing the connection. Siemens PLCs have a limit to how many connections they can have. You should check the PLC diagnostics to see if there are too many active connections.

2 Likes

@pturmel and @Cody_Morgan thanks for the quick replies, I’ll go ahead and start diagnosing on the PLC side.

One cause might be the PLC is out of allocated S7 PG/PC/OP connections (whatever type Ignition uses I can't remember).

1 Like