jacobwgillespie / plex-sync

:clapper: Command line utility for synchronizing Plex Media Server watched / seen status between multiple servers
https://www.npmjs.com/package/plex-sync
Other
305 stars 37 forks source link

Error message occurring after "Sync Completed" #68

Open josurr opened 6 years ago

josurr commented 6 years ago

The following error message appears after running a one-way sync (reading from one server for a specific library and writing to another server) and receiving a "Sync Completed" message:

(node:5131) UnhandledPromiseRejectionWarning: FetchError: request to https://192.168.1.10:32400/:/scrobble?identifier=com.plexapp.plugins.library&key=22030&X-Plex-Token=[Plex Token] failed, reason: connect ECONNREFUSED 192.168.1.10:32400 at ClientRequest. (/usr/lib/node_modules/plex-sync/node_modules/node-fetch/index.js:133:11) at emitOne (events.js:116:13) at ClientRequest.emit (events.js:211:7) at TLSSocket.socketErrorListener (_http_client.js:387:9) at emitOne (events.js:116:13) at TLSSocket.emit (events.js:211:7) at emitErrorNT (internal/streams/destroy.js:64:8) at _combinedTickCallback (internal/process/next_tick.js:138:11) at process._tickCallback (internal/process/next_tick.js:180:9) (node:5131) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 50)