$ docker run -v skippex:/config ghcr.io/sprt/skippex run
2021-01-17 16:21:41 - INFO - Verifying token...
2021-01-17 16:21:41 - INFO - Connecting to Plex server...
2021-01-17 16:21:43 - INFO - Ready
2021-01-17 16:21:54 - INFO - New session 86: <PlexClient:Chrome> is playing <Episode:XXX:YYY> (intro marker = True)
2021-01-17 16:21:55 - INFO - Session 86: skipped intro (seeked from 1000 to 21383)
Exception in thread Thread-11:
Traceback (most recent call last):
File "/venv/lib/python3.9/site-packages/urllib3/connection.py", line 169, in _new_conn
conn = connection.create_connection(
File "/venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/venv/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/venv/lib/python3.9/site-packages/urllib3/connection.py", line 234, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/local/lib/python3.9/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.9/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/local/lib/python3.9/http/client.py", line 950, in send
self.connect()
File "/venv/lib/python3.9/site-packages/urllib3/connection.py", line 200, in connect
conn = self._new_conn()
File "/venv/lib/python3.9/site-packages/urllib3/connection.py", line 181, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f30661440d0>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/venv/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/venv/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/venv/lib/python3.9/site-packages/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=32400): Max retries exceeded with url: /player/playback/seekTo?commandID=1&offset=21383&type=video (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f30661440d0>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/app/skippex/seekables.py", line 103, in _seek
self._client.seekTo(offset_ms, mtype=DEFAULT_MTYPE+self._TIMEOUT_SUFFIX)
File "/venv/lib/python3.9/site-packages/plexapi/client.py", line 355, in seekTo
self.sendCommand('playback/seekTo', offset=offset, type=mtype)
File "/venv/lib/python3.9/site-packages/plexapi/client.py", line 210, in sendCommand
return query(key, headers=headers)
File "/app/skippex/seekables.py", line 69, in _patched_query
return self._original_query(
File "/venv/lib/python3.9/site-packages/plexapi/client.py", line 161, in query
response = method(url, headers=headers, timeout=timeout, **kwargs)
File "/venv/lib/python3.9/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/venv/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/venv/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/venv/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=32400): Max retries exceeded with url: /player/playback/seekTo?commandID=1&offset=21383&type=video (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f30661440d0>: Failed to establish a new connection: [Errno 111] Connection refused'))