plex-sync icon indicating copy to clipboard operation
plex-sync copied to clipboard

error and question

Open saitoh183 opened this issue 7 years ago • 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.

saitoh183 avatar Feb 12 '17 17:02 saitoh183

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.

jacobwgillespie avatar Feb 12 '17 21:02 jacobwgillespie

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..

saitoh183 avatar Feb 12 '17 23:02 saitoh183

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/.

jacobwgillespie avatar Feb 13 '17 02:02 jacobwgillespie

I'm running into the same issue here. Is there a way we can put an option for a delay between requests?

Fmstrat avatar Feb 25 '17 23:02 Fmstrat

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 avatar Dec 11 '17 22:12 rjsears

@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.

Fmstrat avatar Dec 12 '17 02:12 Fmstrat

OK, I will give that a try and see what happens....

rjsears avatar Dec 13 '17 23:12 rjsears

@Fmstrat Thank You, running it over and over again seemed to do the trick!

rjsears avatar Dec 14 '17 01:12 rjsears