# Faulted Default OPC Server Connection

**URL:** <https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744>\
**Category:** Ignition\
**Created:** [March 22, 2024, 2:41pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744 "2024-03-22T14:41:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Estera\_Cioroch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/estera_cioroch/32/59889_2.png) [@Estera\_Cioroch](https://forum.inductiveautomation.com/u/Estera_Cioroch)\
**Post date:** [March 22, 2024, 2:41pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/1 "2024-03-22T14:41:04Z")

</div>

Hi all,

I've been dealing with the default OPC Server connection being faulted on my computer. Anytime I create a new profile, it is also faulted. I tried troubleshooting and went through the steps at the following link (the part that discusses troubleshooting a faulted connection):

> **[Ignition's OPC UA Server | Ignition User Manual](https://docs.inductiveautomation.com/docs/8.1/ignition-modules/opc-ua/ignitions-opc-ua-server#endpoint-configuration)**
>
> Ignition's OPC UA server, provided by the OPC UA module, allows an ignition installation to utilize Ignition's various device driver modules. In addition, with the module installed, OPC UA clients can connect to Ignition's UA server, exposing any...

No luck. I've tried restarting the OPC module, restarted the gateway, reentered the default opcua username and passwords, confirmed and ruled out server settings, tried the hostname override with my PC IP address (as suggested here: [Ignition OPC UA Server Stays Faulted](https://forum.inductiveautomation.com/t/ignition-opc-ua-server-stays-faulted/18304)), and even tried creating a backup of a project on another PC with a working OPC connection, and restoring that to my computer, but without success. The only "lead" I seem to have is that the Config \> opcua \> Security section keeps having 2 server certificates pop up (if I delete it, then at some point, the second comes back.) I've tried regenerating them, first with matching dates, then different ones, etc. but I'm also not sure if that's completely unrelated to the faulted connection...

Any help figuring this out would be greatly appreciated!!

---

<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:** [March 22, 2024, 2:42pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/2 "2024-03-22T14:42:07Z")

</div>

What's the fault reason / stack trace? Can you upload your logs?

---

<div class="post-metadata">

**Author:** ![Estera\_Cioroch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/estera_cioroch/32/59889_2.png) [@Estera\_Cioroch](https://forum.inductiveautomation.com/u/Estera_Cioroch)\
**Post date:** [March 22, 2024, 2:49pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/3 "2024-03-22T14:49:17Z")

</div>

Yes! Here's a screenshot:

 ![Screenshot 2024-03-22 104538](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/6/d612581419ff04b0cc9118060666be53dab69dfc.png)

Error message (pasted into Notepad):

 ![Screenshot 2024-03-22](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/9/f9b96cfa3f884945536e8b705c0ac3dd0e0b485e.png)

Is that what you meant by logs? Or am I looking for a log file in the Ignition program folder?

---

<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:** [March 22, 2024, 2:56pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/4 "2024-03-22T14:56:55Z")

</div>

You can download them from the Status \> Diagnostics \> Logs area of the gateway.

It might be easier to call support so they can look at the connection settings. The Ignition OPC UA client/server certificates get mutually trusted on every startup of the OPC UA module, so either something is going very wrong there, your connection is not pointing to the local gateway, or some other certificate is being used for some reason.

---

<div class="post-metadata">

**Author:** ![Estera\_Cioroch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/estera_cioroch/32/59889_2.png) [@Estera\_Cioroch](https://forum.inductiveautomation.com/u/Estera_Cioroch)\
**Post date:** [March 22, 2024, 3:13pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/5 "2024-03-22T15:13:46Z")

</div>

Thanks!! @Kevin.Herron It's not letting me upload the log file as it says its too big (even if I change the range.) I'll probably just reach out to support like you suggested. I'll try to document the solution here later in case it comes in handy for someone else at another time.

---

<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:** [March 22, 2024, 4:38pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/6 "2024-03-22T16:38:37Z")

</div>

I saw your support ticket and logs.

You have two Ignition Gateways installed and running (one Edge maybe?)

On the one you are looking at, the server is failing to bind because something else (the other Gateway) already owns the port:

```auto
Bind failed for endpoint opc.tcp://localhost:62541
java.util.concurrent.CompletionException: java.net.BindException: Address already in use: bind

```

Your connection is failing because it's trying to connect to the _other_ Gateway, which doesn't automatically trust this client.

Uninstall the other Gateway. If you need to run multiple, use virtual machines.

---

<div class="post-metadata">

**Author:** ![Estera\_Cioroch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/estera_cioroch/32/59889_2.png) [@Estera\_Cioroch](https://forum.inductiveautomation.com/u/Estera_Cioroch)\
**Post date:** [March 22, 2024, 4:47pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/7 "2024-03-22T16:47:14Z")

</div>

Thanks Kevin!! Support also asked if I was running another gateway on my PC, and I am: Ignition Edge on port 8000. I'll remove it and see if it resolves this!

---

<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:** [March 22, 2024, 4:48pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/8 "2024-03-22T16:48:00Z")

</div>

After shutting it down you'll have to restart the current Ignition Gateway.

---

<div class="post-metadata">

**Author:** ![Estera\_Cioroch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/estera_cioroch/32/59889_2.png) [@Estera\_Cioroch](https://forum.inductiveautomation.com/u/Estera_Cioroch)\
**Post date:** [March 22, 2024, 4:54pm UTC](https://forum.inductiveautomation.com/t/faulted-default-opc-server-connection/87744/9 "2024-03-22T16:54:56Z")

</div>

I removed the Edge connection, restarted the Gateway, and that resolved it! Thanks so much Kevin! I'm glad I hopped on here, I would never have figured that out alone. 🥲
