OPC UA Connection to Schneider Modicon M241 - Connection Rejected

Have a Schneider M241 that was happily communicating with Ignition for some time and then after a power cycle of the M241, just decided to stop communicating.

UaException: status=Bad_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /10.80.58.1:4840

We have a ton of other devices that are still communicating OPC/UA so doesn't look like a Module issue.

Have configured and reconfigured and configured again on the M241, tried changing ports on both ends, still get connection refused.
OPC UA Server Configuration (schneider-electric.com)

connectionRejected-DiscoveryServerLookupStep.txt (9.1 KB)

Have posted to Schneider forums without response so figured I'd give it a shot here.
Thanks in advance for any suggestions.

Here's a section from the OPCUA Configuration settings file:

[Endpoints]

Endpoints/size = 2

Endpoints/0/EndpointURL = opc.tcp://0.0.0.0:4840

Endpoints/0/BindURL = opc.tcp://0.0.0.0:4840

Endpoints/0/SecurityPolicies = SecurityPolicy_None

Endpoints/0/UserTokenPolicies = Anonymous,UserName

Endpoints/0/PKIStore = PKIStore_None

Endpoints/0/TrustAllClientCertificates = false

Endpoints/0/DisableErrorCertificateTimeInvalid = true

Endpoints/0/DisableErrorCertificateIssuerTimeInvalid = true

Endpoints/0/DisableErrorCertificateRevocationUnknown = true

Endpoints/0/DisableErrorCertificateIssuerRevocationUnknown = true

Endpoints/1/EndpointURL = opc.tcp://0.0.0.0:4840

Endpoints/1/BindURL = opc.tcp://0.0.0.0:4840

Endpoints/1/SecurityPolicies = SecurityPolicy_None

Endpoints/1/UserTokenPolicies = Anonymous,UserName

Endpoints/1/PKIStore = PKIStore_None

Endpoints/1/TrustAllClientCertificates = false

Endpoints/1/DisableErrorCertificateTimeInvalid = true

Endpoints/1/DisableErrorCertificateIssuerTimeInvalid = true

Endpoints/1/DisableErrorCertificateRevocationUnknown = true

Endpoints/1/DisableErrorCertificateIssuerRevocationUnknown = true

Your Ignition configuration looks fine to me. I've never set up this Schneider software but it also looks fine.

The error your getting is a low level network error. Usually it's either the server just isn't running, or a firewall is blocking your attempt to connect.

1 Like

We have another Schneider PLC on the network that is communicating perfectly fine. Downloaded and compared configuration files for both systems, not seeing any differences.