IGNITION 8.1 OPC UA Server connection

Hi,

I must connect two Ignitions EDGE with OPC UA server/client way but I can´t get it.
My Ignition opc ua server is Version: 8.0.17 (b2020111211) and the other Ignition opc ua client is under 8.1.26 (b2023032308) Version: .

I have an error like this:
UaException: status=Bad_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.1.50:62541

  • at org.eclipse.milo.opcua.stack.client.transport.uasc.ClientChannelFsm$ClientChannelActions.lambda$connect$0(ClientChannelFsm.java:129)*
  • at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:578)*
  • at io.netty.util.concurrent.DefaultPromise.notifyListeners0(DefaultPromise.java:571)*
  • at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:550)*
  • at io.netty.util.concurrent.DefaultPromise.notifyListeners(DefaultPromise.java:491)*
  • at io.netty.util.concurrent.DefaultPromise.setValue0(DefaultPromise.java:616)*
  • at io.netty.util.concurrent.DefaultPromise.setFailure0(DefaultPromise.java:609)*
  • at io.netty.util.concurrent.DefaultPromise.tryFailure(DefaultPromise.java:117)*
  • at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:321)*
  • at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:337)*
  • at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:710)*
  • at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)*
  • at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)*
  • at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)*
  • at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)*
  • at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)*
  • at java.base/java.lang.Thread.run(Unknown Source)*
    Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.1.50:62541
    Caused by: java.net.ConnectException: Connection refused: no further information
  • at java.base/sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)*
  • at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)*
  • at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:337)*
  • at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:334)*
  • at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:710)*
  • at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:658)*
  • at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:584)*
  • at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496)*
  • at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995)*
  • at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)*
  • at java.base/java.lang.Thread.run(Unknown Source)*

Any idea?

I make a ping between machines and it works rightly.

Thanks.

That means the target server isn't listening for external connections. That is the default. Did you change that gateway's OPC server to bind to 0.0.0.0 instead of just localhost ? (Takes effect on gateway restart.)

2 Likes

I have just do it but it doesn´t work. I have this error message
UaException: status=Bad_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.1.50:62541

Is neccesary a gateway restart?

Yes, I think so. You might be able to just restart the OPC UA module.

Thank you very much.
I ´m going

1 Like

Yes now it´s working fine!! :smiley:

1 Like

Hi Phil,
I have an igntion edge 8.1.20 Version (b2022082313) and there I can´t find de BIND ADDRESSES in the server settings. is it normal?

I think older versions of Edge required the "IIoT" plugin to be part of the license in order for that to be enabled.

Then, you say that it´s necessary to update because with that version i will not be able to connect by opc?

The way Edge is licensed and whether simply upgrading grants you the new Edge behavior or if you're stuck with Edge behavior of the license your purchased is something you need to talk to your sales rep about. I just don't know.

Hi Kevin,
We have more Ignition Edge running over a hub&spoke architecture and specifically we have one Edge that is an OPC UA client 8.1.26 (b2023032308) and is communicating with another edge OPC UA server 8.0.17 (b2020111211) but now we need to set communication with another edge OPC UA server 8.1.20 (b2022082313) and here is the problem, i can´t discover this Ignition Edge because i don´t see in it, the bind addresses parameter, I can´t put 0.0.0.0 to expose this gateway.

Upgrade the 8.1.20 gateway to something recent. It might work. But it is probably a license restriction that you may have to pay to fix. That's why Kevin suggested you contact your sales agent.

Yes, we have the basic care and I think will not have problem to update but I´ll ask it.
Thank you very much