Hello,
I had to change my cable box from vodafone yesterday. After I plugged the Raspi with HA on it, the automations of the apartment stopped working and the Node-red UI said “502 Bad Gateway - nginx”.
I think DHCP gave a new IP and node-red can not handle? → 17 May 15:11:20 - [error] [server:Home Assistant] Home Assistant base URL needs to be set
Protocol:
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[15:11:07] INFO: Starting Node-RED...
> start
> node $NODE_OPTIONS node_modules/node-red/red.js "--settings" "/etc/node-red/config.js"
17 May 15:11:11 - [info]
Welcome to Node-RED
===================
17 May 15:11:11 - [info] Node-RED version: v2.2.2
17 May 15:11:11 - [info] Node.js version: v16.14.2
17 May 15:11:11 - [info] Linux 5.15.32-v8 arm64 LE
17 May 15:11:12 - [info] Loading palette nodes
17 May 15:11:18 - [info] Dashboard version 3.1.6 started at /endpoint/ui
17 May 15:11:19 - [info] Settings file : /etc/node-red/config.js
17 May 15:11:19 - [info] Context store : 'default' [module=memory]
17 May 15:11:19 - [info] User directory : /config/node-red/
17 May 15:11:19 - [warn] Projects disabled : editorTheme.projects.enabled=false
17 May 15:11:19 - [info] Flows file : /config/node-red/flows.json
17 May 15:11:20 - [info] Server now running at http://127.0.0.1:46836/
17 May 15:11:20 - [info] Starting flows
17 May 15:11:20 - [error] [server:Home Assistant] Home Assistant base URL needs to be set
17 May 15:11:21 - [info] Started flows
17 May 15:11:21 - [red] Uncaught Exception:
17 May 15:11:21 - [error] Error: Huejay: connect ECONNREFUSED 192.168.0.94:80
at /config/node-red/node_modules/huejay/lib/Transport.js:106:15
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Any Ideas?
Cheers