Opc.Ua.ServiceResultException: BadSecureChannelClosed

Hi!

We are connecting another software to Ignition trough opc-ua where Ignition is the OPC server. I am connecting to Ignition but cant see any tags and on the diagnostics side of the server there is no subscription for this connection. No error logs on the Ignition logs. On the other software I get the following error:

the secure channel has been closed on the target server.
UA Data Source certificate might not be trusted on the target server.
Please review OPC UA server configuration.
Remote side closed connection.

Opc.Ua.ServiceResultException: BadSecureChannelClosed

On wireshark I can see that Ignition sends [FIN,ACK] after hellos message from the other software.

Same behavior if i connect to opc.tcp://host:port/discovery and to opc.tcp://host:port with the same result

If we refresh the runtime of the other software then we succed to read tags, but this needs to be done manually everytime we do a connection

picture of wireshark

Can you share the actual capture file? Preferably containing multiple connection attempts over a period of time.

You could be hitting the connection rate limiter if your client is attempting to connect too often. Search for "RateLimitingHandler" and set the level to DEBUG: Diagnostics - Logs | Ignition User Manual

@Kevin.Herron I attached the wrapper and the wireshark capture but it seems like you are on the right spot
wrapper.log (2.7 MB)
wiresharkTest.pcapng (332.8 KB)

Yep... that's what it is.

There's no configuration for this right now. Chill your client out. The rate limiter only kicks in if you're trying to connect more than 4 times per second.

@Kevin.Herron is that limit for 1 client or all clients?

All clients in the fraction of a time?

It’s by IP address