My Bridge doesn't find any lights including WLED

Hello guys, I have a problem adding any lights to my diyHue. My Philips Hue Bridge is paired. After hitting “scan for lights” the Debug says the following:

2023-01-06 08:07:05,948 - lights.discover - INFO - [
    "192.168.178.1:80",
    "192.168.178.37:80",
    "192.168.178.46:80",
    "192.168.178.48:80",
    "192.168.178.60:80",
    "192.168.178.74:80",
    "192.168.178.90:80",
    "192.168.178.100:80",
    "192.168.178.118:80",
    "192.168.178.119:80",
    "192.168.178.157:80",
    "192.168.178.158:80",
    "192.168.178.180:80"
]
2023-01-06 08:07:06,321 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:06] "GET /lights HTTP/1.1" 200 -
2023-01-06 08:07:08,075 - lights.protocols.native_multi - INFO - ip 192.168.178.1:80 is unknown device: HTTPSConnectionPool(host='192.168.178.1', port=443): Max retries exceeded with url: / (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1123)')))
2023-01-06 08:07:08,179 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:08] "GET /api/9d821b068d8d11ed93d6b827eb858cb3/groups/0 HTTP/1.1" 200 -
2023-01-06 08:07:08,317 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:08] "GET /lights HTTP/1.1" 200 -
2023-01-06 08:07:10,238 - services.stateFetch - INFO - start lights sync
2023-01-06 08:07:10,319 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:10] "GET /lights HTTP/1.1" 200 -
2023-01-06 08:07:10,500 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:10] "GET /description.xml HTTP/1.1" 200 -
2023-01-06 08:07:10,503 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:10] "GET /description.xml HTTP/1.1" 200 -
2023-01-06 08:07:11,131 - lights.protocols.native_multi - INFO - ip 192.168.178.48:80 is unknown device: HTTPConnectionPool(host='192.168.178.48', port=80): Read timed out.
2023-01-06 08:07:12,323 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:12] "GET /lights HTTP/1.1" 200 -
2023-01-06 08:07:12,906 - werkzeug - INFO - 192.168.178.27 - - [06/Jan/2023 08:07:12] "GET /api/version HTTP/1.1" 200 -
2023-01-06 08:07:13,184 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:13] "GET /api/9d821b068d8d11ed93d6b827eb858cb3/groups/0 HTTP/1.1" 200 -
2023-01-06 08:07:14,324 - werkzeug - INFO - 192.168.178.57 - - [06/Jan/2023 08:07:14] "GET /lights HTTP/1.1" 200 -
2023-01-06 08:07:14,885 - lights.protocols.wled - INFO - <WLED> discovery started
Exception in thread Thread-578:
Traceback (most recent call last):
  File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.9/threading.py", line 892, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/local/lib/python3.9/dist-packages/zeroconf/_core.py", line 483, in _run_loop
    self.loop = asyncio.new_event_loop()
  File "/usr/lib/python3.9/asyncio/events.py", line 761, in new_event_loop
    return get_event_loop_policy().new_event_loop()
  File "/usr/lib/python3.9/asyncio/events.py", line 659, in new_event_loop
    return self._loop_factory()
  File "/usr/lib/python3.9/asyncio/unix_events.py", line 54, in __init__
    super().__init__(selector)
  File "/usr/lib/python3.9/asyncio/selector_events.py", line 55, in __init__
    super().__init__()
  File "/usr/lib/python3.9/asyncio/base_events.py", line 397, in __init__
    self._clock_resolution = time.get_clock_info('monotonic').resolution
PermissionError: [Errno 1] Operation not permitted
Exception ignored in: <function BaseEventLoop.__del__ at 0x75da0340>
Traceback (most recent call last):
  File "/usr/lib/python3.9/asyncio/base_events.py", line 681, in __del__
    _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self)
  File "/usr/lib/python3.9/asyncio/base_events.py", line 419, in __repr__
    f'closed={self.is_closed()} debug={self.get_debug()}>'
  File "/usr/lib/python3.9/asyncio/base_events.py", line 1909, in get_debug
    return self._debug
AttributeError: '_UnixSelectorEventLoop' object has no attribute '_debug'

No lights were added. Any ideas?

Hi,

This problem is related to the OS or Docker. WLED protocol use a function that is denied by the kernel. Try to run diyhue container with privileged=true.