How to connect the ignition OPC UA sever with prosys client?

How to connect the OPC UA sever with prosys client?
Using prosys example opc ua client (Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321)to connect to ignition OPC UA Sever,but failed . Whatis the problem,thank you very much.
here is the message:

No server URI defined. (Run with /? to see command line usage)
Would you like to use the default server URI
'opc.tcp://localhost:4096/Ignition_OPC_UA_Server’?
(Y=Yes, N=No, E=Enter a different URI manually)
y
Connecting to opc.tcp://localhost:4096/Ignition_OPC_UA_Server

  • Prosys OPC UA Java SDK v1.3.0.3321

  • © Prosys PMS Ltd. http://www.prosysopc.com

  • Running in EVALUATION mode

  • Connections will close after 120 minutes

07/23/2012 16:44:22.421 INFO Reading application certificate from E:\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321\PKI\CA\private\SampleConsoleClient.der
07/23/2012 16:44:23.093 INFO Reading private key from keystore E:\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321\PKI\CA\private\SampleConsoleClient.pem
Using SecurityMode [opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15,SignAndEncrypt]
07/23/2012 16:44:33.906 WARN Using an alternate endpoint URL 'opc.tcp://localhost:4096/Ignition_OPC_UA_Server’

*** The Server Certificate :

Subject : CN=Ignition OPC-UA Server, OU=Inductive Automation, O=Inductive Automation, L=Sacramento, ST=California, C=US
Issued by : CN=Ignition OPC-UA Server, OU=Inductive Automation, O=Inductive Automation, L=Sacramento, ST=California, C=US
Valid from: Wed Jul 18 14:46:15 CST 2012
to: Sat Jul 16 14:46:15 CST 2022

  • The Certificate is self-signed.

07/23/2012 16:44:50.937 INFO Certificate ‘F7092541C5C0BFF5EF29B2540AC8710D6E7620B1’ added to trusted certificates.
Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
ServerStatus: null

*** Connected to: opc.tcp://localhost:4096/Ignition_OPC_UA_Server

ServerState changedddddd from Unknown to CommunicationFault
07/23/2012 16:45:23.390 ERROR Unable to retrieve node from AddressSpace: com.prosysopc.ua.ServiceException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”) ServiceResult=Bad_SecureChannelClosed (0x80860000) “The secure channel has been closed.”
07/23/2012 16:45:24.203 INFO reconnect: Reconnected to server (session reactivated)
Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
07/23/2012 16:45:34.328 ERROR Unable to retrieve node from AddressSpace: com.prosysopc.ua.ServiceException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”) ServiceResult=Bad_SecureChannelClosed (0x80860000) “The secure channel has been closed.”
07/23/2012 16:45:34.671 INFO reconnect: Reconnected to server (session reactivated)
Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
07/23/2012 16:45:44.781 ERROR Unable to retrieve node from AddressSpace: com.prosysopc.ua.ServiceException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”) ServiceResult=Bad_SecureChannelClosed (0x80860000) “The secure channel has been closed.”
07/23/2012 16:45:45.109 INFO reconnect: Reconnected to server (session reactivated)
Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
com.prosysopc.ua.ServiceException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”) ServiceResult=Bad_SecureChannelClosed (0x80860000) “The secure channel has been closed.”
Caused by: org.opcfoundation.ua.common.ServiceResultException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”)
*** Current Node: (ID: i=84)


  • Enter x to close client

  • Enter 0 to start discovery -
  • Enter 1 to connect to server -
  • Enter 2 to disconnect from server -
  • Enter 3 to browse the server address space -
  • Enter 4 to read values -
  • Enter 5 to write values -
  • Enter 6 to register nodes -
  • Enter 7 to unregister nodes -
  • Enter 8 to create a subscription -
  • Enter 9 to call a method -

07/23/2012 16:45:56.078 INFO reconnect: Reconnected to server (session reactivated)
Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)

What version of Ignition are you using?

In some of the older versions an oversight my some of the core UA status nodes disappear, and the Prosys SDK blows up when it can’t find them.

Thanks ,The version is the latest Ignition-7.5.0

The latest is actually 7.5.1 now… give that a try and if it doesn’t work I’ll take a look. I’ve been working on UA compliance stuff between 7.5.0 and 7.5.1, so there’s a chance it was fixed between those versions.

There is also with problem with the version 7.5.1,The message is below

No server URI defined. (Run with /? to see command line usage)
Would you like to use the default server URI
'opc.tcp://localhost:4096/Ignition_OPC_UA_Server’?
(Y=Yes, N=No, E=Enter a different URI manually)
y
Connecting to opc.tcp://localhost:4096/Ignition_OPC_UA_Server

  • Prosys OPC UA Java SDK v1.3.0.3321

  • © Prosys PMS Ltd. http://www.prosysopc.com

  • Running in EVALUATION mode

  • Connections will close after 120 minutes

