Giter Site home page Giter Site logo

Comments (9)

Seb-Maier avatar Seb-Maier commented on August 15, 2024 1

Yes, I think so. myopenhab also works when I'm not at home and has WLAN access. Only mobile access doesn't work...

I have to ignore the SSL certifications. Otherwise I get the error message "SSL Handshake fehlgeschlagen - Sie brauchen vielleicht ein gültiges Client Zertifikat" (...you need a valid client certification)

I create a certification with...
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/openhab.key -out /etc/ssl/openhab.crt
and
sudo openssl pkcs12 -export -out /etc/ssl/certificate.pfx -inkey /etc/ssl/openhab.key -in /etc/ssl/openhab.crt

The pfx file I installed on my android phone but it doesn't work

from openhab-android.

belovictor avatar belovictor commented on August 15, 2024

This probably means you didn't switch off local authentication in your openHAB, that's why remote connection through my.openhab.org doesn't pass through.

from openhab-android.

mwick83 avatar mwick83 commented on August 15, 2024

Hi, I just started experimenting with openHAB, but I'm seeing a similar problem. I'm not using my.openhab.org, but a dynamic DNS provider directing to my dial-up Router, which in turn routes port 8443 to my openhab machine locally.
I turned security always on. And when I'm in my work's WiFi everything is fine, too. But not on 3G. When accessing openHAB directly through the browser it also works on 3G. But HABdroid tells me to check if my instance is accessible and the URL is correct.

Is there anything I can do to debug the problem?
Thanks for your help!

from openhab-android.

belovictor avatar belovictor commented on August 15, 2024

a logcat for beginning would be great!

from openhab-android.

mwick83 avatar mwick83 commented on August 15, 2024

Sorry for not answering. But I still didn't get time to investigate on the issue. I will get back to you when I get more time to work on my openHAB machine.

from openhab-android.

belovictor avatar belovictor commented on August 15, 2024

I'm closing this as nobody seems to care about this problem.

from openhab-android.

Seb-Maier avatar Seb-Maier commented on August 15, 2024

I have the same problem with openHAB 2.1.0-1 (Release Build)
and openHAB Remote URL "https://myopenhab.org",
SSL Zertifikat and Hostname are ignored
openHAB App Version is 1.8.0.8

WLAN, also out of my home is working fine. Mobile access is not working and I get "Failed to connect to myopenhab.org/139.162.171.235:443"

Notifcations are working in WLAN and mobile acces

from openhab-android.

mueller-ma avatar mueller-ma commented on August 15, 2024

Just to be sure: you have set up myopenhab correctly?

And NEVER ignore ssl hostnames on the public internet!

from openhab-android.

mueller-ma avatar mueller-ma commented on August 15, 2024

Do you have some kind of firewall on your smartphone?

from openhab-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.