Open TyzzyT opened 1 week ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (http
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
http documentation http source (message by IssueLinks)
Please enable debug logs for the http
integration and add the logs here.
It should also work without a reverse proxy. For testing please use guard_page
as you will get feedback.
Do you see the guard_page, when you try to access the ha instance from a device, which is already logged in?
I have a similar issue but i'm using the NGINX Home Assistant SSL proxy addon (for internal HTTPS access/Lets Encrypt) and cloudflare tunnel(for external access).
I was trying to access my Home Assistant via Firefox and App from my Android, both failed, but were logged in few minutes before(internal everything works).
I enabled the debug logs for the http integration, and got this message:
2024-04-29 10:32:50.655 DEBUG (MainThread) [homeassistant.components.http.auth] Perform strict connection action for 41.66.xxx.xxx (public IP of my Phone)
When i created a temporary link and i entered it into Firefox i was able to access it but i'm still unable to access it via the Android APP
I have the similar issue but with NGINX addon in front. Internal it works (which goes direct). External it doesn't. Using the mobile app to test it gives the Guard page when I connect over the cellular network but on internal wifi it works . Externally I use HTTPS (SSL) via NGINX, internally I use HTTP.
The problem
I'm not using the NGINX reverse proxy, but using the
ssl_certificate
&ssl_key
option underhttp
When setting thestrict_connection
to eitherstatic_page
ordrop_connection
, I can't access the webpage anymore via the public URL (https://subdomain.mydomainname.com:8124), but I can only access it via the local url (https://192.168.2.250:8124). Is this expected behavior? I assumed that it would allow access, because I was already authenticated via the public domain URL.Or is the strict_connection mode only available in combination with a reverse proxy? I don't prefer the reverse proxy, because when using the proxy it still shows a webpage (502 Bad Gateway) instead of a real drop and not responding at all.
What version of Home Assistant Core has the issue?
2024.5.0b0
What was the last working version of Home Assistant Core?
never
What type of installation are you running?
Home Assistant OS
Integration causing the issue
http
Link to integration documentation on our website
https://rc.home-assistant.io/integrations/http/#strict-connection-mode
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response