core: Unifi Networks plugin will not connect following update to 2022.7.0 - 401 for valid credentials

The problem

Potentially related to #74547 but different error in logs.

Following update to 2022.7.0 I can see the below error in the logs. Not fixed by temporarily disabling and re-enabling the integration. Upon removing the integration, I get the following error when trying to add it again, and the same error in the logs. I’ve confirmed that the Unifi credentials are correct and allow me to log into the console without issue.

Screenshot 2022-07-07 at 11 11 59

What version of Home Assistant Core has the issue?

2022.7.0

What was the last working version of Home Assistant Core?

2022.6.6

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Unifi Network

Link to integration documentation on our website

https://www.home-assistant.io/integrations/unifi

Diagnostics information

Unable to provide as integration no longer installed

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2022-07-07 11:10:56 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiounifi/controller.py", line 287, in request
    return await self._request(method, url, json)
  File "/usr/local/lib/python3.10/site-packages/aiounifi/controller.py", line 323, in _request
    raise LoginRequired(f"Call {url} received 401 Unauthorized")
aiounifi.errors.LoginRequired: Call https://192.168.0.1:443/proxy/network/api/self/sites received 401 Unauthorized
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 435, 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/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 94, in forwarded_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 79, in ban_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 236, in auth_middleware
    return await handler(request)
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 136, in handle
    result = await result
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 177, in post
    return await super().post(request, flow_id)
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 109, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 277, in async_configure
    result = await self._async_handle_step(
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 359, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
  File "/usr/src/homeassistant/homeassistant/components/unifi/config_flow.py", line 112, in async_step_user
    sites = await controller.sites()
  File "/usr/local/lib/python3.10/site-packages/aiounifi/controller.py", line 148, in sites
    sites = await self.request("get", url=url)
  File "/usr/local/lib/python3.10/site-packages/aiounifi/controller.py", line 295, in request
    return await self._request(method, url, json)
  File "/usr/local/lib/python3.10/site-packages/aiounifi/controller.py", line 323, in _request
    raise LoginRequired(f"Call {url} received 401 Unauthorized")
aiounifi.errors.LoginRequired: Call https://192.168.0.1:443/proxy/network/api/self/sites received 401 Unauthorized

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26 (15 by maintainers)

Most upvoted comments

Thanks for verifying @philmale UniFi is hard to get right 😃

Can confirm I’ve had this exact error for a couple of weeks, on HA release 2022.6.6 and on 2022.7.0 and on 2022.7.1, with the UDM on 1.11.x - updating UDM Pro to version 1.12.22 this morning fixed it instantly - Network app was the latest - it was only updating the Unifi OS to 1.12.22 that fixed it.

Updating to the latest Unifi OS (1.12.22) and Network 7.1.66) versions seems to have solved the issue for me, although I’m not sure why HA updating would have triggered the issue. Happy for this to be closed though, as it seems updating Unifi fixed it for others too.

It shouldn’t be 1.12. the requirement is latest stable

After updating to 1.12.22 on the UDM Pro seems to have fixed the issue, the logs now show the login going through properly

