You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the host is rebooted, when the container comes up and attempts to initialize a connection with Unifi Protect, a traceback is triggered:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/viewport/bin/../src/viewport/src/main.py", line 77, in main
urls=args['<url>']).run()
^^^^^
File "/opt/viewport/bin/../src/viewport/src/cli/commands.py", line 56, in run
livestreams = protocol_controllers[url.scheme].new_livestream(url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/viewport/bin/../src/viewport/src/backend/protocols/unifi.py", line 86, in new_livestream
self._apis[key].login()
File "/opt/viewport/bin/../src/viewport/src/backend/protocols/unifi.py", line 144, in login
r = requests.get(url_prefix, verify=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 700, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='192.168.1.253', port=443): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f4cbebccd40>: Failed to establish a new connection: [Errno 113] Host is unreachable'))
Critical error, stopping. Exit code: 127
I'm sure the reboot is a symptom of a bigger issue, I'm just not sure where or why?
If the host is rebooted, when the container comes up and attempts to initialize a connection with Unifi Protect, a traceback is triggered:
I'm sure the reboot is a symptom of a bigger issue, I'm just not sure where or why?
docker-compose.yml -
To mitigate this, I've added a container restart to my .xinitrc:
The text was updated successfully, but these errors were encountered: