jellyfin / jellyfin-mpv-shim

MPV Cast Client for Jellyfin
Other
1.65k stars 95 forks source link

Keeps crashing Jellyfin Server #407

Open VitreousVein opened 3 months ago

VitreousVein commented 3 months ago

Describe the bug When me and my buddy watch something it stops loading the cache, crashes the jellyfin docker container and the menu (you open it with 'c' button on the keyboard) stops responding and doesn't go away. The player also becomes unresponsive to any prompts and doesn't close unless forced. The player on both ends is 'mpv'.

This error does not occur when one user uses the groups function through the browser and the other one through jellyfin-mpv-shim. It only happens when both users use jellyfin-mpv-shim.

Attention! Please be sure to avoid posting any API keys. I don't want other people to be able to compromise your server! API Keys are now removed from logs by default, but they may still appear in other places, such as on MPV info screens.

To Reproduce Steps to reproduce the behavior:

  1. Go to my Jellyfin Website
  2. Click the "Cast Symbol" and choose the Instance
  3. Join the groups through the menu by clicking 'c' on keyboard and choosing the group.
  4. Error occurs after a bit of playtime.

Expected behavior To just continue on playing and not crashing the server

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Error Messages In next Posts because of size and tidiness.

VitreousVein commented 3 months ago

Syncplay logs for user anura:


2024-07-31 22:27:40,122 [    INFO] player: Using libmpv1 playback backend.
2024-07-31 22:27:40,125 [   ERROR] menu: Could not load profile manager.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/jellyfin_mpv_shim/menu.py", line 79, in __init__
    self.profile_manager = VideoProfileManager(self, player_manager, player)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_mpv_shim/video_profile.py", line 66, in __init__
    raise FileNotFoundError("Could not find default shader pack.")
FileNotFoundError: Could not find default shader pack.
2024-07-31 22:27:40,135 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin connect
2024-07-31 22:27:40,135 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin getAvailableServers
2024-07-31 22:27:40,135 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect has 1 servers
2024-07-31 22:27:40,135 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server
2024-07-31 22:27:40,135 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public
2024-07-31 22:27:40,149 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server Homeserver
2024-07-31 22:27:40,149 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info
2024-07-31 22:27:40,164 [    INFO] JELLYFIN.jellyfin_apiclient_python.client: User is authenticated.
2024-07-31 22:27:40,164 [    INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: Websocket url: wss://jellyfin.krishan.eu/socket?api_key=REDACTED&device_id=5e741299-5fe0-4900-b5f9-0b2791281272
2024-07-31 22:27:40,180 [    INFO] websocket: Websocket connected
2024-07-31 22:27:40,181 [    INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ]
2024-07-31 22:27:40,185 [    INFO] clients: Not connected yet, waiting 3 seconds...
2024-07-31 22:27:43,190 [    INFO] clients: Actually connected now.
2024-07-31 22:27:48,311 [    INFO] mpv: thumbfast: Clearing trickplay.

2024-07-31 22:27:48,477 [    INFO] mpv: cplayer:  (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)

2024-07-31 22:27:48,477 [    INFO] mpv: cplayer:  (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)

2024-07-31 22:27:48,478 [    INFO] mpv: display-tags: File tags:

2024-07-31 22:27:48,478 [    INFO] mpv: display-tags:  Comment: The.Sopranos.S02E01.1080p.BluRay.x265-RARBG

2024-07-31 22:27:48,478 [    INFO] mpv: display-tags:  Title: The.Sopranos.S02E01.1080p.BluRay.x265-RARBG

2024-07-31 22:27:48,519 [    INFO] mpv: cplayer: Track switched:

2024-07-31 22:27:48,519 [    INFO] mpv: cplayer:  (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)

2024-07-31 22:27:48,519 [    INFO] mpv: cplayer:  (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)

2024-07-31 22:27:48,624 [    INFO] mpv: cplayer: Track added:

2024-07-31 22:27:48,624 [    INFO] mpv: cplayer:  (+) Video --vid=1 (*) (hevc [Main 10] 1920x1080 23.976fps)

2024-07-31 22:27:48,624 [    INFO] mpv: cplayer:  (+) Audio --aid=1 --alang=eng (*) (aac [LC] 6ch 48000Hz)

2024-07-31 22:27:48,624 [    INFO] mpv: cplayer:  (+) Subs  --sid=1 'Stream.srt?api_key=REDACTED' (subrip) (external)

2024-07-31 22:27:48,628 [    INFO] mpv: cplayer: AO: [pipewire] 48000Hz 5.1 6ch floatp

2024-07-31 22:27:48,629 [    INFO] mpv: cplayer: VO: [gpu] 1920x1080 yuv420p10

2024-07-31 22:27:49,940 [    INFO] update_check: Checking for updates...
2024-07-31 22:27:49,940 [    INFO] trickplay: Collecting trickplay images...
2024-07-31 22:27:49,940 [ WARNING] trickplay: No trickplay data available
2024-07-31 22:27:49,940 [    INFO] trickplay: No chapters available
2024-07-31 22:27:55,635 [    INFO] mpv: mouse: Enabled shim menu mouse events.

2024-07-31 22:27:57,086 [    INFO] syncplay: Syncplay enabled.
2024-07-31 22:27:57,093 [    INFO] mpv: mouse: Disabled shim menu mouse events.

2024-07-31 22:27:57,097 [    INFO] syncplay: Waiting state caused by Ready
2024-07-31 22:27:58,086 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:27:59,090 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:28:00,094 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:28:00,550 [    INFO] syncplay: Waiting state caused by Pause
2024-07-31 22:28:01,097 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:28:01,407 [    INFO] syncplay: Waiting state caused by Unpause
2024-07-31 22:28:02,100 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:28:05,966 [    INFO] syncplay: Syncplay will Unpause at 2024-07-31 20:28:01.066608 position 77974580
2024-07-31 22:28:05,966 [    INFO] syncplay: Playing state caused by Unpause
2024-07-31 22:28:14,345 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:08.445677 position 2776086639
2024-07-31 22:28:14,348 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:14,932 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.029845 position 1982919030
2024-07-31 22:28:14,933 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,105 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.065396 position 1982919030
2024-07-31 22:28:15,117 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,133 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.226402 position 1721302920
2024-07-31 22:28:15,154 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,455 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.555130 position 1512761250
2024-07-31 22:28:15,456 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,478 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.578541 position 1539678300
2024-07-31 22:28:15,493 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,622 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.722288 position 1408490420
2024-07-31 22:28:15,631 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,160 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.259107 position 1516349840
2024-07-31 22:28:16,160 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,170 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.270430 position 1609663680
2024-07-31 22:28:16,195 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,211 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.310692 position 1609663680
2024-07-31 22:28:16,265 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,265 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.359759 position 1632992140
2024-07-31 22:28:16,277 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,277 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.369655 position 1632992140
2024-07-31 22:28:16,288 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,754 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.854060 position 1512761250
2024-07-31 22:28:16,754 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:17,964 [    INFO] syncplay: Syncplay will Unpause at 2024-07-31 20:28:13.063992 position 1512761250
2024-07-31 22:28:17,964 [    INFO] syncplay: Playing state caused by Unpause
2024-07-31 22:28:33,206 [    INFO] mpv: mouse: Enabled shim menu mouse events.

2024-07-31 22:28:41,848 [    INFO] mpv: mouse: Disabled shim menu mouse events.

2024-07-31 22:28:42,978 [    INFO] syncplay: Syncplay will Pause at 2024-07-31 20:28:37.078059 position 1752901923
2024-07-31 22:28:42,978 [    INFO] syncplay: Paused state caused by Pause
2024-07-31 22:28:44,635 [    INFO] syncplay: Syncplay will Unpause at 2024-07-31 20:28:39.734561 position 1752901923
2024-07-31 22:28:44,636 [    INFO] syncplay: Playing state caused by Unpause
2024-07-31 22:29:02,103 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:29:07,110 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:29:12,121 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=1, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:29:17,132 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=0, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:29:18,036 [    INFO] mpv: mouse: Enabled shim menu mouse events.

Timesync call failed.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 292, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 708, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1104, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/timesync_manager.py", line 43, in run
    measurement = self.manager.client.jellyfin.utc_time()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 611, in utc_time
    response = self.send_request(server_address, "GetUTCTime", session=session)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 544, in send_request
    return request_method(url, **request_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", 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='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))
2024-07-31 22:29:22,143 [   ERROR] Jellyfin.jellyfin_apiclient_python.timesync_manager: Timesync call failed.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 292, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 708, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1104, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/timesync_manager.py", line 43, in run
    measurement = self.manager.client.jellyfin.utc_time()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 611, in utc_time
    response = self.send_request(server_address, "GetUTCTime", session=session)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 544, in send_request
    return request_method(url, **request_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", 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='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))
2024-07-31 22:29:45,341 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /Sessions/Playing/Progress
2024-07-31 22:29:48,956 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /SyncPlay/List
2024-07-31 22:30:15,379 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=1, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /Sessions/Playing/Progress
2024-07-31 22:30:18,994 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=1, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /SyncPlay/List
2024-07-31 22:30:22,146 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:30:27,159 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:30:32,169 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=1, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:30:37,181 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=0, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
Timesync call failed.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 292, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 708, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1104, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/timesync_manager.py", line 43, in run
    measurement = self.manager.client.jellyfin.utc_time()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 611, in utc_time
    response = self.send_request(server_address, "GetUTCTime", session=session)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 544, in send_request
    return request_method(url, **request_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", 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='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))
2024-07-31 22:30:42,193 [   ERROR] Jellyfin.jellyfin_apiclient_python.timesync_manager: Timesync call failed.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 292, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 708, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1104, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/timesync_manager.py", line 43, in run
    measurement = self.manager.client.jellyfin.utc_time()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 611, in utc_time
    response = self.send_request(server_address, "GetUTCTime", session=session)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 544, in send_request
    return request_method(url, **request_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", 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='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))
2024-07-31 22:30:45,417 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=0, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /Sessions/Playing/Progress
2024-07-31 22:30:49,031 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=0, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /SyncPlay/List
2024-07-31 22:31:13,204 [    INFO] syncplay: Syncplay disabled.
VitreousVein commented 3 months ago

Syncplay logs for user Test:

2024-07-31 22:26:42,059 [    INFO] player: Using external mpv playback backend.
2024-07-31 22:26:42,162 [   ERROR] menu: Could not load profile manager.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/jellyfin_mpv_shim/menu.py", line 79, in __init__
    self.profile_manager = VideoProfileManager(self, player_manager, player)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/jellyfin_mpv_shim/video_profile.py", line 66, in __init__
    raise FileNotFoundError("Could not find default shader pack.")
FileNotFoundError: Could not find default shader pack.
2024-07-31 22:26:42,165 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin connect
2024-07-31 22:26:42,165 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin getAvailableServers
2024-07-31 22:26:42,165 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect has 1 servers
2024-07-31 22:26:42,165 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server
2024-07-31 22:26:42,165 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public
2024-07-31 22:26:42,215 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server Homeserver
2024-07-31 22:26:42,216 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info
2024-07-31 22:26:42,269 [    INFO] JELLYFIN.jellyfin_apiclient_python.client: User is authenticated.
2024-07-31 22:26:42,269 [    INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: Websocket url: wss://jellyfin.krishan.eu/socket?api_key=REDACTED&device_id=7b0744d9-eb3b-43f6-8a52-92d30ee5eb51
2024-07-31 22:26:42,304 [    INFO] websocket: Websocket connected
2024-07-31 22:26:42,305 [    INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ]
2024-07-31 22:26:42,822 [    INFO] clients: Not connected yet, waiting 3 seconds...
2024-07-31 22:26:45,828 [ WARNING] clients: Client is not actually connected. (It does not show in the client list.)
2024-07-31 22:26:45,848 [    INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: ---<[ websocket ]
--<[ session/134055124627296 ]
2024-07-31 22:26:45,849 [    INFO] Jellyfin.jellyfin_apiclient_python.http: --<[ session/134055124627296 ]
2024-07-31 22:26:45,849 [ WARNING] clients: Partially connected. Retrying 1/3.
2024-07-31 22:26:46,849 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin connect
2024-07-31 22:26:46,849 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: Begin getAvailableServers
2024-07-31 22:26:46,849 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: connect has 1 servers
2024-07-31 22:26:46,849 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: begin connect_to_server
2024-07-31 22:26:46,849 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info/public
2024-07-31 22:26:46,859 [    INFO] JELLYFIN.jellyfin_apiclient_python.connection_manager: calling onSuccessfulConnection with server Homeserver
2024-07-31 22:26:46,859 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to system/info
2024-07-31 22:26:46,869 [    INFO] JELLYFIN.jellyfin_apiclient_python.client: User is authenticated.
2024-07-31 22:26:46,870 [    INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: Websocket url: wss://jellyfin.krishan.eu/socket?api_key=REDACTED&device_id=7b0744d9-eb3b-43f6-8a52-92d30ee5eb51
2024-07-31 22:26:46,884 [    INFO] websocket: Websocket connected
2024-07-31 22:26:46,884 [    INFO] JELLYFIN.jellyfin_apiclient_python.ws_client: --->[ websocket ]
2024-07-31 22:26:46,911 [    INFO] clients: Not connected yet, waiting 3 seconds...
2024-07-31 22:26:49,917 [    INFO] clients: Actually connected now.
2024-07-31 22:27:02,028 [    INFO] mpv: thumbfast: Clearing trickplay.
2024-07-31 22:27:02,244 [    INFO] mpv: cplayer: (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
2024-07-31 22:27:02,244 [    INFO] mpv: cplayer: (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)
2024-07-31 22:27:02,244 [    INFO] mpv: display-tags: File tags:
2024-07-31 22:27:02,244 [    INFO] mpv: display-tags: Comment: The.Sopranos.S02E01.1080p.BluRay.x265-RARBG
2024-07-31 22:27:02,244 [    INFO] mpv: display-tags: Title: The.Sopranos.S02E01.1080p.BluRay.x265-RARBG
2024-07-31 22:27:02,310 [    INFO] mpv: cplayer: Track switched:
2024-07-31 22:27:02,310 [    INFO] mpv: cplayer: (+) Video --vid=1 (*) (hevc 1920x1080 23.976fps)
2024-07-31 22:27:02,310 [    INFO] mpv: cplayer: (+) Audio --aid=1 --alang=eng (*) (aac 6ch 48000Hz)
2024-07-31 22:27:02,524 [    INFO] mpv: cplayer: AO: [pipewire] 48000Hz 5.1 6ch floatp
2024-07-31 22:27:02,524 [    INFO] mpv: cplayer: VO: [gpu] 1920x1080 yuv420p10
2024-07-31 22:27:02,524 [    INFO] mpv: cplayer: Track added:
2024-07-31 22:27:02,524 [    INFO] mpv: cplayer: (+) Video --vid=1 (*) (hevc [Main 10] 1920x1080 23.976fps)
2024-07-31 22:27:02,524 [    INFO] mpv: cplayer: (+) Audio --aid=1 --alang=eng (*) (aac [LC] 6ch 48000Hz)
2024-07-31 22:27:02,524 [    INFO] mpv: cplayer: (+) Subs  --sid=1 'Stream.srt?api_key=REDACTED' (subrip) (external)
2024-07-31 22:27:03,447 [    INFO] update_check: Checking for updates...
2024-07-31 22:27:03,447 [    INFO] trickplay: Collecting trickplay images...
2024-07-31 22:27:03,447 [ WARNING] trickplay: No trickplay data available
2024-07-31 22:27:03,447 [    INFO] trickplay: No chapters available
2024-07-31 22:27:12,414 [    INFO] mpv: mouse: Enabled shim menu mouse events.
2024-07-31 22:27:14,554 [    INFO] syncplay: Syncplay enabled.
2024-07-31 22:27:14,585 [    INFO] mpv: mouse: Disabled shim menu mouse events.
2024-07-31 22:27:14,627 [    INFO] syncplay: Playing state caused by Ready
2024-07-31 22:27:15,333 [    INFO] syncplay: Paused state caused by Pause
2024-07-31 22:27:15,554 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:27:16,561 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:27:17,565 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:27:18,570 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:27:19,573 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:27:57,091 [    INFO] syncplay: Syncplay will Pause at 2024-07-31 20:27:09.432526 position 77974580
2024-07-31 22:27:57,096 [    INFO] syncplay: Waiting state caused by Ready
2024-07-31 22:28:00,550 [    INFO] syncplay: Waiting state caused by Pause
2024-07-31 22:28:01,406 [    INFO] syncplay: Waiting state caused by Unpause
2024-07-31 22:28:05,966 [    INFO] syncplay: Syncplay will Unpause at 2024-07-31 20:28:01.066608 position 77974580
2024-07-31 22:28:05,967 [    INFO] syncplay: Playing state caused by Unpause
2024-07-31 22:28:08,860 [    INFO] syncplay: SyncPlay Speed to Sync rate: 2.8515360000000003
2024-07-31 22:28:14,345 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:08.445677 position 2776086639
2024-07-31 22:28:14,346 [   ERROR] mpv: ffmpeg: tcp: ffurl_read returned 0xdfb9b0bb
2024-07-31 22:28:14,346 [ WARNING] mpv: ffmpeg: https: Will reconnect at 190785420 in 0 second(s), error=Input/output error.
2024-07-31 22:28:14,356 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:14,931 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.029845 position 1982919030
2024-07-31 22:28:15,000 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,105 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.065396 position 1982919030
2024-07-31 22:28:15,107 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,134 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.226402 position 1721302920
2024-07-31 22:28:15,153 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,455 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.555130 position 1512761250
2024-07-31 22:28:15,475 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,479 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.578541 position 1539678300
2024-07-31 22:28:15,554 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:15,622 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:09.722288 position 1408490420
2024-07-31 22:28:15,623 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,160 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.259107 position 1516349840
2024-07-31 22:28:16,253 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,256 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.270430 position 1609663680
2024-07-31 22:28:16,303 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,303 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.310692 position 1609663680
2024-07-31 22:28:16,327 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,327 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.359759 position 1632992140
2024-07-31 22:28:16,362 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,362 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.369655 position 1632992140
2024-07-31 22:28:16,373 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:16,754 [    INFO] syncplay: Syncplay will Seek at 2024-07-31 20:28:10.854060 position 1512761250
2024-07-31 22:28:16,815 [    INFO] syncplay: Waiting state caused by Seek
2024-07-31 22:28:17,964 [    INFO] syncplay: Syncplay will Unpause at 2024-07-31 20:28:13.063992 position 1512761250
2024-07-31 22:28:17,965 [    INFO] syncplay: Playing state caused by Unpause
2024-07-31 22:28:19,577 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:28:27,406 [    INFO] syncplay: Playback synced after 1 attempts.
2024-07-31 22:28:42,978 [    INFO] syncplay: Syncplay will Pause at 2024-07-31 20:28:37.078059 position 1752901923
2024-07-31 22:28:42,978 [    INFO] syncplay: Paused state caused by Pause
2024-07-31 22:28:44,634 [    INFO] syncplay: Syncplay will Unpause at 2024-07-31 20:28:39.734561 position 1752901923
2024-07-31 22:28:44,635 [    INFO] syncplay: Playing state caused by Unpause
2024-07-31 22:29:19,580 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:29:24,581 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:29:29,593 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=1, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:29:34,601 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=0, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:29:38,924 [    INFO] mpv: mouse: Enabled shim menu mouse events.
Timesync call failed.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 292, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 708, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1104, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/timesync_manager.py", line 43, in run
    measurement = self.manager.client.jellyfin.utc_time()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 611, in utc_time
    response = self.send_request(server_address, "GetUTCTime", session=session)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 544, in send_request
    return request_method(url, **request_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", 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='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))
2024-07-31 22:29:39,613 [   ERROR] Jellyfin.jellyfin_apiclient_python.timesync_manager: Timesync call failed.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 292, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 708, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1104, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/timesync_manager.py", line 43, in run
    measurement = self.manager.client.jellyfin.utc_time()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 611, in utc_time
    response = self.send_request(server_address, "GetUTCTime", session=session)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 544, in send_request
    return request_method(url, **request_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", 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='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))
2024-07-31 22:29:40,194 [    INFO] mpv: cplayer: Screenshot: 'mpv-shot0001.jpg'
2024-07-31 22:29:40,194 [    INFO] mpv: mouse: Disabled shim menu mouse events.
2024-07-31 22:29:46,099 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /Sessions/Playing/Progress
2024-07-31 22:29:49,184 [    INFO] mpv: mouse: Enabled shim menu mouse events.
2024-07-31 22:30:16,136 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=1, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /Sessions/Playing/Progress
2024-07-31 22:30:19,940 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /SyncPlay/List
2024-07-31 22:30:39,618 [    INFO] JELLYFIN.jellyfin_apiclient_python.api: Sending get request to GetUTCTime
2024-07-31 22:30:44,671 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:30:46,174 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=0, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /Sessions/Playing/Progress
2024-07-31 22:30:49,683 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=1, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
2024-07-31 22:30:49,977 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=1, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /SyncPlay/List
2024-07-31 22:30:54,695 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=0, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"': /GetUTCTime
Timesync call failed.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 292, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 708, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1104, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/timesync_manager.py", line 43, in run
    measurement = self.manager.client.jellyfin.utc_time()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 611, in utc_time
    response = self.send_request(server_address, "GetUTCTime", session=session)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 544, in send_request
    return request_method(url, **request_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", 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='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))
2024-07-31 22:30:59,708 [   ERROR] Jellyfin.jellyfin_apiclient_python.timesync_manager: Timesync call failed.
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 467, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 462, in _make_request
    httplib_response = conn.getresponse()
                       ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 1428, in getresponse
    response.begin()
  File "/usr/lib/python3.12/http/client.py", line 331, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/http/client.py", line 292, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/socket.py", line 708, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1252, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/ssl.py", line 1104, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 715, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 469, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 358, in _raise_timeout
    raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/requests/adapters.py", line 667, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 829, in urlopen
    return self.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/connectionpool.py", line 801, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/urllib3/util/retry.py", line 594, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/timesync_manager.py", line 43, in run
    measurement = self.manager.client.jellyfin.utc_time()
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 611, in utc_time
    response = self.send_request(server_address, "GetUTCTime", session=session)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/anura/.local/lib/python3.12/site-packages/jellyfin_apiclient_python/api.py", line 544, in send_request
    return request_method(url, **request_settings)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/requests/sessions.py", line 602, in get
    return self.request("GET", 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='jellyfin.krishan.eu', port=443): Max retries exceeded with url: /GetUTCTime (Caused by ReadTimeoutError("HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=5)"))
2024-07-31 22:31:04,279 [    INFO] syncplay: Syncplay disabled.
2024-07-31 22:31:20,016 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=0, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /SyncPlay/List
2024-07-31 22:31:42,020 [    INFO] clients: Performing client health check...
2024-07-31 22:31:47,250 [ WARNING] urllib3.connectionpool: Retrying ('Retry(total=2, connect=None, read=None, redirect=None, status=None)') after connection broken by '"HTTPSConnectionPool(host='jellyfin.krishan.eu', port=443): Read timed out. (read timeout=30)"': /Sessions/Playing/Progress
VitreousVein commented 3 months ago

I use Jellyfin over a selfhosted domain name and nginx reverse proxy. I will try to do this over the local network if this changes something and will go back a few versions for jellyfin-mpv-shim and jellyfin server itself.

VitreousVein commented 3 months ago

If you need the server log I have it ready

polyzen commented 3 months ago

Not sure if this is relevant or helps, but this or something similar happens even without SyncPlay. I think perhaps when I pause it for a time, the server no longer thinks there is a stream, and when I play again and it comes time to buffer again, the server crashes.

VitreousVein commented 3 months ago

@polyzen I haven't gotten that problem with jellyfin itself, but I think you are right. I tried going back several versions, all the way back to jellyfin-mpv-shim version 2.6.0-1. And it previously worked way after that version. So it very likely is jellyfin.

VitreousVein commented 3 months ago

Should I do a rewrite of this report on the Jellyfin repo? I do not know what to do from here on.