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
I have checked if an identical issue or discussion already exists
I have tried downgrading to find version that can be used as a workaround
The problem
I already wrote this down in #2104, but I will insert it here again.
Hey,
I just discovered the program and now want to use it to sync my Trakt progress and lists against a big Plex library. My Plex Account is limited to 1 stream at a time.
I configured the program so that first, all my progress in Plex is overwritten by the Trakt progress.
It begins syncing, passes the first library with 101 media contents and then gets stuck at the next library with 2049 media contents at element 591 every time. I get an error message 401: Unauthorized. If you are interested in the whole stacktrace, lmk.
Could this be related to a firewall blocking the many requests at one time, or does the program use multiple users/agents which could trigger the Plex rate limit with 1 stream at a time?
---
I just ran a test, disabling the mentioned first library, but the sync progress stops at 591 media contents of the second library anyway.
Could this indicate that Plex (or the library) is interfering then?
---
I suppose this could also be a rate limit by the Plex API, as assumed before, as they might not like 2k requests in 30 seconds.
Thus, I would prefer to convert this into a (feature request) issue, since a cooldown in between different libraries and every 500 synced items or so.
Also, somebody marked my old issue as a duplicate of a Trakt API issue. This is not the case here I think, since I clearly get a 401 back from Plex, not Trakt:
Secondly, when you close issues please don't lock them, since I now needed to create another issue just to give you the details I already gave you a month ago or so, looking at #2172
Also, I have included a ? in the title as I don't obviously know if this is Plex issue or a firewall in front of Plex blocking something. That's why I am asking. In both cases could be a cooldown between every few hundred items as a new feature help there. Correct me if I'm wrong.
Steps to reproduce the behavior
Not sure, read my last paragraph above.
Try to use the script on a large library, 2,4k movies in my case.
Error trace / logs
Expected behavior
To just sync my Trakt library to Plex.
Inspect of problematic items
Workarounds
No response
Config file contents
Install method
pipx
Version
0.32.2
Python Version
Python Version: 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
Plex Server Version
Plex Server version: 1.41.3.9232-434341a9d, updated at: 2024-12-03 09:41:46
Operating System and Version
Windows 11
The text was updated successfully, but these errors were encountered:
edit the issue, remove the rants, I don't care and won't look at those abused issues.
Use issue template correctly, you have not provided your config.
As far I know plex server has no rate limits, enable plex server debug log and see it's logs
Enable plextraktsync debug log and see the log file what's happening, the /progress call is not familiar.
if the 8878 is id of media, you can try syncing that single item: plextraktsync sync --id=8878
you can try syncing by specific libraries plextraktsync sync --library="Library Name" or adjust excluded libraries via config to minimize impact and find if it creates any difference.
rate limit status code is typically 429 not 401. 401 may indicate getting blocked. do you get unblocked at some point?
how is this achieved? "My Plex Account is limited to 1 stream at a time."
"101 media contents" what kind of library" movies? tv shows?
"Could this be related to a firewall blocking the many requests at one time" no, response looks like from plex server. see ple x server logs
Confirmation
The problem
I already wrote this down in #2104, but I will insert it here again.
Also, somebody marked my old issue as a duplicate of a Trakt API issue. This is not the case here I think, since I clearly get a 401 back from Plex, not Trakt:
Secondly, when you close issues please don't lock them, since I now needed to create another issue just to give you the details I already gave you a month ago or so, looking at #2172
Also, I have included a
?
in the title as I don't obviously know if this is Plex issue or a firewall in front of Plex blocking something. That's why I am asking. In both cases could be a cooldown between every few hundred items as a new feature help there. Correct me if I'm wrong.Steps to reproduce the behavior
Not sure, read my last paragraph above.
Error trace / logs
Expected behavior
To just sync my Trakt library to Plex.
Inspect of problematic items
Workarounds
No response
Config file contents
Install method
pipx
Version
0.32.2
Python Version
Python Version: 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
Plex Server Version
Plex Server version: 1.41.3.9232-434341a9d, updated at: 2024-12-03 09:41:46
Operating System and Version
Windows 11
The text was updated successfully, but these errors were encountered: