# Faulted Connection with Kepware

**URL:** <https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710>\
**Category:** Ignition\
**Created:** [October 19, 2017, 3:29am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710 "2017-10-19T03:29:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lalillo1](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@Lalillo1](https://forum.inductiveautomation.com/u/Lalillo1)\
**Post date:** [October 19, 2017, 3:29am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/1 "2017-10-19T03:29:32Z")

</div>

Hello I am still having trouble connecting KEPServerEX 6.3 to Ignition 7.9.4. I followed the instructions of this [video](https://www.inductiveuniversity.com/video/connecting-to-kepware-opc-ua/7.9) and I still getting a faulted connection.  
I have added Ignition as a Trusted clients in Kepware in the OPC UA Configuration Manager in Kepware:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/35b5ffa752d0054fbeecbb3e4b0b5fc28ddcaaf1.png)  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/ce3b1b831a7e034146ecc44f0dc7f5aaf08ba6d3.png)  
I also applied those changes in Kepware by selecting REINITIALIZE on the administration icon. I have even selected “Stop Runtime Service” and “Start Runtime Service”

On " Windows Firewall with Advanced Security" I created and Inbound and Outbound rule allowing all remote ports for TCP and UDP. So this would ensure that the firewall firewall is not blocking traffic on the port that KEPServerEX is using to communicate.

Then, I have looked into the OPC Connection Status link at the bottom of the OPC Server Connections page…

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d48e35dd61d612c1c473f2b451100b187e6445a5.png)

There, I found this error:

java.lang.Exception: no anonymous token policy found  
at org.eclipse.milo.opcua.sdk.client.api.identity.AnonymousProvider.lambda$getIdentityToken$2(AnonymousProvider.java:50)  
at java.util.Optional.orElseThrow(Unknown Source)  
at org.eclipse.milo.opcua.sdk.client.api.identity.AnonymousProvider.getIdentityToken(AnonymousProvider.java:50)  
at org.eclipse.milo.opcua.sdk.client.ClientSessionManager.lambda$activateSession$26(ClientSessionManager.java:388)  
at java.util.concurrent.CompletableFuture.uniComposeStage(Unknown Source)  
at java.util.concurrent.CompletableFuture.thenCompose(Unknown Source)  
at org.eclipse.milo.opcua.sdk.client.ClientSessionManager.activateSession(ClientSessionManager.java:414)  
at org.eclipse.milo.opcua.sdk.client.ClientSessionManager.lambda$createSession$24(ClientSessionManager.java:361)  
at java.util.concurrent.CompletableFuture.uniWhenComplete(Unknown Source)  
at java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(Unknown Source)  
at java.util.concurrent.CompletableFuture$Completion.exec(Unknown Source)  
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)  
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)  
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)  
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)

Any ideas on how fix my faulted connection with Kepware?  
Thank you.

---

<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:** [October 19, 2017, 4:48am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/2 "2017-10-19T04:48:55Z")

</div>

> [@Lalillo1](#):
>
> java.lang.Exception: no anonymous token policy found

You've got KEPServer configured to require a username and password but you haven't provided one.

---

<div class="post-metadata">

**Author:** ![Lalillo1](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@Lalillo1](https://forum.inductiveautomation.com/u/Lalillo1)\
**Post date:** [October 19, 2017, 5:22am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/3 "2017-10-19T05:22:56Z")

</div>

Thank you for your response. I have to figure out what is my username and password, because I don’t remember creating one on Kepware.

---

<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:** [October 19, 2017, 5:23am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/4 "2017-10-19T05:23:56Z")

</div>

Alternatively you can find the setting in KSE that enables anonymous access.

---

<div class="post-metadata">

**Author:** ![Lalillo1](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@Lalillo1](https://forum.inductiveautomation.com/u/Lalillo1)\
**Post date:** [October 19, 2017, 5:35am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/5 "2017-10-19T05:35:03Z")

</div>

Thank you. I got it. This is what I had to do:  
I right click on Project and select Properties:  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/ad95cf2a53d9e32ac22bb92099d65127bf04f722.png)  
Then I went to OPC UA and on the Client Sessions I changed the “Allow anonymous login” from "No to “Yes” :

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/db4f28954e2806806d6c8e2d622c7c3a75e19877.png)  
Then, after I hit apply and okay, I selected REINITIALIZE on the administration icon  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3df352c3e6539ad7a889806fe4844cd5f4517e91.png)

---

<div class="post-metadata">

**Author:** ![cmisztur2](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmisztur2/32/4243_2.png) [@cmisztur2](https://forum.inductiveautomation.com/u/cmisztur2)\
**Post date:** [October 19, 2017, 1:11pm UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/6 "2017-10-19T13:11:34Z")

</div>

Please secure your connections.

---

<div class="post-metadata">

**Author:** ![Cas](https://avatars.discourse-cdn.com/v4/letter/c/77aa72/32.png) [@Cas](https://forum.inductiveautomation.com/u/Cas)\
**Post date:** [April 26, 2018, 5:31am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/7 "2018-04-26T05:31:10Z")

</div>

Thank you for posting this. I ran into the same situation and you solved it for me. THANK YOU!!

---

<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:** [January 24, 2019, 12:06am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/8 "2019-01-24T00:06:26Z")

</div>

Split this topic on January 24, 2019, 12:06am UTC

A post was split to a new topic: [Kepware Bad\_UserAccessDenied](https://forum.inductiveautomation.com/t/kepware-bad-useraccessdenied/22084)

---

<div class="post-metadata">

**Author:** ![pgiri](https://avatars.discourse-cdn.com/v4/letter/p/bb73d2/32.png) [@pgiri](https://forum.inductiveautomation.com/u/pgiri)\
**Post date:** [July 5, 2023, 7:33am UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/9 "2023-07-05T07:33:22Z")

</div>

Thankyou, this worked for me as well.

---

<div class="post-metadata">

**Author:** ![mehdi.sajjadi](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mehdi.sajjadi](https://forum.inductiveautomation.com/u/mehdi.sajjadi)\
**Post date:** [October 14, 2025, 12:07pm UTC](https://forum.inductiveautomation.com/t/faulted-connection-with-kepware/15710/10 "2025-10-14T12:07:31Z")

</div>

"I had the same issue—this was incredibly helpful for a novice like me. Problem solved! 😀
