# OPCUA Server issue

**URL:** <https://community.cumulocity.com/t/opcua-server-issue/4664>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [April 24, 2020, 1:20pm UTC](https://community.cumulocity.com/t/opcua-server-issue/4664 "2020-04-24T13:20:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Timothy\_Van\_Wonterghem](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@Timothy\_Van\_Wonterghem](https://community.cumulocity.com/u/Timothy_Van_Wonterghem)\
**Post date:** [April 24, 2020, 1:20pm UTC](https://community.cumulocity.com/t/opcua-server-issue/4664/1 "2020-04-24T13:20:19Z")

</div>

Hi,

I am experimenting with the opcua server and the corresponding java agent: opcua-device-gateway-1006.0.2.jar  
using tenant: [hornet.cumulocity.com](http://hornet.cumulocity.com), backend & UI 1005.7.5.

For opcua server I’m using the Prosys OPCUA simulator.

I had some issues setting up the correct security mode/policies, but when the agent started scanning for nodes the following issue on the c8y website happened.

The OPC UA server disappeared from the tab and a permission error appears.

In the console log I saw the following error, but after a refresh not anymore (full trace in attachments):  
ERROR Error: "Uncaught (in promise): TypeError: n.sent(…).json is not a function

If I go to device protocols to try to add another device protocol, for some reason I can select this as a reference server still.  
Though, when I select it, I get the error “Cannot set property targetUpdateState on class c8y.ua.ClientConfig”

[console\_log.txt](https://community.cumulocity.com/uploads/short-url/wZLgGLK06NYRuTR2qwOS6LKNl6N.txt) (4.89 KB)

 ![opcua_server_gone.png](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/2X/d/d0c934c7a4aa8a9e41a737ac4643c0745cdc0613.png)  
[agent\_log.txt](https://community.cumulocity.com/uploads/short-url/x5aSlxqvxuHS5UFJoV0161zAK0U.txt) (16.7 KB)

---

<div class="post-metadata">

**Author:** ![Gyan\_Awasthi1](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@Gyan\_Awasthi1](https://community.cumulocity.com/u/Gyan_Awasthi1)\
**Post date:** [June 22, 2020, 3:16am UTC](https://community.cumulocity.com/t/opcua-server-issue/4664/2 "2020-06-22T03:16:48Z")

</div>

In order to use OPC UA, you must be subscribed to the “opcua-mgmt-service” microservice. If the “opcua-mgmt-service” microservice is not available in your tenant, contact [SAG support](https://empower.softwareag.com/ContactSupport/).

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [April 2, 2021, 3:44pm UTC](https://community.cumulocity.com/t/opcua-server-issue/4664/3 "2021-04-02T15:44:34Z")

</div>

Closed on April 2, 2021, 3:44pm UTC


