#I just suddenly lost access through ip

1 messages · Page 1 of 1 (latest)

midnight geode
#

Locally are you using http:// or https://?

worn sapphire
#

Https

midnight geode
#

What error are you getting remotely then?

worn sapphire
#

A generic SSL error in the app

#

I'd send a screenshot but it won't let me

#

ERR_SSL_PROTOCOL_ERROR

#

From the ip

midnight geode
#

Well, the IP will give you errors

#

You have to use the hostname

worn sapphire
#

I restored to a few days ago when everything worked.

#

But still everything remained broken.

midnight geode
#

It should always have thrown an error, that's how SSL works

#

The certificate isn't valid for the IP

worn sapphire
#

Duckdns keeps doing a countdown

midnight geode
#

I have no idea what that means

worn sapphire
#

Unable to connect. Retrying in 60 seconds

midnight geode
worn sapphire
#

The app is set up with duckdns.

midnight geode
#

Check that your router is configured for NAT reflection

worn sapphire
#

Which number?

midnight geode
#

What?

worn sapphire
#

Which port number?

midnight geode
#

The port you forwarded on your router...

#

I'd guess either 443 or 8123, but you should know...

worn sapphire
#

443 is open

#

It has been months since I set this up

#

It was working perfectly until I tried adding an automation that broke the UI.

#

Then restarting it led to losing duckdns access.

midnight geode
#

Well, all DuckDNS does is resolve a hostname (example.duckdns.org) to an IP (your WAN IP, typically)

#

Have you tried connecting when not on WiFi?

worn sapphire
#

The pi or the device accessing it?

midnight geode
#

The device accessing HA

#

Hopefully the Pi isn't on WiFi, because that'd suck

worn sapphire
#

That is the case due to the sheer volume of devices connected. But the device accessing it was wired.

midnight geode
#

Client isolation could cause issues there, if enabled on your router

worn sapphire
#

I have 1 router handling 6 people each with multiple devices. Ethernet ports are not something I have in abundance.

midnight geode
#

Switches are your friend

worn sapphire
#

I have a switch connected as well. Power outlets are also limited. Plus I need my pi close to my door for zwave.

midnight geode
#

The Z-Wave mesh should handle that, assuming you've built one

worn sapphire
#

I noticed that internal 8123 forwards to 443.

midnight geode
#

Well, hopefully 443 forwards to 8123

worn sapphire
#

Internal 8123 external 443

midnight geode
#

Now take your mobile phone, disconnect from WiFi, and see if you can connect to https://example.duckdns.org/ (obviously with your hostname)

worn sapphire
#

Still same countdown

midnight geode
#

Or did you not test with the hostname?

worn sapphire
#

I used the external address it identified.

midnight geode
#

Try the hostname

worn sapphire
#

Just tried it and "Invalid remote addres"

midnight geode
#

Well, looks like you need to check what's going on with your DuckDNS hostname/account

worn sapphire
#

I'm gonna undo a fix I tried earlier but I did check my duckdns configuration.

#

Other than a brief moment where it banned the internal up of the router it has been working fine until todaym

#

Working now. I disabled nginx which I installed to fix things.

#

This was overall the dumbest error to cascade into other areas. The root cause was a bulb that lost connection with my ZigBee hub. This wiped out my sidebar, somehow broke duckdns, and removed entire pages like scenes.

midnight geode
#

A bulb can't break DuckDNS

#

Correlation != Causation

worn sapphire
#

That is the only thing I ended up removing to fix.

#

When I removed that initially the sidebar and pages returned.

#

Which explains why restoring my setup didn't do anything because it was still a broken link in an automation.

#

I have no idea why it would affect anything else though.

midnight geode
#

It shouldn't break anything other than automations

worn sapphire
#

I'd agree with you but removing the group it was part of from my configuration.yaml and automation tab led to restoring the setup.

#

Would a broken link in the configuration file have a cascading effect?