Closed pugson closed 1 year ago
When you look your Plex activity in the Plex web app are the appropriate IP addresses displayed for the players?
Problem solved. Thank you!
I had my Plex container in bridge mode in Unraid. Changing it to host made everything work properly.
I'm unable to get autoskip working on any client. Went through the wiki and closed issues multiple times — including checking if I can get the XML player values by accessing the client's IP with my Plex token directly, which seems to be working fine. GDM is enabled.
Looking at debug logs it seems like the script is trying to connect to the router's IP address (
192.168.1.1
) rather than the Plex server's IP (192.168.111
) or the client's (192.168.1.191
).I'm running it in Docker on an Unraid server where Plex is also hosted.
Any idea what might be happening here?
config.ini
```ini [Plex.tv] username = pugson password = servername = token =custom.json
```json { "markers": {}, "offsets": {}, "tags": {}, "allowed": { "users": [], "clients": [], "keys": ["tmdb://2316", "tmdb://2190"], "skip-next": [] }, "blocked": { "users": [], "clients": [], "keys": [], "skip-next": [] }, "clients": {}, "mode": {} } ```Logs
```vim INFO - Found new session 14 [35744] (The Office (US) s03e02 - The Convention) iPhone|A11E6F38-DD16-49D1-BE0F-6FC314E897F4 viewOffset 0 pugson on Plex for iOS (proxying: False), sessions: 0 INFO - Found skippable marker intro for media 14 [35744] (The Office (US) s03e02 - The Convention) iPhone|A11E6F38-DD16-49D1-BE0F-6FC314E897F4 with range 80346(+3000)-113614(+1000) and viewOffset 83433 INFO - Seeking Plex for iOS player playing 14 [35744] (The Office (US) s03e02 - The Convention) iPhone|A11E6F38-DD16-49D1-BE0F-6FC314E897F4 from 83434 to 114614 ERROR - Exception, removing from cache to prevent false triggers, will be restored with next sync Traceback (most recent call last): File "/usr/local/pas/venv/lib/python3.10/site-packages/urllib3/connection.py", line 200, in _new_conn sock = connection.create_connection( File "/usr/local/pas/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection raise err File "/usr/local/pas/venv/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/local/pas/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen response = self._make_request( File "/usr/local/pas/venv/lib/python3.10/site-packages/urllib3/connectionpool.py", line 496, in _make_request conn.request( File "/usr/local/pas/venv/lib/python3.10/site-packages/urllib3/connection.py", line 388, in request self.endheaders() File "/usr/lib/python3.10/http/client.py", line 1278, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1038, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 976, in send self.connect() File "/usr/local/pas/venv/lib/python3.10/site-packages/urllib3/connection.py", line 236, in connect self.sock = self._new_conn() File "/usr/local/pas/venv/lib/python3.10/site-packages/urllib3/connection.py", line 215, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: