EdddieN / machinon-domoticz_theme

GNU General Public License v3.0
46 stars 21 forks source link

visual bug with SSL connection #202

Closed Potjoe-97 closed 5 years ago

Potjoe-97 commented 5 years ago

Hi everyone, My sd card crashed, I was waiting for a new one, that's why I could'nt test the fix for the tiles. I've done a full from scratch install of raspbian, domoticz and machinon theme. No problem on my laptop, but here is the visual on my phone using chrome, android 9.0. The result is the same in mobile mode and desktop mode. unnamed I cleaned the cache from the settings, not changing anything.

184 #200

Edit: solved, was a problem with SSL configuration. Closed.

Potjoe-97 commented 5 years ago

I reopened the issue because the actual behaviour is really weird. I have a domain name for my IP address, and the router transfer the traffic to the pi. While accessing inside the sub-net on https by typing de local ip of the Raspberry, absolutely no problem. However, any attempt to establish the connection using the domain name, inside or outside the sub-net, and it displays what you see on my first post. It is really weird, because using this same domain name, I can call domoticz api through json and get an answer, domoticz app on Android is working, only the theme seems to be picky. I have a valid letsencrypt certificate for the domain, which is domoticz repository

Any ideas ? .

landaisbenj commented 5 years ago

And without ssl? Which router, orange? I've no problem with mine on freebox, domain, ip, in or out of lan with ssl without certificate.

Potjoe-97 commented 5 years ago

That's really weird. I have a freebox too, with a domain name type xxxxxxxxxx.freeboxos.fr Rerouting to the port 8080 and connecting with http, no problem inside and outside local network.

Potjoe-97 commented 5 years ago

Ok I solved it... I set up a port forwarding in the freebox to avoid 443, don't know why it didn't like the one I had before my clean install. Changing the forwarded port solved the issue. Not totally sure why (the behaviour was on all mobile devices, even some which never displayed domoticz instance so not a cache pb)

landaisbenj commented 5 years ago

Like me. Nat routing on 8080 and 443 and no problem with both. But I don't have let's enscrypt ...(?)

landaisbenj commented 5 years ago

Good for us 😄

Potjoe-97 commented 5 years ago

Yes hahah ! Actually the first time I see the result on mobile, I am so impressed by the job you've accomplished. Waouh 😃 and congrats 😉

landaisbenj commented 5 years ago

Yes thanks but really need a big cleanup and simplification of all code. But for the moment I appreciate the skin 😂