openhab / openhab-cloud

Cloud companion for openHAB instances
Eclipse Public License 2.0
315 stars 161 forks source link

401 http error while trying to connect via android app #147

Open flaviodexter opened 6 years ago

flaviodexter commented 6 years ago

Hi there, I've installed and configured OH 2.0 with openHAB Cloud Connector on a raspberry one year ago. Then I've configured it on my android phone. After months of inactivity I've turned my raspberry on and updated to OH2.2 Everything works but I'm not able to use the android app. I now get a 401 error (unable to login)

If I log in https://myopnehab.org with my user and password I can login (firefox on win7 64bit) on my android I get push notifications when raspberry is online, still I'm not able to see my sitemap on the app. haven't found other people with this error so I0m asking for some support or ideas on how to dg this. Maybe I have to change the "openhab secret"? thanks.

BTW: removing and reinstalling the app did't solve the issue I'm running version 2.0.0 of the app

The problem only occurs when connecting from outside the home network so it should be really something in the config of myopenhab.org account, maybe the ssl certificate? I've double checked UUID sudo nano /var/lib/openhab2/uuid and SECRET sudo nano /var/lib/openhab2/openhabcloud/secret and they match

dastrix80 commented 6 years ago

I have the same issue, when remote I cannot login to the OH2 instance using the Android App

xchatter commented 6 years ago

Same here.