# WinCC OPC UA unable to auto connect

**URL:** <https://forum.inductiveautomation.com/t/wincc-opc-ua-unable-to-auto-connect/62575>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 2, 2022, 7:31am UTC](https://forum.inductiveautomation.com/t/wincc-opc-ua-unable-to-auto-connect/62575 "2022-08-02T07:31:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![avinashpise](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@avinashpise](https://forum.inductiveautomation.com/u/avinashpise)\
**Post date:** [August 2, 2022, 7:31am UTC](https://forum.inductiveautomation.com/t/wincc-opc-ua-unable-to-auto-connect/62575/1 "2022-08-02T07:31:31Z")

</div>

Hi There  
We are using WinCC OPC-UA connection for one of our ignition project  
but incase of any network disruption or WinCC OPC-UA machine restart ignition OPC-UA does not auto connect.

To validate further we have checked no subscription tag configured against WinCC OPC UA instance

Further we have added another instance of same OPC-UA without configuring any tags, this OPC-UA instance connect auto incase of any failure

Error Message

UaException: status=Bad\_ConfigurationError, message=no matching endpoints found  
at com.inductiveautomation.ignition.gateway.opcua.client.ClientManager.initializeObject(ClientManager.kt:118)  
at com.inductiveautomation.ignition.gateway.opcua.client.ClientManager$initializeObject$1.invokeSuspend(ClientManager.kt)  
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)  
at kotlinx.coroutines.DispatchedTask.run(Dispatched.kt:241)  
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
at java.base/java.lang.Thread.run(Unknown Source)

Refer below snapshots

 ![Untitled](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/0/40540a8d0c7e38a69e9de4559bf0603de4efdc33.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 2, 2022, 2:16pm UTC](https://forum.inductiveautomation.com/t/wincc-opc-ua-unable-to-auto-connect/62575/2 "2022-08-02T14:16:34Z")

</div>

> [@avinashpise](#):
>
> Bad\_ConfigurationError, message=no matching endpoints found

This error on your second connection means you have one or more of these configured incorrectly, and there is no matching endpoint returned by the server:

- endpoint URL
- security policy / message security mode
- authentication (anonymous vs username/password)

The reconnect issue would need to be diagnosed with logs and/or Wireshark. I know in a more recent version of Ignition a workaround was implemented for reconnecting to some faulty servers that would close the connection instead of return an error when they didn't support one of the steps the reconnect flow that happens.

You're on quite an old version of Ignition and should consider upgrading. Hopefully your license has upgrade protection and you can go all the way to 8.1.19.

---

<div class="post-metadata">

**Author:** ![avinashpise](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@avinashpise](https://forum.inductiveautomation.com/u/avinashpise)\
**Post date:** [August 3, 2022, 3:33am UTC](https://forum.inductiveautomation.com/t/wincc-opc-ua-unable-to-auto-connect/62575/3 "2022-08-03T03:33:29Z")

</div>

Thanks Kevin for update  
We have done similar configuration both above mentioned OPC-UA but still only instance is not connecting when it has assigned to some tags.

---

<div class="post-metadata">

**Author:** ![avinashpise](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@avinashpise](https://forum.inductiveautomation.com/u/avinashpise)\
**Post date:** [August 4, 2022, 2:52am UTC](https://forum.inductiveautomation.com/t/wincc-opc-ua-unable-to-auto-connect/62575/4 "2022-08-04T02:52:08Z")

</div>

I found solution

There were few transaction group running based on subscription  
We have changed them into Read mode
