# Node RED w/ VPN

**URL:** <https://discourse.nodered.org/t/node-red-w-vpn/76007>\
**Category:** General\
**Tags:** opcua\
**Created:** [2 March 2023 16:48 UTC](https://discourse.nodered.org/t/node-red-w-vpn/76007 "2023-03-02T16:48:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MVArdent](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MVArdent](https://discourse.nodered.org/u/MVArdent)\
**Post date:** [2 March 2023 16:48 UTC](https://discourse.nodered.org/t/node-red-w-vpn/76007/1 "2023-03-02T16:48:14Z")

</div>

I have a question and please forgive me if it seems basic. I have a client about an hour away with a project we are doing. Its basically a packaging line with 8 station controlled with PLC's. There is a main hub which directs each station on what products to grab. The original design fell apart so I quickly whipped up something using node red and the node-red-contrib-opcua module for communications between the hub and stations. The hub also has a Phoenix Contact TC router/VPN on it so I can log in remotely. The past couple days I have been running into issues when logging into the VPN device and pulling up the flow where the client nodes on my flow will show errors; either invalid channel after read request, or a timeout error. I'm not real familiar with how node red at the client pushes all of the stuff to my web interface on my computer (I am not a software engineer nor specialized in any sort of IT) and I was wondering If i might be causing these errors with a bad/slow internet connection through the VPN?

---

<div class="post-metadata">

**Author:** ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Post date:** [2 March 2023 17:30 UTC](https://discourse.nodered.org/t/node-red-w-vpn/76007/2 "2023-03-02T17:30:54Z")

</div>

@MVArdent Welcome to the Forum!

I use VPN when away and have had no problems connecting the the Node-RED server, UNLESS the VPN/Internet connection is on the slow/bad side. I then get apparently frozen screens screens, but it does not affect the actual operation of the NR server, it just carries on as normal.

Effectively, you are looking at a website, bad connection, bad data.

Not sure if this answers your problem.

---

<div class="post-metadata">

**Author:** ![MVArdent](https://avatars.discourse-cdn.com/v4/letter/m/85f322/32.png) [@MVArdent](https://discourse.nodered.org/u/MVArdent)\
**Post date:** [2 March 2023 17:54 UTC](https://discourse.nodered.org/t/node-red-w-vpn/76007/3 "2023-03-02T17:54:24Z")

</div>

@mudwalker Yes, I get frozen screens and sometimes lost connections as well because of a slow/bad connection and I figured it was more of a website, but I wasn't sure if bringing it up locally caused something to foul up. I wasn't sure if the webserver was just serving up a page and transferring updates to it, or if because a page was served it then needed to get information back from my local page which caused the issues. Just not sure how the backend works (not a ton of web development/js experience). Thanks for the quick reply though.

---

<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:** [1 May 2023 17:54 UTC](https://discourse.nodered.org/t/node-red-w-vpn/76007/4 "2023-05-01T17:54:59Z")

</div>

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