Android: Home Assistant Android app can't connect to FQDN

Created on 16 Nov 2019  Â·  6Comments  Â·  Source: home-assistant/android

@BRTPOB commented on Nov 15, 2019, 1:37 PM UTC:

Home Assistant release with the issue:
Android app 1.0.0

Last working Home Assistant release (if known):
N/A

Operating environment (Hass.io/Docker/Windows/etc.):
Android 9.0 Pie

Integration:
N/A

Description of problem:
When attempting to setup the HA Android App with my HA installation, I am unable to connect to my server using my FQDN that I setup for HA. I have to use my internal IP and port to get it to save and connect. This means that I'm unable to use the app to control my house from outside of my house, which seems like a missed or broken opportunity.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
N/A
Traceback (if applicable):
N/A
Additional information:

This issue was moved by fabaff from home-assistant/home-assistant#28791.

bug

Most helpful comment

It's a limitation of the users router and we should collect two urls, one for local and one for outside your home. More info in the dev docs: https://developers.home-assistant.io/docs/en/app_integration_sending_data.html#short-note-on-instance-urls

All 6 comments

@dshokouhi commented on Nov 15, 2019, 4:08 PM UTC:

My FQDN works just fine, make sure you enter http or https as appropriate. Also in the future, file android app bugs here: https://github.com/home-assistant/home-assistant-android

@BRTPOB commented on Nov 15, 2019, 4:17 PM UTC:

I assumed more features would come so I didn't leave a big report. But
there should be 2 inputs. One for local and one for external. That way we
can access Hass if the internet is down but we're local.

On Sat, Nov 16, 2019, 3:53 AM move[bot] notifications@github.com wrote:

@BRTPOB https://github.com/BRTPOB commented on Nov 15, 2019, 4:17 PM
UTC:

Oh, my bad. I tried to find the github link but wasn't able to. As for the
FQDN, I was putting in the https and http (since I have a 301 redirect) but
I kept getting an error that it couldn't connect. How do you unbind the
host and re-add it? Do I have to clear the data to reset it?

… <#m_884152569646050359_>
On Fri, Nov 15, 2019 at 4:09 PM Daniel Shokouhi @.*> wrote: My
FQDN works just fine, make sure you enter http or https as appropriate.
Also in the future, file android app bugs here:
https://github.com/home-assistant/home-assistant-android
— You are receiving this because you authored the thread. Reply to this
email directly, view it on GitHub <#28791?email_source=notifications&email_token=ABW6CBCORA2AZFNO7LEPMGLQT3CS5A5CNFSM4JN24WU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEF45GI#issuecomment-554421913>,
or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ABW6CBFCPOXTY5L7GZYTJI3QT3CS5ANCNFSM4JN24WUQ
>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/home-assistant/home-assistant-android/issues/29?email_source=notifications&email_token=AAICE7C5IA6SYN5USVTHTB3QT6YHFA5CNFSM4JOEHSU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEHM2UA#issuecomment-554618192,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAICE7EDAXEKTPE5EUFBQL3QT6YHFANCNFSM4JOEHSUQ
.

I do it by declaring my external address on local router's dns. So in lan it's seen with local IP

It's a limitation of the users router and we should collect two urls, one for local and one for outside your home. More info in the dev docs: https://developers.home-assistant.io/docs/en/app_integration_sending_data.html#short-note-on-instance-urls

Duplicate of #30

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jokerigno picture jokerigno  Â·  4Comments

andriej picture andriej  Â·  4Comments

Hypfer picture Hypfer  Â·  3Comments

Anonym-tsk picture Anonym-tsk  Â·  3Comments

simbesh picture simbesh  Â·  3Comments