I'm using a vpn tunnel through a 4g lte connection to access node-red running on a Windows10 machine. The browser on the local machine can bring up the flow editor @ 127.0.0.1:1880 however remote machines connecting in through the vpn can not. The browser on a remote machine will throw these errors in the web console:
Loading failed for the with source “http://192.168.70.125:1880/vendor/vendor.js”.
Loading failed for the with source “http://192.168.70.125:1880/red/red.min.js”.
Uncaught ReferenceError: $ is not defined
http://192.168.70.125:1880/red/main.min.js:16
When I go to get the vendor.js file from the remote machine and compare it to the local one it appears that it does not finish loading.
vendorLocal.txt (1.0 MB) vendorRemote.txt (910.2 KB)
I'm not sure what I'm up against here. I've tried completely removing node.js and node-red and reinstalling, I've tried both Node.js 12x and 14x, i've tried with the modules I need installed and without. I've created my own secret key for the credientials in the settings file. I've tried extending timeouts in the settings file.
settings.txt (12.9 KB)
Here's my console output:
Welcome to Node-RED
18 Nov 05:56:58 - [info] Node-RED version: v1.2.3
18 Nov 05:56:58 - [info] Node.js version: v12.19.0
18 Nov 05:56:58 - [info] Windows_NT 10.0.17763 x64 LE
18 Nov 05:57:02 - [info] Loading palette nodes
18 Nov 05:57:04 - [debug] Module: node-red-contrib-bitunloader 0.3.7
18 Nov 05:57:04 - [debug] \Users\user.node-red\node_modules\node-red-contrib-bitunloader
18 Nov 05:57:04 - [debug] Module: node-red-contrib-google-sheets 0.1.0
18 Nov 05:57:04 - [debug] \Users\user.node-red\node_modules\node-red-contrib-google-sheets
18 Nov 05:57:04 - [debug] Module: node-red-contrib-modbus 5.13.3
18 Nov 05:57:04 - [debug] \Users\user.node-red\node_modules\node-red-contrib-modbus
18 Nov 05:57:04 - [debug] Module: node-red-contrib-simpletime 2.10.0
18 Nov 05:57:04 - [debug] \Users\user.node-red\node_modules\node-red-contrib-simpletime
18 Nov 05:57:04 - [debug] Module: node-red-node-rbe 0.2.9
18 Nov 05:57:04 - [debug] C:\Users\user\AppData\Roaming\npm\node_modules\node-red\node_modules\node-red-node-rbe
18 Nov 05:57:04 - [debug] Module: node-red-node-tail 0.1.1
18 Nov 05:57:04 - [debug] C:\Users\user\AppData\Roaming\npm\node_modules\node-red\node_modules\node-red-node-tail
18 Nov 05:57:11 - [info] Settings file : C:\Users\user.node-red\settings.js
18 Nov 05:57:11 - [info] Context store : 'default' [module=memory]
18 Nov 05:57:11 - [info] User directory : \Users\user.node-red
18 Nov 05:57:11 - [warn] Projects disabled : editorTheme.projects.enabled=false
18 Nov 05:57:11 - [info] Flows file : \Users\user.node-red\flows_DESKTOP-17JDQKF.json
18 Nov 05:57:12 - [info] Server now running at http://127.0.0.1:1880/
18 Nov 05:57:12 - [debug] loaded flow revision: 046e5fc8cbac13d47ca2a4fc7f4d34ce
18 Nov 05:57:12 - [debug] red/runtime/nodes/credentials.load : user provided key
18 Nov 05:57:12 - [debug] red/runtime/nodes/credentials.load : keyType=user
18 Nov 05:57:12 - [info] Starting flows
18 Nov 05:57:12 - [debug] red/nodes/flows.start : starting flow : global
18 Nov 05:57:12 - [debug] red/nodes/flows.start : starting flow : bf718b9e.88b41
18 Nov 05:57:12 - [debug] red/nodes/flows.start : starting flow : be8c8591.07bae8
18 Nov 05:57:12 - [debug] red/nodes/flows.start : starting flow : 5de50897.664488
18 Nov 05:57:12 - [debug] red/nodes/flows.start : starting flow : 16a51d54.913093
18 Nov 05:57:12 - [debug] red/nodes/flows.start : starting flow : f5b9a037.b2e2a
18 Nov 05:57:13 - [info] Started flows
Thanks in advance for any help.