Reconnecting all the time?

A post was split to a new topic: Interface does not seem to stay in sync with the Openhab current state

That’s a… Complicated question haha.

I would be connecting via external url (DuckDns as you said) with a certificate.

However, since my router doesn’t support NAT loopback, I set up a custom DNS server using dnsmasq that resolves the domain I’m using to the local IP.

In short, I put in the external URL, but it actually connects locally.

If it helps at all, i use a local IP, no ssl/cert

Great APP btw, hope to iron these out

@igor, I don’t want to bother you, I’m really sorry. If at all possible, could we have an ETA on the fix?
Since the app is not usable for me, I have to decide wether to wait for the fix or look into other alternatives for my wall setup.

@RobertoRanieri it is hard to give an estimate, since root cause is not known yet.
There is currently work being done on a possibly related fix, that would be in the next pre-release build, but I can’t say for curtain that it will help with this issue.

Having the same issue on an Galaxy Tab A10.1.
Saidly the app is kinda useless now with al the reconnecting…

Any chance of a fix soon?

Same issue. Openhab and HASS on Amazon Fire tablets

@Aaron_Wakefield HASS reconnection issue is something that shouldn’t apply for Openhab, and there were no reports from other Openhab users, so can you provide more details on your Openhab setup: is it local connection? certificates, versions, etc. Also did it start recently?

Local connection over SSL with a lets encrypt cert going through nginx reverse proxy. Been happening for months now.

and what is the version of Fire OS?

6.3.1.5

I just setup a tablet to test. This one is direct (No NGINX, SSL, or Basic Auth). I will let you know if it does it too.

A

great, thank you for the update

Hi,
today I read that Home Habit is out of beta. Nice, but I’m wondering that this issue is not solved before. It’s not a small bug e.g. for one item but instead totallly blocking me from using Home Habit. I have 3 different tablets at home and all of them are not working anymore, just doing connect and reconnect. If you’re interested I can send you more details about the three different tablets ans OS versions, but I think it’s more a general issue with regards to certificate, reverse proxy ?
My setup is Home Assistant with Let’s Encrypt Certificate and using an NGINX reverse proxy with no authorization (besides the Home Assistant Logon).

Hoping to get this solved soon.

Regards,
Michel

Hi I also have the same issue with reconnecting all the time. Firstly I was thinking that my Android tablet is disconnecting from WiFi, but I tried wired ethernet with same results so it’s not in internet connection. Then I tried every other Android device at my home that I have (5 phones and 4 tablets) and everyone had the same problem… So I tried fresh installing HASS on my spare Pi3 and I didn’t changed or added anything to it and that worked… So now I’m thinking if it is issue on my main VM HASS install? Is problem if my port was changed from 8123 to 80 or maybe something else?

Maybe someone who has Home Habit app working with Home Assistant can share us their setup!
My setup is currently:
Internet -> Cloudflare HTTPS (certificate) -> NGINX proxy HTTPS (letsencrypt certificate) -> Home assistant (https - own certificate)
I can also say that home assistant is blocking the home habit app after couple of minutes. So it seems there is a problem with the authentification!

1 Like

@michelm thank you for uploading the logs. It looks like your issue is similar, or same, to something that is being investigated right now. It does appear to be authentication-related. However, the weird part is that only some requests fail, even though initial connection test succeeds.

On a side note, I noticed you have both Nginx and HA have separate certificates - is there a benefit to this setup? I personally use certificate on Nginx side only, so wondering if I’m missing some security benefits.

Normally you also want to secure your network communication within your own network. If the connection from NGINX to your HA is using http then someone can listen to your network traffic. That’s why I also try to secure all my inter-LAN traffic with https. In regards for this connection issue, I also tried with a HA instance which listen to http port instead of https. Some problem with the connection issues.

So in your case Nginx and HA are not on the same machine, right?
That makes sense then.

@michelm do you have anything special in Nginx proxy config that affects only specific URIs?