Please tell me if it’s likely that some IP address pools are blocked?
I get error: Cannot connect to host mobile-apps.home-assistant.io:443 ssl:None [Connect call failed ('151.101.1.195', 443)]
I tried ping from home (176.114.213.222) and work (176.114.204.65) to mobile-apps.home-assistant.io and it works. But cmd command telnet mobile-apps.home-assistant.io 443 tells me could not open connection to the host on port 443 connect failed
If i use telnet mobile-apps.home-assistant.io 80 - port open…
My friend uses a different provider and everything works for him.
I understand what the problem is, server ip address is blocked by Roskomnadzor =(
App says: “Unable to register application. Please check to ensure you have the mobile_app integration enabled on your home assistant instance””
Retry does nothing. However, I close app re-open it and it loads HA lovelace up instantly.
On my laptop, there is no “ notify.mobile_app” service in Developer tools – Services. Only notify.notify
Restart HA.
Still no notify.mobile_app in the services.
It should be noted that when I go to integrations and try to add the mobile app integration, it says: “Aborted - Open the mobile app to set up the integration with Home Assistant. See the docs for a list of compatible apps.”
The exact same behavior as above happens when I use my nabu casa url instead on my local URL. I’ve tried pretty much every version of “open app once” as per the instructions, but still no dice. I’ve logged in on the app and kept it on the “unable to register application” screen and restarted HA there for example. Still same problems.
I have cleared the android app cache, reinstalled it multiple times, but nothing I try gets the notify.mobile service to appear.
I also tried the nabu casa URL and got the same results of it not working. But I will now only try the Nabu Casa URL in my testing if anyone here can help point me in the right direction.
I suppose the first stage of problem solving is: should I get the “Unable to register application. Please check to ensure the mobile_app integration enabled on your home assistant instance” error when I first try to correct to my HA instance on the app?
The auto-discovery never worked for me. Using my public domain that’s running over HTTPS worked correctly. Make sure you’re using the same address that you would use in a browser while away from your home network.
Next, if that’s still not working, uninstall and reinstall the application. Potentially some cache storage is messed up.
Note, when I get the Unabled to register application error, this appears in my logs:
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 135, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 50, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/http_api.py", line 80, in post
DOMAIN, data=data, context={"source": "registration"}
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 109, in async_init
result = await self._async_handle_step(flow, flow.init_step, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 172, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/config_flow.py", line 47, in async_step_registration
self.hass, user_input[CONF_USER_ID], devt_entry.entity_id
File "/usr/src/homeassistant/homeassistant/components/person/__init__.py", line 108, in async_add_user_device_tracker
if device_tracker_entity_id in device_trackers:
TypeError: argument of type 'NoneType' is not iterable
Component error: device_trackers - Integration 'device_trackers' not found.
So I tried it as device_tracker: and the checking config works. So I restarted, but get the same error I believe
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
resp = await task
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/real_ip.py", line 39, in real_ip_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 72, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 135, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 123, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 50, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/http_api.py", line 80, in post
DOMAIN, data=data, context={"source": "registration"}
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 109, in async_init
result = await self._async_handle_step(flow, flow.init_step, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 172, in _async_handle_step
result: Dict = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/mobile_app/config_flow.py", line 47, in async_step_registration
self.hass, user_input[CONF_USER_ID], devt_entry.entity_id
File "/usr/src/homeassistant/homeassistant/components/person/__init__.py", line 108, in async_add_user_device_tracker
if device_tracker_entity_id in device_trackers:
TypeError: argument of type 'NoneType' is not iterable
Although I notice this example in the HA “person” integration help page.
person:
- name: Ada
id: ada6789
device_trackers:
- device_tracker.ada