My iOS app can not connect to my.openhab.org - got error
Request failed: unauthorized (401)
Pass is ok, remote addr - https://my.openhab.org
In my.openhab.org i see “online”, and i can connect from external network by web browser.
I use Synology NAS and 8081 port.
In openhab.cfg i have myopenhab:localPort=8081
I have the same problem. I can connect with the browser on my.openhab.org with my mail address and password, status is shown as “Online”, I can access the sitemap. But the app always shows the unauthorized error. I have tried https://my.openhab.org with and without slash, but neither did work.
Hav tried deleting and reinstalling the app, but that did not help too.
Hi, Gabriel, have you been able to solve the problem in the meanwhile? It seems that I encounter the same issue. I’m able to access the system locally and remotely in the browser, but not with the iOS app (iPhone 4s, with latest OS). Configuration and authentication seem to be ok as I can select my sitemap entry.
However, the UI always shows the error “Request failed: not found (404)”. Nothing in the log but: [ERROR] [.myopenhab.internal.MyOHClient] - JSONObject[“sitemap”] not a string. This seems to be tracked by issue https://github.com/openhab/openhab/issues/3772, but as others seem to see this log entry also without having the problem described here, I doubt that it is the cause of my difficulties.
I had the same issue with the iOS version of the app. What helped in my case was to use a simpler password for the myopenhab account: My initial password was 32 characters long, generated by Keepass, containing all sorts of special characters. My new password is shorter and generated by myself.
Using this password in the settings of the app immediately let me through!