# Need Help on OPC UA. It Gets Faulted

**URL:** <https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855>\
**Category:** Ignition\
**Created:** [April 10, 2020, 8:19pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855 "2020-04-10T20:19:02Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 10, 2020, 8:19pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855/1 "2020-04-10T20:19:02Z")

</div>

I just installed Ignition 8 web based trial application and I already set up connection to my CopactLogix PLC and it is connected now. But I have a problem to set up OPC UA.  
It keeps showing me faulted in status in the last page. I have tried many addresses in endpoint and other fields but the same problem. My host IP is 192.168.0.1  
I entered as:

- **Discovery URL:** opc.tcp://localhost:62541/discovery
- **Endpoint URL:** opc.tcp://localhost:62541
- **Endpoint Host Override:**
- **Endpoint Security Mode:** SignAndEncrypt
- **Endpoint Security Policy:** Basic256Sha256

I turned off windows 7 firewall and Avast antivirus but what ever I enter as different port or IP address it does not pass and says:

UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.0.11:62541

Also It shows:

 ![OPC01](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9ce5074dd30a49fa5b5f709c98cd2a41cf33f0b5.jpeg)

---

<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:** [April 10, 2020, 8:28pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855/2 "2020-04-10T20:28:01Z")

</div>

Few things…

Why are you trying to set up another loopback connection?

You said your IP is 192.168.0.1 but the error message says it’s connecting to 192.168.0.11.

The screenshot shows a different error message from connection “My\_OPC4”, Bad\_UserAccessDenied, which means it’s getting connected but you haven’t configured the right username and password.

So what’s the actual state of things? What are you trying to do?

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 10, 2020, 8:46pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855/3 "2020-04-10T20:46:45Z")

</div>

I need to mention that the second one (Ignition OPC UA Server) is working properly. But I tried to set up another OPC with different name and it keeps getting faulted.

First I tried the IP 192.168.0.1 and it told me Access Dnied message as the attached photo.

Then I tried CPU IP address which is 192.168.0.11 and it told me  
UaException: status=Bad\_ConnectionRejected, message=io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.0.11:62541

---

<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:** [April 10, 2020, 8:52pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855/4 "2020-04-10T20:52:24Z")

</div>

> [@mr.heidari63](#):
>
> First I tried the IP 192.168.0.1 and it told me Access Dnied message as the attached photo.

I assume you're just trying to make another OPC UA connection to Ignition's built-in OPC UA server for the sake of experimentation? If so, you need to provide a username and password when configuring it. By default it is `opcuauser` / `password`.

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 10, 2020, 8:59pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855/5 "2020-04-10T20:59:31Z")

</div>

Yes. I am doing experiment and practice. 😊  
Where should I use these username and password to create another one?  
I go to OPC Client-\> OPC Connection → Create new OPC → OPC UA

Then, it asks me Endpoint URL. I will face the same problem when I enter aforesaid address and IP. Where is the username and password?

---

<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:** [April 10, 2020, 9:00pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855/6 "2020-04-10T21:00:36Z")

</div>

It’s on the screen you get to after this discovery flow. Try “localhost” instead of using your IP address.

---

<div class="post-metadata">

**Author:** ![mr.heidari63](https://avatars.discourse-cdn.com/v4/letter/m/d6d6ee/32.png) [@mr.heidari63](https://forum.inductiveautomation.com/u/mr.heidari63)\
**Post date:** [April 10, 2020, 9:02pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855/7 "2020-04-10T21:02:52Z")

</div>

> [@Kevin.Herron](#):
>
> `password`

I saw the fields and now it is OK as I entered the same username and password you told me. Appreciate you.  
Where can I change the username and password?

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [April 11, 2020, 7:46pm UTC](https://forum.inductiveautomation.com/t/need-help-on-opc-ua-it-gets-faulted/33855/8 "2020-04-11T19:46:31Z")

</div>

Config ▶Security ▶Users, Roles ▶ opcua-module ▶ More ▶manage users:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/7/71e285c13fa6aee73b1ed6368be77996acf798d3.png)