07/24/2012 21:51:56.921 INFO Reading application certificate from E:\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321\PKI\CA\private\SampleConsoleClient.der
07/24/2012 21:51:57.484 INFO Reading private key from keystore E:\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321\Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321\PKI\CA\private\SampleConsoleClient.pem
Using SecurityMode [opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15,SignAndEncrypt]
07/24/2012 21:52:03.437 WARN Using an alternate endpoint URL 'opc.tcp://localhost:4096/Ignition_OPC_UA_Server’

*** The Server Certificate :

Subject : CN=Ignition OPC-UA Server, OU=Inductive Automation, O=Inductive Automation, L=Sacramento, ST=California, C=US
Issued by : CN=Ignition OPC-UA Server, OU=Inductive Automation, O=Inductive Automation, L=Sacramento, ST=California, C=US
Valid from: Tue Jul 24 11:09:26 CST 2012
to: Fri Jul 22 11:09:26 CST 2022

  • The Certificate is self-signed.

07/24/2012 21:52:04.500 INFO Certificate ‘626703FCD63D13D8238F38868337D8F1484D4DDB’ added to trusted certificates.

*** Connected to: opc.tcp://localhost:4096/Ignition_OPC_UA_Server

Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
07/24/2012 21:52:14.640 ERROR Unable to retrieve node from AddressSpace: com.prosysopc.ua.ServiceException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”) ServiceResult=Bad_SecureChannelClosed (0x80860000) “The secure channel has been closed.”
07/24/2012 21:52:14.812 INFO reconnect: Reconnected to server (session reactivated)
Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
07/24/2012 21:52:24.937 ERROR Unable to retrieve node from AddressSpace: com.prosysopc.ua.ServiceException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”) ServiceResult=Bad_SecureChannelClosed (0x80860000) “The secure channel has been closed.”
07/24/2012 21:52:25.078 INFO reconnect: Reconnected to server (session reactivated)
Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
com.prosysopc.ua.ServiceException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”) ServiceResult=Bad_SecureChannelClosed (0x80860000) “The secure channel has been closed.”
Caused by: org.opcfoundation.ua.common.ServiceResultException: Bad_SecureChannelClosed (code=0x80860000, description=“The secure channel has been closed.”)
*** Current Node: (ID: i=84)


  • Enter x to close client

  • Enter 0 to start discovery -
  • Enter 1 to connect to server -
  • Enter 2 to disconnect from server -
  • Enter 3 to browse the server address space -
  • Enter 4 to read values -
  • Enter 5 to write values -
  • Enter 6 to register nodes -
  • Enter 7 to unregister nodes -
  • Enter 8 to create a subscription -
  • Enter 9 to call a method -

Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)07/24/2012 21:52:35.343 INFO reconnect: Reconnected to server (session reactivated)

at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)

I have same issue(or similar). Has this been used? I have 7.5.2… will upgrading help?

com.inductiveautomation.opcua.UAException: Could not open secure channel to opc.tcp://169.254.95.120:4096/iaopcua/Basic128Rsa15. com.inductiveautomation.xopc.client.stack.TCPClientChannel.open(TCPClientChannel.java:265)com.inductiveautomation.xopc.client.stack.UaClient.connect(UaClient.java:65)com.inductiveautomation.xopc.client.OpcUaConnection.verifyConnectionState(OpcUaConnection.java:147)com.inductiveautomation.xopc.client.FailoverAwareOpcUaConnection.verifyConnectionState(FailoverAwareOpcUaConnection.java:75)com.inductiveautomation.ignition.gateway.opc.OPCManagerImpl$ServerWrapper.verifyConnectionState(OPCManagerImpl.java:743)com.inductiveautomation.ignition.gateway.opc.OPCManagerImpl$OPCConnectionKeepalive.run(OPCManagerImpl.java:619)com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$TrackedTask.run(BasicExecutionEngine.java:573)java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)java.util.concurrent.FutureTask.runAndReset(Unknown Source)java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

Are you trying to connect to a prosys client or a server? The original issue was connecting using the ua client to Ignition, where as the error message you are seeing appears to be coming from Ignition trying to make a connection to a UA server.
Basically the error message you are seeing is saying that we are trying to make a connection to the address you specified but for some reason the connection cannot be established.
What I would suggest is that if you’re still having an issue with this then to start a new thread regarding the issue you are having and post as many details about your connection as possible.