I have a requirement to connect remotely to a Kepware OPC Server. We have the latest version of Kepware Communications Server V5.7.84.0. We are running Ignition 7.3.2 (b533).
( The two computers in question for testing purposes have the Firewalls disabled and each one is able to ping the other with a straight through Ethernet connection between the two. One is a 64bit Windows 7 system the other 32 bit Windows XP ).
I am able to establish a local connection on each computer to a local Kepware Server. The remote connection is an issue and results is the following Console message;
8:57:30 AM Common.BasicExecutionEngine One-shot task com.inductiveautomation.xopc.client.sropc.UAServer$3@4d9363c threw uncaught exception.
java.lang.NullPointerException
at com.inductiveautomation.xopc.client.sropc.ConnectionUtil.getEndpoint(ConnectionUtil.java:76)
at com.inductiveautomation.xopc.client.sropc.ConnectionManager.connect(ConnectionManager.java:92)
at com.inductiveautomation.xopc.client.sropc.UAServer.setUp(UAServer.java:120)
at com.inductiveautomation.xopc.client.sropc.UAServer.access$200(UAServer.java:52)
at com.inductiveautomation.xopc.client.sropc.UAServer$3.run(UAServer.java:208)
at com.inductiveautomation.ignition.common.execution.impl.BasicExecutionEngine$ThrowableCatchingRunnable.run(BasicExecutionEngine.java:526)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
I believe I have a correct endpoint setup on the Kepware end;
opc.tcp://192.168.0.199:49320 Basic 128Rsa(S,SE), Basic256(S,SE)
And my Ignition OPC-UA Connection parameters are;
Host: 192.168.0.199
Port: 49320
Security Policy: Basic128Rsa15
MessageSecurityMode: SignAndEncrypt
Everything else is blank.
Like I said before I am able to establish a local connection by setting the Host: localhost but once I try to connect on the remote OPC Server it fails.
I’m hoping someone has a suggestion of what I might need to look at as I am running out of ideas.