# Lost connection to server when deploy flex server

**URL:** https://discourse.nodered.org/t/lost-connection-to-server-when-deploy-flex-server/48720
**Category:** General
**Created:** [21 July 2021 15:03 UTC](https://discourse.nodered.org/t/lost-connection-to-server-when-deploy-flex-server/48720 "2021-07-21T15:03:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![hadwll](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hadwll/32/89020_2.png) [@hadwll](https://discourse.nodered.org/u/hadwll)
#### Post date: [21 July 2021 15:03 UTC](https://discourse.nodered.org/t/lost-connection-to-server-when-deploy-flex-server/48720/1 "2021-07-21T15:03:48Z")

</div>

When I try and deploy the below node, node-red loses its connection.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/d/dd82ede3ebda83d97c1a3803c317e640ce3a170f.png)

I get the following on the terminal.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/5/4591f214d587f26ba2b404b991cd47248bb804da.png)

Any ideas?

using the following

> **[node-red-contrib-opcua](https://flows.nodered.org/node/node-red-contrib-opcua)**
>
> A Node-RED node to communicate via OPC UA based on node-opcua library.

> **[node-red-contrib-lativ](https://flows.nodered.org/node/node-red-contrib-lativ)**
>
> Old IoT/IIoT OPC UA toolbox package for Node-RED based on node-opcua.

Thanks!

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [21 July 2021 15:15 UTC](https://discourse.nodered.org/t/lost-connection-to-server-when-deploy-flex-server/48720/2 "2021-07-21T15:15:47Z")

</div>

looks like a bug in that lativ node - may be best to try to contact the author direct though they don't seem to have provided a link to the github or other repository. Either that or maybe try not to use that set of nodes.

---

<div class="post-metadata">

### Author: ![hadwll](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hadwll/32/89020_2.png) [@hadwll](https://discourse.nodered.org/u/hadwll)
#### Post date: [26 July 2021 09:21 UTC](https://discourse.nodered.org/t/lost-connection-to-server-when-deploy-flex-server/48720/3 "2021-07-26T09:21:30Z")

</div>

Hi,

Yes there maybe is a bug.

I uninstalled NR using the following instructions and reinstalled it.

Works ok after that.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/9/59dd2d5f32f564b618d9ebd24b6dd84f54fad7a3.jpeg)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [9 August 2021 09:22 UTC](https://discourse.nodered.org/t/lost-connection-to-server-when-deploy-flex-server/48720/4 "2021-08-09T09:22:26Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
