Cant access outside local network

I suddenly cant access HA from outside my local network. (from cellular) In other words… The companion app cant access HA.

Port forward is setup (as before when it was working) and working ok according to port checking tools.
Also if I setup another port forward to something else on my network, its working.

I´ve updated everything in HA and ive installet duckdns with letsencrypt.

Anyone with similar problem?

core: 2021.8.3
hass.io on raspb pi 3b+

Did you recently updated Home Assistant to 2021.7+?

If yes and you are also using reverse proxy (such as Nginx), you need to configure reverse proxy by adding the following line in your configuration.yaml-

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24 #Replace this with the IP address of your proxy server that shows up in your error logs

I have core 2021.8.3.
Ive added

http:
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24
    - 255.255.254.0
    - 127.0.0.1

Still cant access from 4g cellular. Im trying to find out when this occoured.
Ive updated HA to latest and installed doods (object detection).

But i can ssh to the server on port 22.

Thanx for any further help!

  1. Did you install and use Nginx server proxy add-on?
  2. Did you get any error logs regarding reverse proxy?

You may want to read Reverse Proxy Error.

Has your outside IP address changed?

No… And if it changes duckdns updates with the new one.
Also I can access ssh via duckdns url.

No. I have no addon.
It used to work… But I guess after updating HA to latest it stopped.

Ive added Nginx addon and setup accordingly.
But issue still remains… Cant access.

FOUND THE SOLUTION.

It was my phone… Airplane mode on → airplane mode off. E voila!