Cannot access HA via cellular network, but works via remote WiFi

Hi,

Since about 1-2 weeks I cannot access Home Assistant over my mobile/cellular carrier. It works locally and also when I am connected to a WiFi network at work or at a friends house.

I am using a DynDNS service to connect to the normal Webinterface of HA.

Over cellular network I only see this screen.

When installing Home Assistant about 2 years ago I had to add

http:
  use_x_forwarded_for: true
  trusted_proxies:
  - 213.225.39.1
  [.....]
  - 213.225.39.16
  ip_ban_enabled: true
  login_attempts_threshold: 5

otherwise Home Assistant also could not connect via cellular and gave me an Error Message in the Notifications. But this is not happening this time. (This is just for your information)

I also don’t see anything in the logs when I fail to connect to Home Assistant to see what could be the case.

I hope someone can help.

Michael

Do you see something in ip_bans.yaml ?

I figured it out, but just because I got lucky.

A few months ago I had problems with the cellular connection and found that the APN settings had a Proxy server in them. When deleting it these problems went away. So my carrier probably uses some kind of “trash” Proxy server :wink:

So today I checked again and they Proxy server reappeared in my Android APN settings. Just deleted it again and just like that I could connect to Home Assistant again. Probably some kind of phone update reset the APN settings and so I could not connect anymore.

Still don’t know WHY it did not work behind this Proxy. I also added it to my configuration.yaml as a test but it still did not work.

Anyway => Problem seems to be solved :slight_smile:

1 Like