Hi everybody, since the last update of HA, I have bad gateway error 502… with Node Red.
HA Version core-2021.4.4 on Raspbery PI4 32bit
I made a totally new installation and i have the same issue, I can open Node Red into HA or directly in Web UI but after some second, I have the message “Lost Connection” and after the connexion come back, and lost… it’s cyclic
See below the error:
> 21-04-14 18:21:52 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
> 21-04-14 18:21:52 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
> 21-04-14 18:21:52 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
> 21-04-14 18:21:52 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
> 21-04-14 18:21:58 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
> 21-04-14 18:21:58 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
> 21-04-14 18:21:59 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:01 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:03 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:05 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:07 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:13 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
> 21-04-14 18:22:13 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request initialize
> 21-04-14 18:22:13 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
> 21-04-14 18:22:13 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
> 21-04-14 18:22:13 INFO (MainThread) [supervisor.api.proxy] WebSocket access from a0d7b954_nodered
> 21-04-14 18:22:14 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API request running
> 21-04-14 18:22:19 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
> 21-04-14 18:22:19 INFO (MainThread) [supervisor.api.proxy] Home Assistant WebSocket API connection is closed
> 21-04-14 18:22:21 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:23 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:25 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:27 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
> 21-04-14 18:22:29 ERROR (MainThread) [supervisor.api.ingress] Ingress error: 502, message='Invalid response status', url=URL('http://172.30.32.1:62597/comms')
Do you have any solution?
UPDATE: I found the problem, it’s was somes Nodes lost de relation between Home Assistant and Node Red, Node Red getting kicked by HA. I delleded all of my flows and creat a new relation… Now everything is ok
Thanks