openhab / openhab-ios

The repository of the iOS client
Eclipse Public License 2.0
190 stars 127 forks source link

SSL load error #110

Closed Mr-iX closed 6 years ago

Mr-iX commented 7 years ago

I have the problem, that when I access the openHAB Server via SSL, the sitemap does not load. So I configured the server via the URL "https://[ip]:8443" and allowed untrusted SSL-Certificates. When I launch the app, only a white screen appears and I have to click on the settings tab and then click save to load the sitemaps. There are no problems with SSL, when I access the openHAB-Server via a Desktop-Browser. Currently I am using the App Version 1.7.4.0 with iOS 10.3 and openHAB 2.0-1. This must be a general issue with SSL, behause when I setup a nginx Reverse Proxy with Self-signed SSL certificate, this doesnt work too.

https://community.openhab.org/t/ssl-load-error/21167/

ggggh commented 7 years ago

Exactly same issue here. Using Apache with user/pass authentication in my case.

trs3 commented 7 years ago

Same here... open the app > "discovering openHAB" > "Connecting to openHAB" -> white screen... tap burgermenue / settings / save > sitemap appears.

akw2si commented 7 years ago

Hello. When is upgraded version available in Apple Store? Regards, Andrzej

Mr-iX commented 7 years ago

We have to wait for @digitaldan. Only he can release new versions...

akw2si commented 7 years ago

Thank you for fast response. It is really annoying each time opening the app, going to settings than Save, etc…

--

Best regards,

Andrzej Kowalczyk

From: Mr-iX [mailto:notifications@github.com] Sent: Wednesday, March 8, 2017 1:22 PM To: openhab/openhab.ios Cc: akw2si; Comment Subject: Re: [openhab/openhab.ios] SSL load error (#110)

We have to wait for @digitaldan https://github.com/digitaldan . Only he can release new versions...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/openhab/openhab.ios/issues/110#issuecomment-285027104 , or mute the thread https://github.com/notifications/unsubscribe-auth/AZDrkbp4vGRwRu8-ksCG2SEWV4THga-Uks5rjp2FgaJpZM4LuTwE . https://github.com/notifications/beacon/AZDrkeWLisnIjTcGh1YkZbat1TKjTVQgks5rjp2FgaJpZM4LuTwE.gif

Mr-iX commented 7 years ago

You could also install the certificate on your iOS device, to fix the problem. See this thread: https://community.openhab.org/t/oh2-nginx-ios-app/23922/

digitaldan commented 7 years ago

Hi all, sorry for the very late response. I am working on mobile clients today. I will try and get a release pushed to apple soon.

gauch commented 7 years ago

Hey, That issue is only with self-signed certs. I've managed to fix it using letsencrypt.org, free and SA signed. No more blank pages in ios app.

bandric1 commented 6 years ago

This hapened againg OH 2.2 and the APP is not updated

bandric1 commented 6 years ago

It works on local network but once on LTE it wont connect to openhab cloud only white screen, some times gives 401 sometimes Timeout, and if SSL is turned on it gives a warning that SSL is not valid or correct.

mohadipe commented 6 years ago

For me clear cache helps if ssl error appears.