Hi,
I have running HA in docker on synology nas, and Node RED installed as add on in HA.
I can run Node RED directly in HA. but if i want to use my local IP with default port i am getting error
500 Internal Server Error
nginx
Could you please help me what could be set wrongly?
Node RED log:
routine 0:
[C]: in function 'error'
/usr/share/lua/common/resty/core/request.lua:124: in function 'get_headers'
/etc/nginx/lua/ha-auth.lua:7: in function 'authenticate'
/etc/nginx/lua/ha-auth.lua:73: in function </etc/nginx/lua/ha-auth.lua:1>, client: 192.168.1.224, server: a0d7b954-nodered.local.hass.io, request: "GET /favicon.ico HTTP/1.1", host: "192.168.1.153:1880", referrer: "http://192.168.1.153:1880/"
[23/Jan/2021:19:40:27 +0100] 500 -(192.168.1.224) GET /favicon.ico HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36)
[23/Jan/2021:20:58:12 +0100] 101 192.168.1.224, 172.30.32.1(172.30.32.2) GET /comms HTTP/1.1 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36)
23 Jan 20:58:12 - [trace] comms.close IYhFhpFNZ79nZn1v0P3Fd04+elmPLo9i3KiT402dqyY=
Also having the same issue. Works btw when you use the Sidebar option within HA. Just not when going direct via the web url and port.
2021/01/24 03:11:20 [error] 577#577: *309 lua entry thread aborted: runtime error: /usr/share/lua/common/resty/core/request.lua:124: no request found
stack traceback:
coroutine 0:
[C]: in function ‘error’
/usr/share/lua/common/resty/core/request.lua:124: in function ‘get_headers’
/etc/nginx/lua/ha-auth.lua:7: in function ‘authenticate’
/etc/nginx/lua/ha-auth.lua:73: in function </etc/nginx/lua/ha-auth.lua:1>, client: 192.168.68.66, server: a0d7b954-nodered, request: “GET / HTTP/2.0”, host: “my.duckdns.org:1880”
[24/Jan/2021:03:11:20 -0800] 500 -(192.168.68.66) GET / HTTP/2.0 (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36)
I’ve updated all my add ons and I’m getting this same issue. I’m on 2021.5 on HA. I can access Node Red throught HA UI just fine but http://myHAip:1880/ gives me a 500 Internal Server Error. Anyone have this same issue?