# Error connecting to Kepware OPC Server 6.4 from Ignition 7.7.1

**URL:** <https://forum.inductiveautomation.com/t/error-connecting-to-kepware-opc-server-6-4-from-ignition-7-7-1/16674>\
**Category:** Ignition\
**Tags:** ignition77\
**Created:** [January 22, 2018, 4:07pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-kepware-opc-server-6-4-from-ignition-7-7-1/16674 "2018-01-22T16:07:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![a344254](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@a344254](https://forum.inductiveautomation.com/u/a344254)\
**Post date:** [January 22, 2018, 4:07pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-kepware-opc-server-6-4-from-ignition-7-7-1/16674/1 "2018-01-22T16:07:42Z")

</div>

Installed a trial of Kepware Server EX 6.4 and am trying to connect to it from my Ignition server. I followed the directions at [https://docs.inductiveautomation.com/display/DOC/Connecting+to+Kepware+OPC-UA](https://docs.inductiveautomation.com/display/DOC/Connecting+to+Kepware+OPC-UA) but am getting an “faulted” status and error of “no acceptable UserTokenPolicy present on selected endpoint”. I have tried switching between the IP address and localhost when making the connection but that doesn’t seem to help. I did trust the client from within the Kepware server as stated in the instructions. Any ideas?

---

<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 22, 2018, 4:13pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-kepware-opc-server-6-4-from-ignition-7-7-1/16674/2 "2018-01-22T16:13:17Z")

</div>

“no acceptable UserTokenPolicy present on selected endpoint” means either:

- you’re trying to connect _without_ a username and password configured but Kepware requires one.
- you’re trying to connect _with_ a username and password but Kepware does not want one.

---

<div class="post-metadata">

**Author:** ![a344254](https://avatars.discourse-cdn.com/v4/letter/a/f05b48/32.png) [@a344254](https://forum.inductiveautomation.com/u/a344254)\
**Post date:** [January 22, 2018, 4:28pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-kepware-opc-server-6-4-from-ignition-7-7-1/16674/3 "2018-01-22T16:28:05Z")

</div>

Hmm - interesting. When I created the connection in Ignition I left the username/password fields blank as instructed, and didn’t specifically set a username/password on the Kepware side when installing 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:** [January 22, 2018, 4:34pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-kepware-opc-server-6-4-from-ignition-7-7-1/16674/4 "2018-01-22T16:34:00Z")

</div>

I don’t think Kepware allows anonymous connections by default. Check the UA configuration area.

---

<div class="post-metadata">

**Author:** ![Kraenbring](https://avatars.discourse-cdn.com/v4/letter/k/f4b2a3/32.png) [@Kraenbring](https://forum.inductiveautomation.com/u/Kraenbring)\
**Post date:** [August 7, 2018, 4:18pm UTC](https://forum.inductiveautomation.com/t/error-connecting-to-kepware-opc-server-6-4-from-ignition-7-7-1/16674/5 "2018-08-07T16:18:27Z")

</div>

I hit the same issue and needed to enable “None” for the UA Configuration security types and in the Kepware project had to “Allow Anonymous connections”. In my case, I also needed to configure firewall to allow port 49320 to communicate in/out.

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