I got Hassio with the DuckDuckDNS addon and it it’s running fine for me. I can access my Hassio setup via SSL, like it should be the case.
I wanted to give node red a try. The installation went fine and I also can access the node red web interface.
But I’m struggling with connection between Hassio and node red. I always get the error:
you mean the duckdns url right ? I tried this to but it also wasn’t working.
On top I would still prefer that every request would not go over the internet.
I hope there is still a way to get Hassio accessible over two ports or something similar.
If your router doesn’t handle NAT loopback in a way that works for you, you could look at changing how DNS resolves in your setup. You could setup split DNS or a hosts file to make DNS resolve your duckdns name to your private IP.
Another option, which is simpler to setup on hassio, is to install Nginx addon to handle SSL then point Node-RED at 8123, which would not have SSL enabled.
Nope. You just disable ssl in Home Assistant config then install, configure and start the nginx add-on. Nginx will provide ssl on port 443 while Home Assistant is still available on port 8123 without ssl. Nginx uses the same cert that Let’s Encrypt creates.
When I recently disabled SSL on my hassio, my log was also filled with these errors. The difference is that I was still able to access the frontend. For me, the fix was to change "ssl": true to "ssl": false in the configurations of the addons that had that field.
Being that you don’t have frontend access, maybe you can change the addon configurations via SSH? I’m not sure, though, so someone else will have to chime in on that.
I’m trying to get this to work as well, but with Caddy instead of Nginx, I have “a.duckdns.org” pointing to my hassio frontend and “b.duckdns.org” pointing to NodeRED, I am able to access both services through those urls, but when I use “a.duckdns.org” as the server base url in NodeRED I get the
Cannot GET /homeassistant/entities
I’ve tried using localhost:8123 as the base url with no luck. Any ideas?
You’d have to look at the logs to see what’s going wrong. BTW, that should no longer be necessary to do now that hassio supervisor 0.78 has been released. You can just configure Node-RED to use http://hassio/homeassistant as the Base URL now regardless of whether you have SSL enabled or not.
It’s not referring to base_url in Home Assistant configuration. If you install node-red-contrib-home-assistant in Node-RED, then you can use http://hassio/homeassistant as the Base URL for that node.