I am upgrading a server from 7.9 to 8.1 and the OPC-UA connections that I had to a few Siemens 1500 PLCs are no longer working, the Kepware connections that I have are working though. If I run through the endpoint setup Ignition finds the endpoints just fine and allows me to pick the security options that are enabled in the Siemens PLC. I can also trust the certificate in Ignition. But when I save the connection I get this message about an unsupported protocol?
UaException: status=Bad_InternalError, message=unsupported protocol: null
at org.eclipse.milo.opcua.stack.client.DiscoveryClient.getEndpoints(DiscoveryClient.java:189)
at com.inductiveautomation.ignition.gateway.opcua.client.ManagedClientKt.initialize(ManagedClient.kt:85)
at com.inductiveautomation.ignition.gateway.opcua.client.ManagedClient$create$1.invokeSuspend(ManagedClient.kt:64)
at com.inductiveautomation.ignition.gateway.opcua.client.ManagedClient$create$1.invoke(ManagedClient.kt)
at com.inductiveautomation.ignition.gateway.opcua.util.Managed$get$deferred$1.invokeSuspend(Managed.kt:40)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
8.1.0 (b2020110211)
Azul Systems, Inc. 11.0.7
I’m not sure what that means as I have the old server and new server running side by side and the old server is connected just fine with the same settings. Any thoughts?
Can you turn the logger com.inductiveautomation.ignition.gateway.opcua.client.ClientManager to DEBUG and then edit/save the connection and tell me what gets logged by that logger?
If you can open a ticket with support and supply them with your backup we can try to reproduce this and fix anything we find. There might be some bug with the “restore enabled/disabled” functionality catching this failover setting.
I just ran into this–failover checked and causing an error–when upgrading a server from 8.1.2 to 8.1.4. It was running on 8.1.2, though I hadn’t checked whether failover was enabled before upgrade (it shouldn’t have been).