# Problem connecting PLCNext to FactoryIO using OPCUA

**URL:** <https://community.factoryio.com/t/problem-connecting-plcnext-to-factoryio-using-opcua/1440>\
**Category:** Drivers\
**Created:** [April 8, 2022, 1:19pm UTC](https://community.factoryio.com/t/problem-connecting-plcnext-to-factoryio-using-opcua/1440 "2022-04-08T13:19:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tharun.karanam](https://avatars.discourse-cdn.com/v4/letter/t/919ad9/32.png) [@tharun.karanam](https://community.factoryio.com/u/tharun.karanam)\
**Post date:** [April 8, 2022, 1:19pm UTC](https://community.factoryio.com/t/problem-connecting-plcnext-to-factoryio-using-opcua/1440/1 "2022-04-08T13:19:34Z")

</div>

Hi,  
I am trying to connect my PLCNext to FactoryIO via OPC Client UA/DA. I tried to look up for the resources online and made changes, still I am getting the attached error.

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/factoryio/original/1X/4bfca9dc0a97758c4679f4a929111b23fded14a2.png)  
Can anyone please help me with this issue? Thank you.

---

<div class="post-metadata">

**Author:** ![brunovgr](https://dub1.discourse-cdn.com/flex017/user_avatar/community.factoryio.com/brunovgr/32/12_2.png) [@brunovgr](https://community.factoryio.com/u/brunovgr)\
**Post date:** [April 19, 2022, 3:13pm UTC](https://community.factoryio.com/t/problem-connecting-plcnext-to-factoryio-using-opcua/1440/2 "2022-04-19T15:13:20Z")

</div>

Hi,

By default, Factory I/O tries to connect to an OPC UA server by using an [anonymous user identity](https://docs.factoryio.com/manual/drivers/opc/#opc-ua-certificates-and-user-identity). I believe in PLCNext you have to enable the [anonymous identity token](https://www.plcnext.help/te/Service_Components/OPC_UA/OPCUA_Discovery.htm).
