I can connect to my HA through NabuCasa remote UI using web browsers using my LTE connected mobile phone or PC from work)
I can connect with my HA using HA Companion for iOS from my local network at home.
However attempt to open the remote UI in HA Companion for iOS fails.
The process starts properly asking for NabuCasa credentials.
Then screen gives an opportunity to connect remote UI.
When I click “CONNECT” it turns into “Connecting” for a while, then switches into “Loading data” screen and after a few seconds ends on “Unable to connect to to Home Assistant” screen.
I found in HA log following records related to times of failures: 2019-12-16 11:59:09 WARNING (MainThread) [homeassistant.components.websocket_api.http.connection.2936256784] Disconnected: Did not receive auth message within 10 seconds
If you get a 404 error when trying to connect to your Home Assistant by entering a Nabu Casa URL, this is not supported. While Nabu Casa is fully supported by the app for connections, the app needs a direct connection to Home Assistant to complete setup. The best solution is to set up the app while connected to the same local network as your Home Assistant instance.
TBH I don’t know why you assuming 404?
Please read my description: no generic errors. Just attempting to connect and and then landing on application page which says “Unable to connect…”
IMO NabuCasa itself is configured properly because it works when using web browsers. I’ve wrote down this info too.
I’m assuming you entered the Nabu Casa URL which is … wrong. That’s why I posted the section telling you it needs to be set up via direct connection to your HA (which usually means on local wifi).
understand.
HA could be more bullet proof. If it doesn’t like entering URL manually, why it allows that? In fact it shows some warning when typying, but pasting string is still possible.
Anyway, in my case the url was filled by application, not by me. Maybe it was the slash at the end of base_url in configuration.yaml. I’ve found it after checking the support page you mentioned. then I removed remote URL from app settings (again, by cutting out the text) allowing the app to refill it again.
Since this it seems to work.
But it’s sad that the app is so no bullet proof, ending with pants down with no any cue to user.
The input validation has been reported and I believe is actually the top priority ticket for the next release. We’ve tested it a long time but turns out a group of experienced testers with pretty much bug-free HA setups will miss stuff like trailing / at the end of a URL…
In addition please check take a look at another scenario described below. Maybe it creates a related corner case.
When connecting mobile app for the first time (in home network), the HA wasn’t recognized automatically. then the app asked for entering address manually. What I found is, that this address is stored in External URL field.
Maybe it’s because the app didn’t now I’m at home yet, don’t know. But to make cloud working I had to manually move this address to Internal URL field.
At this point, having Nabu Casa URL at hand, the will of pasting it into external URL field seems to be natural.