2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] 200 text/html <ClientResponse(https://redacted.fu.com:443) [200 OK]> <CIMultiDictProxy('Vary': 'Origin', 'X-DNS-Prefetch-Control': 'off', 'X-Frame-Options': 'SAMEORIGIN', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': '91c3a030-6c3a-43e8-bff0-8597616ce325', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '450', 'X-Response-Time': '3ms', 'Set-Cookie': 'TOKEN=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; samesite=none; secure; httponly', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Connection': 'keep-alive')> 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/api/auth/login 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/api/auth/login) [200 OK]> <CIMultiDictProxy('Vary': 'Origin', 'X-DNS-Prefetch-Control': 'off', 'X-Frame-Options': 'SAMEORIGIN', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': 'b33e7a47-b760-4f18-853a-c19b4e765574', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '6267', 'X-Response-Time': '193ms', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiJiMzNlN2E0Ny1iNzYwLTRmMTgtODUzYS1jMTliNGU3NjU1NzQiLCJpYXQiOjE2NTcyMjU4NjcsImV4cCI6MTY1NzIyOTQ2NywianRpIjoiYzJkYWZjNjQtNDk1My00ZDQzLTg3YTctYjgwNzAzYzk0NzQ0In0.ppKXCoaDTUkcgVrix3xtv-amCU7xtEhJ817I1DdDEeA; path=/; samesite=none; secure; httponly', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Connection': 'keep-alive')> 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/proxy/network/api/self/sites 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/proxy/network/api/self/sites) [200 OK]> <CIMultiDictProxy('Vary': 'Origin', 'X-DNS-Prefetch-Control': 'off', 'x-frame-options': 'DENY', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': 'b33e7a47-b760-4f18-853a-c19b4e765574', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '323', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiJiMzNlN2E0Ny1iNzYwLTRmMTgtODUzYS1jMTliNGU3NjU1NzQiLCJqdGkiOiJjMmRhZmM2NC00OTUzLTRkNDMtODdhNy1iODA3MDNjOTQ3NDQiLCJwYXNzd29yZFJldmlzaW9uIjoxNjU3MTM4ODU3LCJpYXQiOjE2NTcyMjU4NjcsImV4cCI6MTY1NzIyOTQ2N30.xNnn8vU1xTAcOBUYiaCAEzgwI6nmXN7VfnrAqtOiJ0o; path=/; samesite=none; secure; httponly', 'Connection': 'keep-alive')> 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] [{'_id': '5d01a14f7c90af001a10fd9d', 'anonymous_id': 'ce3dcae5-dcaa-43d1-9a46-5dd79204e2fc', 'attr_hidden_id': 'default', 'attr_no_delete': True, 'desc': 'Default', 'location_accuracy': 150.0, 'location_lat': 44.0981654, 'location_lng': -79.58613749999999, 'name': 'default', 'role': 'admin', 'role_hotspot': False}] 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] 200 text/html <ClientResponse(https://redacted.fu.com:443) [200 OK]> <CIMultiDictProxy('Vary': 'Origin', 'X-DNS-Prefetch-Control': 'off', 'X-Frame-Options': 'SAMEORIGIN', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': 'afddfdbd-47b2-4c1e-90c9-8c912b9a9a07', 'Content-Type': 'text/html; charset=utf-8', 'Content-Length': '450', 'X-Response-Time': '1ms', 'Set-Cookie': 'TOKEN=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; samesite=none; secure; httponly', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Connection': 'keep-alive')> 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/api/auth/login 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/api/auth/login) [200 OK]> <CIMultiDictProxy('Vary': 'Origin', 'X-DNS-Prefetch-Control': 'off', 'X-Frame-Options': 'SAMEORIGIN', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': '1f45e199-7b3a-4377-973e-01ce9167e058', 'Content-Type': 'application/json; charset=utf-8', 'Content-Length': '6267', 'X-Response-Time': '180ms', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiIxZjQ1ZTE5OS03YjNhLTQzNzctOTczZS0wMWNlOTE2N2UwNTgiLCJpYXQiOjE2NTcyMjU4NjcsImV4cCI6MTY1NzIyOTQ2NywianRpIjoiNTBiM2E1NjAtMzE1Yi00YWFkLTkyNjEtZTBmOTdjZDIwZDEyIn0.voMdNsSTrjAyx3E_7n84pugTkb0HA8lAFaCpo14-DMI; path=/; samesite=none; secure; httponly', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Connection': 'keep-alive')> 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/proxy/network/api/s/default/stat/sta 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/proxy/network/api/s/default/stat/sta) [200 OK]> <CIMultiDictProxy('Vary': 'accept-encoding', 'X-DNS-Prefetch-Control': 'off', 'x-frame-options': 'DENY', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': '1f45e199-7b3a-4377-973e-01ce9167e058', 'Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiIxZjQ1ZTE5OS03YjNhLTQzNzctOTczZS0wMWNlOTE2N2UwNTgiLCJqdGkiOiI1MGIzYTU2MC0zMTViLTRhYWQtOTI2MS1lMGY5N2NkMjBkMTIiLCJwYXNzd29yZFJldmlzaW9uIjoxNjU3MTM4ODU3LCJpYXQiOjE2NTcyMjU4NjcsImV4cCI6MTY1NzIyOTQ2N30.G0E6kPtMmxKvlSaqH0lD4izW7fEhKHO9HtPlWAwIZMY; path=/; samesite=none; secure; httponly', 'Connection': 'keep-alive', 'Transfer-Encoding': 'chunked')> 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/proxy/network/api/s/default/rest/user 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/proxy/network/api/s/default/rest/user) [200 OK]> <CIMultiDictProxy('Vary': 'accept-encoding', 'X-DNS-Prefetch-Control': 'off', 'x-frame-options': 'DENY', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': '1f45e199-7b3a-4377-973e-01ce9167e058', 'Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiIxZjQ1ZTE5OS03YjNhLTQzNzctOTczZS0wMWNlOTE2N2UwNTgiLCJqdGkiOiI1MGIzYTU2MC0zMTViLTRhYWQtOTI2MS1lMGY5N2NkMjBkMTIiLCJwYXNzd29yZFJldmlzaW9uIjoxNjU3MTM4ODU3LCJpYXQiOjE2NTcyMjU4NjcsImV4cCI6MTY1NzIyOTQ2N30.G0E6kPtMmxKvlSaqH0lD4izW7fEhKHO9HtPlWAwIZMY; path=/; samesite=none; secure; httponly', 'Connection': 'keep-alive', 'Transfer-Encoding': 'chunked')> 2022-07-07 16:31:07 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/proxy/network/api/s/default/stat/device 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/proxy/network/api/s/default/stat/device) [200 OK]> <CIMultiDictProxy('Vary': 'accept-encoding', 'X-DNS-Prefetch-Control': 'off', 'x-frame-options': 'DENY', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': '1f45e199-7b3a-4377-973e-01ce9167e058', 'Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiIxZjQ1ZTE5OS03YjNhLTQzNzctOTczZS0wMWNlOTE2N2UwNTgiLCJqdGkiOiI1MGIzYTU2MC0zMTViLTRhYWQtOTI2MS1lMGY5N2NkMjBkMTIiLCJwYXNzd29yZFJldmlzaW9uIjoxNjU3MTM4ODU3LCJpYXQiOjE2NTcyMjU4NjcsImV4cCI6MTY1NzIyOTQ2N30.G0E6kPtMmxKvlSaqH0lD4izW7fEhKHO9HtPlWAwIZMY; path=/; samesite=none; secure; httponly', 'Connection': 'keep-alive', 'Transfer-Encoding': 'chunked')> 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/proxy/network/api/s/default/rest/dpiapp 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/proxy/network/api/s/default/rest/dpiapp) [200 OK]> <CIMultiDictProxy('Vary': 'Origin', 'X-DNS-Prefetch-Control': 'off', 'x-frame-options': 'DENY', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': '1f45e199-7b3a-4377-973e-01ce9167e058', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '30', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiIxZjQ1ZTE5OS03YjNhLTQzNzctOTczZS0wMWNlOTE2N2UwNTgiLCJqdGkiOiI1MGIzYTU2MC0zMTViLTRhYWQtOTI2MS1lMGY5N2NkMjBkMTIiLCJwYXNzd29yZFJldmlzaW9uIjoxNjU3MTM4ODU3LCJpYXQiOjE2NTcyMjU4NjgsImV4cCI6MTY1NzIyOTQ2OH0.iaxtkvHtaIScCZyEaBHWkC2dJKj6sSddqKcK5PQgibI; path=/; samesite=none; secure; httponly', 'Connection': 'keep-alive')> 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/proxy/network/api/s/default/rest/dpigroup 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/proxy/network/api/s/default/rest/dpigroup) [200 OK]> <CIMultiDictProxy('Vary': 'Origin', 'X-DNS-Prefetch-Control': 'off', 'x-frame-options': 'DENY', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': '1f45e199-7b3a-4377-973e-01ce9167e058', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '167', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiIxZjQ1ZTE5OS03YjNhLTQzNzctOTczZS0wMWNlOTE2N2UwNTgiLCJqdGkiOiI1MGIzYTU2MC0zMTViLTRhYWQtOTI2MS1lMGY5N2NkMjBkMTIiLCJwYXNzd29yZFJldmlzaW9uIjoxNjU3MTM4ODU3LCJpYXQiOjE2NTcyMjU4NjgsImV4cCI6MTY1NzIyOTQ2OH0.iaxtkvHtaIScCZyEaBHWkC2dJKj6sSddqKcK5PQgibI; path=/; samesite=none; secure; httponly', 'Connection': 'keep-alive')> 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/proxy/network/api/s/default/rest/wlanconf 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/proxy/network/api/s/default/rest/wlanconf) [200 OK]> <CIMultiDictProxy('Vary': 'accept-encoding', 'X-DNS-Prefetch-Control': 'off', 'x-frame-options': 'DENY', 'Strict-Transport-Security': 'max-age=15552000; includeSubDomains', 'X-Download-Options': 'noopen', 'X-Content-Type-Options': 'nosniff', 'X-XSS-Protection': '1; mode=block', 'Accept-Ranges': 'bytes', 'X-CSRF-Token': '1f45e199-7b3a-4377-973e-01ce9167e058', 'Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Thu, 07 Jul 2022 20:31:07 GMT', 'Set-Cookie': 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiI2ZTA1MTNkZi0wMmNjLTRkZWItOGVjOC0xNWFkOTI5NWVmNzEiLCJjc3JmVG9rZW4iOiIxZjQ1ZTE5OS03YjNhLTQzNzctOTczZS0wMWNlOTE2N2UwNTgiLCJqdGkiOiI1MGIzYTU2MC0zMTViLTRhYWQtOTI2MS1lMGY5N2NkMjBkMTIiLCJwYXNzd29yZFJldmlzaW9uIjoxNjU3MTM4ODU3LCJpYXQiOjE2NTcyMjU4NjgsImV4cCI6MTY1NzIyOTQ2OH0.iaxtkvHtaIScCZyEaBHWkC2dJKj6sSddqKcK5PQgibI; path=/; samesite=none; secure; httponly', 'Connection': 'keep-alive', 'Transfer-Encoding': 'chunked')> 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] https://redacted.fu.com:443/proxy/network/api/self/sites 2022-07-07 16:31:08 DEBUG (MainThread) [aiounifi.controller] 200 application/json <ClientResponse(https://redacted.fu.com:443/proxy/network/api/self/sites) [200 OK]>