-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open web UI on appdaemon breaks when accessing remotely #700
Comments
This app cannot work via Ingress. If you want to expose it to the outside world, you'd have to do that yourself. ../Frenck |
Thanks for your answer. Would you have a second to elaborate on why the UI can't work via ingress, for future reference? Thanks. |
It doesn't let itself being served that way. |
I still don't understand what specifically would prevent it from working if we were to just set the parameters and bind to the correct port. Can you please point out what in the below reasoning is incorrect?
|
The application needs to support being served from a path, i.e. /somefolder/mypath. This can be a challenge for apps which assume everything is served from root (i.e. Javascript/asset loads etc) |
Thanks! |
Problem/Motivation
Clicking "Open WEB UI" when connected remotely does not work: it tries to open
http://<my-url>:5050/
but when connected remotely (DDNS and exposed HA on HTTPS), I don't necessarily have that NAT-ed.In fact, I don't want to NAT this, because there's no authentication on there so it clearly can't be opened to outside.
There is demand for this to work: https://community.home-assistant.io/t/solved-unable-to-connect-to-web-ui/134193/6
Proposed changes
My understanding is that HomeAssistant has a feature called "Ingress" that enables exposing the web UI as an iframe within Home Assistant:
Then one should bind to the ingress port instead of to a fully exposed port, and it would:
The text was updated successfully, but these errors were encountered: