# OPC Connection Faulted: Endpoint Not Found

**URL:** <https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636>\
**Category:** Ignition\
**Created:** [July 7, 2022, 2:56pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636 "2022-07-07T14:56:09Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brooks\_Romoser](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@Brooks\_Romoser](https://forum.inductiveautomation.com/u/Brooks_Romoser)\
**Post date:** [July 7, 2022, 2:56pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/1 "2022-07-07T14:56:09Z")

</div>

In attempt to make an OPC UA connection between the Gateway and Kepware, I have been getting this error: **UaException: status=Bad\_ConfigurationError, message=no matching endpoints found**

It’s strange because it’s communicating with each other perfectly fine.  
The firewall rules are off on each server, and we have port 49320 enabled for communication across the two servers, and local IT has confirmed that the communication is fine.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/d/5dd5cbe004f34f796f3c4ad707ace3b0ecf4a7f1.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/8/287bc031df16b57a64a9c7f1bbaa4c4fd1b1c6b2.jpeg)

There is a communication issue somewhere, but in the past I have not came across any fault like this when the two servers are clearly finding each other. I am not sure why this connection is faulted. Has anyone came across a problem like this in the past, maybe you know a possible solution?

---

<div class="post-metadata">

**Author:** ![Brooks\_Romoser](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@Brooks\_Romoser](https://forum.inductiveautomation.com/u/Brooks_Romoser)\
**Post date:** [July 7, 2022, 2:58pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/2 "2022-07-07T14:58:39Z")

</div>

Also, I should mention that this is Ignition Version 8.1.18

---

<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:** [July 7, 2022, 2:58pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/3 "2022-07-07T14:58:56Z")

</div>

You have likely configured the connection with a Security Policy that the server isn’t configured to support or an endpoint URL that is incorrect.

If you walk through the discovery process again you should be able to correct it.

---

<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:** [July 7, 2022, 3:00pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/4 "2022-07-07T15:00:16Z")

</div>

If that doesn’t work, set the log level for the logger you find searching “opcua.client.ClientManager” to DEBUG and then edit/save or let it connect and then upload your logs.

[https://docs.inductiveautomation.com/display/DOC81/Diagnostics+-+Logs#DiagnosticsLogs-ChangingLoggingLevels](https://docs.inductiveautomation.com/display/DOC81/Diagnostics+-+Logs#DiagnosticsLogs-ChangingLoggingLevels)

---

<div class="post-metadata">

**Author:** ![Brooks\_Romoser](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@Brooks\_Romoser](https://forum.inductiveautomation.com/u/Brooks_Romoser)\
**Post date:** [July 7, 2022, 3:18pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/5 "2022-07-07T15:18:25Z")

</div>

So I walked through the discovery process again, and I changed the security policy (I wasn’t sure what the best security policy was to choose, but I have tried a couple different ones at this point). Anyways, I did not have much luck. I did get the logs you’re talking about, here is what they say:  
[Ignition-WPBWI19IE01\_Ignition\_logs\_20220707-1113.idb](https://forum.inductiveautomation.com/uploads/short-url/jfSNbXwG3Jd2rK7BL5inbfQE1aw.idb) (348 KB)

---

<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:** [July 7, 2022, 3:21pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/6 "2022-07-07T15:21:16Z")

</div>

Can you go to the Status \> OPC Connections area of the gateway and see what the current fault message is for that connection?

---

<div class="post-metadata">

**Author:** ![Brooks\_Romoser](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@Brooks\_Romoser](https://forum.inductiveautomation.com/u/Brooks_Romoser)\
**Post date:** [July 7, 2022, 3:24pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/7 "2022-07-07T15:24:25Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/1/c1d37869ad83ebb8b9566e65b01bc7cf4521c8f3.png)  
I believe I have not seen this one yet…

---

<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:** [July 7, 2022, 3:25pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/8 "2022-07-07T15:25:27Z")

</div>

KSE is configured to require a username and password but you have not configured one on the connection.

---

<div class="post-metadata">

**Author:** ![Brooks\_Romoser](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@Brooks\_Romoser](https://forum.inductiveautomation.com/u/Brooks_Romoser)\
**Post date:** [July 7, 2022, 3:32pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/9 "2022-07-07T15:32:44Z")

</div>

So I am a bit confused… I would be required to input a username and password in this location when setting up the OPC UA connection in the Ignition Gateway?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/44ca37770c371410a4bdcee831f87ce74f69b873.png)  
Or is something that would have to be configured on the KSE side?

---

<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:** [July 7, 2022, 3:33pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/10 "2022-07-07T15:33:50Z")

</div>

Yes, that’s where you would put the username and password for this connection. The KSE side is already configured to require some username and password and has not been configured to allow anonymous access.

---

<div class="post-metadata">

**Author:** ![Brooks\_Romoser](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@Brooks\_Romoser](https://forum.inductiveautomation.com/u/Brooks_Romoser)\
**Post date:** [July 7, 2022, 3:44pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/11 "2022-07-07T15:44:09Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/6/96c47d838f0a2d9cb26991cb861ace9bd53d3d6a.png)  
This is the new error I am getting. Any idea what this means?  
[Ignition-WPBWI19IE01\_Ignition\_logs\_20220707-1142.idb](https://forum.inductiveautomation.com/uploads/short-url/7nWk9ChN5bfXl5p0pp5fboizIxH.idb) (540 KB)

---

<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:** [July 7, 2022, 3:49pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/12 "2022-07-07T15:49:07Z")

</div>

What’d you change to get that error? I’m guessing you messed with the discovery or endpoint URL and removed the “opc.tcp://” prefix.

---

<div class="post-metadata">

**Author:** ![Brooks\_Romoser](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@Brooks\_Romoser](https://forum.inductiveautomation.com/u/Brooks_Romoser)\
**Post date:** [July 7, 2022, 3:56pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/13 "2022-07-07T15:56:31Z")

</div>

Ah ignore the last reply…

I think I know what the problem is:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/2/a2f7ad431e231b0555bcd027777ca7c821d4ec94.png)  
I believe I have to create a service account between the two servers, right?

---

<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:** [July 7, 2022, 3:58pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/14 "2022-07-07T15:58:40Z")

</div>

> [@Brooks\_Romoser](#):
>
> I believe I have to create a service account between the two servers, right?

No... I already told you exactly what the problem was.

KSE requires a username and password by default. You or someone else set up KSE and configured one. Maybe it's Administrator/password, maybe it's something else.

You either need to put the correct credentials into the OPC UA connection settings for the KSE connection or go re-configure KSE so it allows anonymous connections.

Stop messing with other settings.

---

<div class="post-metadata">

**Author:** ![Brooks\_Romoser](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@Brooks\_Romoser](https://forum.inductiveautomation.com/u/Brooks_Romoser)\
**Post date:** [July 7, 2022, 4:01pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/15 "2022-07-07T16:01:26Z")

</div>

Ah okay I understand. Sorry for the previous confusion.

Thanks a bunch for your help Kevin

---

<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:** [July 7, 2022, 4:02pm UTC](https://forum.inductiveautomation.com/t/opc-connection-faulted-endpoint-not-found/61636/16 "2022-07-07T16:02:37Z")

</div>

If you make any changes on the KSE side make sure you “reinitialize” the KSE service or whatever they call it. A lot of configuration changes won’t take effect until you do.
