Jump to content

Trakt plugin constantly failing to sync


Recommended Posts

pgriffith
Posted

My Trakt plugin continuously fails to sync with Trakt. I keep needing to reauthorise with Trakt and get a new token, will work for a few times after that, then fails again, rinse repeat....

 

I don't interact with Trakt any other way, I don't visit or log into the site at all.

 

Most recent failure from log

 

019-06-07 00:19:42.627 Info HttpClient: GET https://api.trakt.tv/sync/collection/movies?extended=metadata
2019-06-07 00:20:13.408 Info HttpClient: GET https://api.trakt.tv/sync/collection/movies?extended=metadata
2019-06-07 00:20:43.684 Error TaskManager: Error
    *** Error Report ***
    Version: 4.1.1.0
    Command line: C:\Users\Griff\AppData\Roaming\MediaBrowser-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Runtime: file:///C:/Users/Griff/AppData/Roaming/MediaBrowser-Server/system/System.Private.CoreLib.dll
    Processor count: 4
    Program data path: C:\Users\Griff\AppData\Roaming\MediaBrowser-Server
    Application directory: C:\Users\Griff\AppData\Roaming\MediaBrowser-Server\system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: 524
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.Get(HttpRequestOptions options)
     at Trakt.Api.TraktApi.<>c__DisplayClass30_0.<<GetFromTrakt>b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at Trakt.Api.TraktApi.Retry[T](Func`1 function)
     at Trakt.Api.TraktApi.GetFromTrakt(String url, CancellationToken cancellationToken, TraktUser traktUser)
     at Trakt.Api.TraktApi.SendGetAllCollectedMoviesRequest(TraktUser traktUser)
     at Trakt.ScheduledTasks.SyncLibraryTask.SyncMovies(User user, TraktUser traktUser, ISplittableProgress`1 progress, CancellationToken cancellationToken)
     at Trakt.ScheduledTasks.SyncLibraryTask.SyncUserLibrary(User user, TraktUser traktUser, ISplittableProgress`1 progress, CancellationToken cancellationToken)
     at Trakt.ScheduledTasks.SyncLibraryTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
     at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()
    
2019-06-07 00:20:43.684 Info TaskManager: Sync library to trakt.tv Failed after 1 minute(s) and 33 seconds

 

Any ideas ?

Posted

Hi there, please attach the complete emby server log. Thanks.

pgriffith
Posted

Sorry for taking awhile to get back to you on this Luke.

 

Attached is a log file from a fresh start of the server, forcing the trakt plugin to do a synch and then shutting the server down after it failed.

embyserver-63695862180.txt

Posted

A 524 response code means a timeout occurred. I don't think there's much we can do about this as it means Trakt might be under heavy load and not responding.

 

@@J2ghz may have some thoughts. Thanks.

pgriffith
Posted

Appears you're right Luke, I've tried about a dozen times since your response to sync to trakt, and eventually it successfully completed.

Posted

Thanks for the feedback !

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...