error and question
Opened this issue · 8 comments
When i try to sync my TV show and movie library, which are 450 tv shows and 900+ movies i get the following error after sync in repetition:
(node:4756) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 57): FetchError: request to
ps://{PLEX URL}.plex.direct:32400/:/scrobble?identifier=com.plexapp.plugins.libr
key=3072&X-Plex-Token={PLEX TOKEN} failed, reason: connect ETIMEDOUT {PLEX URL}:32400
I replaced my url and token to not post them.
Second thing is a question about plex sync.
Does it sync all my users (Plex home and Friends) or just me . Because im moving my users to this new server and i want to move there watched data over as well.
The ETIMEDOUT
error means the request to Plex timed out, so likely the IP address or port are incorrect - it's not able to talk to your Plex server basically.
To your question: it only syncs you, or more specifically, it only syncs the user who owns the token. If you want to do multiple users, you have to acquire access tokens for each of them.
Well i see that some stuff here and there are marked as watched for tvshows and if i do my other libraries which are smaller (i have a UFC PPV library with about 100 items) it works just fine with the same URL but i change section number. so it is not the URL or port. it only happens with large libraries.
As for the token, how can i get a token for the other uses? if i login as one of them, there is no link view xml in the info of a movie or tv show..
Okay, only on large libraries - that probably means that the number of requests are overwhelming the server. What OS / hardware is your server using? Also, you're using the latest version of plex-sync
, right? (which is currently 0.6.1
) 0.6
introduced a more efficient system for communicating with the Plex server.
For getting the tokens as other users, they do make it harder - I wrote a bookmarklet so that you can just log in as the other user and click the bookmarklet to get the token: https://jacobwgillespie.github.io/plex-token-bookmarklet/.
I'm running into the same issue here. Is there a way we can put an option for a delay between requests?
I am also getting this same error and I am running 0.6.1. Works great with Movies (~5000) but dies on TV Shows (~20,000 episodes)..any fix to get this to work?
@rjsears For me, I just kept running it over and over. Many items synced each time, and now it always run smooth because it's not changing such a large volume.
OK, I will give that a try and see what happens....