Can’t change WLAN settings in any way. When I go to settings/system/network/wlan0
which is disabled now and changed to DHCP has an error.
Failed to change network settings, Unknown error, see supervisor logs. Checking the supervisor log I have this.
23-04-26 09:20:04 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 185, in block_bad_requests
return await handler(request)
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 201, in system_validation
return await handler(request)
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 268, in token_validation
return await handler(request)
File "/usr/src/supervisor/supervisor/api/middleware/security.py", line 280, in core_proxy
return await handler(request)
File "/usr/src/supervisor/supervisor/api/utils.py", line 62, in wrap_api
answer = await method(api, *args, **kwargs)
File "/usr/src/supervisor/supervisor/api/network.py", line 221, in interface_update
await asyncio.shield(self.sys_host.network.apply_changes(interface))
File "/usr/src/supervisor/supervisor/host/network.py", line 225, in apply_changes
settings = get_connection_from_interface(interface)
File "/usr/src/supervisor/supervisor/dbus/network/setting/generate.py", line 127, in get_connection_from_interface
"ssid": Variant("ay", interface.wifi.ssid.encode("UTF-8")),
AttributeError: 'NoneType' object has no attribute 'ssid'
Some thing happens if I change to static. Doesn’t matter if I do that in GUI or CLI.
Like: ha network update wlan0 --ipv4-method static --ipv4-address 192.168.5.71/24
I found similar error in thread: Fresh install - ERROR (MainThread) [aiohttp.server] Error handling request · Issue #49009 · home-assistant/core · GitHub
but it doesn’t help.
What can I do to resolve this and have my WLAN running? Any help will be appreciated.
Thank’s
System information Version core-2023.4.6
Installation Type Home Assistant OS
Development false
Supervisor true
Docker true
User root
Virtual Environment false
Python Version 3.10.10
Operating System Family Linux
Operating System Version 6.1.21-v8
CPU Architecture aarch64
Hardware Rapsberry Pi4