Hey all! My wife cannot log into HA through the mobile app (initial download of the app). I made her an account and she can log into HA with her credentials and Account I made her through safari on her phone, but through the app, it throws this error:
Unknown error: The operation couldn’t be completed. ObjectMapper failed to serialize response.
In my admin login, through the logs I am able to see this error:
‘’’
BlockquoteLogger: aiohttp.server
Source: helpers/network.py:135
First occurred: 8:32:47 PM (1 occurrences)
Last logged: 8:32:47 PM
Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/yarl/init.py”, line 161, in new
port = val.port
File “/usr/local/lib/python3.8/urllib/parse.py”, line 176, in port
raise ValueError(“Port out of range 0-65535”)
ValueError: Port out of range 0-65535
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.8/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/request_context.py”, line 18, in request_context_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 127, in auth_middleware
return await handler(request)
File “/usr/src/homeassistant/homeassistant/components/http/view.py”, line 129, in handle
result = await result
File “/usr/src/homeassistant/homeassistant/components/api/init.py”, line 206, in get
data[“internal_url”] = get_url(hass, allow_external=False)
File “/usr/src/homeassistant/homeassistant/helpers/network.py”, line 54, in get_url
return _get_internal_url(
File “/usr/src/homeassistant/homeassistant/helpers/network.py”, line 135, in _get_internal_url
internal_url = yarl.URL(hass.config.internal_url)
File “/usr/local/lib/python3.8/site-packages/yarl/init.py”, line 163, in new
raise ValueError(
ValueError: Invalid URL: port can’t be converted to integer
‘’’
It’s odd because, as I said, I can connect on other devices using her logon and it doesn’t even find HA through the auto scan on her phone, unlike mine where it found it instantly with no issues logging in. I have to type it in manually and it throws the same error 100% of the time. I’m currently running 0.117.6 core and 4.16 OS on iphone xr running 14.1. The port is definitely 8123 and as far as I can tell, the banning system works on IP addresses and I changed hers just to be sure, and the same thing happened. IP banner isn’t even enabled anyway. If there’s any more info you need, I’d be happy to provide it, just let me know.