Siemens NegotiatePDURequest timeout on UA 4.9.10-SNAPSHOT

Hi @Kevin.Herron,

I’ve upgraded the Ignition 7.9.8-beta1 with the new OPC-UA-module you have posted : 4.9.10-SNAPSHOT (b2018050808) for test purpose.
Since this upgrade, I’ve some error with a Siemens S7-300 device.

NegotiatePDURequest	17May2018 11:26:21	NegotiatePDURequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:21	ConnectRequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:21	ConnectRequest failed. FailureType: TIMEOUT
TimeoutDaemon	17May2018 11:26:21	com.inductiveautomation.xopc.drivers.siemens.util.RequestSequence@47dd33b8 request with key "21" failed due to timeout.
NegotiatePDURequest	17May2018 11:26:16	NegotiatePDURequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:16	ConnectRequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:16	ConnectRequest failed. FailureType: TIMEOUT
TimeoutDaemon	17May2018 11:26:16	com.inductiveautomation.xopc.drivers.siemens.util.RequestSequence@34a14319 request with key "20" failed due to timeout.
NegotiatePDURequest	17May2018 11:26:11	NegotiatePDURequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:11	ConnectRequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:11	ConnectRequest failed. FailureType: TIMEOUT
TimeoutDaemon	17May2018 11:26:11	com.inductiveautomation.xopc.drivers.siemens.util.RequestSequence@47d67076 request with key "19" failed due to timeout.
NegotiatePDURequest	17May2018 11:26:06	NegotiatePDURequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:06	ConnectRequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:06	ConnectRequest failed. FailureType: TIMEOUT

My device is a bit special (It’s a S7 server simulator created with snap S7 : http://snap7.sourceforge.net/)

This device was working fine with Ignition 7.9.6 and Ignition 7.9.8-beta1.
I suppose that my device don’t support PDU Negotiate request ???

I plan to upgrade to Ignition 7.9.8 and next version. The negotiate request support will be mandatory for Siemens S7 device ???

For test purpose : serverdemo.exe and clientdemo.exe for windows 64-bit

Nothing has changed, it's always been mandatory.

Strange…I don’t understant why my S7 device connection is not OK with the OPC-UA-module rev 4.9.10-SNAPSHOT and the error logs ???

NegotiatePDURequest	17May2018 11:26:21	NegotiatePDURequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:21	ConnectRequest failed. FailureType: DISCONNECTED
ConnectRequest	17May2018 11:26:21	ConnectRequest failed. FailureType: TIMEOUT
TimeoutDaemon	17May2018 11:26:21	com.inductiveautomation.xopc.drivers.siemens.util.RequestSequence@47dd33b8 request with key "21" failed due to timeout.

Any other idea to troubleshot this issue ?

Not sure, it seems you’re just not getting a response.

There’s a slight chance that a bug effecting any driver inheriting from AbstractSocketDriver (Siemens, AB) snuck into that beta release before it was reverted. If using an older build of the UA module fixes it then that may be the case.

edit: looks like it’s more than a “slight” chance. I’d upgrade it to likely.

Thanks Kevin, my initial need was to test the fix I need for my project in 7.9.6 :

Changelog 7.9.8-beta1
OPC-UA
Client Fixed Upgraded Milo to 0.2.0. Improves reconnection handling of remote OPC-UA connections.

So I will wait for the official release of OPC-UA module in 7.9.8 with this fix and no issue for S7 devices too.

Hi I face the same issue.


Is there any solution for this? I’m able to ping S7-300 but unable to connect.

I did try in ignition 8.0.6 trial version as well. The issue still persists.