Closed outadoc closed 3 years ago
Posted new comment on https://github.com/outadoc/home-slide-android/issues/358
I do not use seperate URLs for external and internal which appears to be the assumption here.
This shouldn't be a problem, if you only have one URL it's the one that will be used.
Ok, should take a look at my comment though as there is an issue with login and the error messages mentions the urls, but the java error seems to point to an issue it is having with the ssl cert.
Since a few versions back, Home Assistant supports setting internal and external instance URLs right from the interface. This is something we can make use of during setup!
For the manual setup flow
Before this PR, we just used whatever the user typed in as the internal base URL. Now both URLs can be auto-configured using the
discovery_info
call we already make to check for a valid instance.For better user feedback, it's now possible to click on the "continue" button when there has been an error, and it will display some diagnostics information to hopefully help solve the issue.
For the mDNS zero-conf flow
Before this PR, we used the discovered IP and port as the internal URL, and the
base_url
property given back as the remote URL. This property is now deprecated and replaced by the internal/external URL pair, which we now use and will improve reliability.Closes #376
Closes #358 by improving reliability + adding a feedback popup