Jump to content

Sync library to trak.tv Fehler


Recommended Posts

Posted

Hallo.

Ich bekomme immer folgenden Fehler bei :

 

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.&lt;&gt;c__DisplayClass32_0.&lt;<getfromtrakt>b__0&gt;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, CancellationToken cancellationToken)
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)</getfromtrakt>

 

Wenn ich das manuell mache funktioniert es.

Was kann das sein?

LG Micha

Posted

Hi, Did you setup Trakt with the token it needs for the user?

You can access this screen via the plugin itself in web admin.

Posted
15 hours ago, cayars said:

Hi, Did you setup Trakt with the token it needs for the user?

You can access this screen via the plugin itself in web admin.

Ja, habe ich damals gemacht.

Aber ich wohne i einer neuen Wohnung, und meine NAS (Emby) hat eine andere IP-Adresse.

Vielleicht sollte ich nochmal ein token einrichten...

  • Like 1
Posted

That would be the first thing I'd try.  After setting it up do a manual download of the sub and see if it works.  Can also check the log file.

Posted

Hi. Neue Pin gespeichert. kein Sync...:(

BadRequest
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
at Trakt.Api.TraktApi.&lt;&gt;c__DisplayClass34_0.&lt;<posttotrakt>b__0&gt;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.PostToTrakt(String url, Object data, CancellationToken cancellationToken, TraktUser traktUser)
at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken)
at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser, CancellationToken cancellationToken)
at Trakt.Api.TraktApi.GetFromTrakt(String url, CancellationToken cancellationToken, TraktUser traktUser)
at Trakt.Api.TraktApi.SendGetAllWatchedMoviesRequest(TraktUser traktUser, CancellationToken cancellationToken)
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)</posttotrakt>

 

 

 

embyserver.txt

Posted

liegt das vielleicht an der Benutzerverwaltung?

Habe neuerdings weitere Benutzer angelegt...

Posted

Hello again. I need some help, because Trakt.tv don´t sync with Emby.

I´m conntected with Pin, but i get an Error.

Thank you

2020-11-17 20:58:41.483 Error Trakt: TraktResponse not Found:{}
2020-11-17 20:58:41.483 Error Trakt: TraktResponse not Found:{}
2020-11-17 20:58:41.483 Error Trakt: TraktResponse not Found:{}
2020-11-17 20:58:41.483 Error Trakt: TraktResponse not Found:{}
2020-11-17 20:58:41.488 Info Trakt: Episodes to remove from Collection: 0
2020-11-17 20:58:41.492 Info Trakt: Episodes to set watched: 0
2020-11-17 20:58:41.492 Info Trakt: Episodes to set unwatched: 1
2020-11-17 20:58:41.524 Info HttpClient: POST https://api.trakt.tv/sync/history/remove
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Added Movies:
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Added Shows:
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Added Seasons:
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Added Episodes:
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Deleted Movies: 0
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Deleted Shows: 0
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Deleted Seasons: 0
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Deleted Episodes: 0
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Existing Movies:
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Existing Shows:
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Existing Seasons:
2020-11-17 20:58:41.780 Debug Trakt: TraktResponse Existing Episodes:
2020-11-17 20:58:41.782 Info HttpClient: POST https://api.trakt.tv/oauth/token
2020-11-17 20:58:42.423 Info HttpClient: POST https://api.trakt.tv/oauth/token
2020-11-17 20:58:43.047 Info HttpClient: POST https://api.trakt.tv/oauth/token
2020-11-17 20:58:43.194 Error TaskManager: Error
*** Error Report ***
Posted

Hi, Can you post the complete log please.

Posted

I don't see any Trakt syncing in this log file.

Posted

ok, I sync again, and post the new log.

 

Posted

This appears to me to be a token authentication error back from trakt.

Posted

OK. Website from Trakt.TV i deleted my Account,

On Emby deinstall the Trakt Plugin.

Now i have create a new account on trakt.tv.

Then i have install the trakt Plugin on Emby and connected with the Pin.

Sync not OK Bad Request.Holy Shit

Posted

BadRequest
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
at Trakt.Api.TraktApi.&lt;&gt;c__DisplayClass34_0.&lt;<posttotrakt>b__0&gt;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.PostToTrakt(String url, Object data, CancellationToken cancellationToken, TraktUser traktUser)
at Trakt.Api.TraktApi.RefreshUserAuth(TraktUser traktUser, CancellationToken cancellationToken)
at Trakt.Api.TraktApi.SetRequestHeaders(HttpRequestOptions options, TraktUser traktUser, CancellationToken cancellationToken)
at Trakt.Api.TraktApi.GetFromTrakt(String url, CancellationToken cancellationToken, TraktUser traktUser)
at Trakt.Api.TraktApi.SendGetAllWatchedMoviesRequest(TraktUser traktUser, CancellationToken cancellationToken)
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)</posttotrakt>

Posted

@cayars

Here's what I found out ...
In Emby I only get 100% with Trakt Sync
Then behind it comes the message (Reported)
In the Emby menu, the note Sync library to Trakt Bad Request
But on the homepage of Trakt.tv my watched stats are correct. I've tested a little and it's always correct.
No idea why. What I personally changed is the setup of remote access (WAN) with myfritz.net and the port sharing in the router ...
I have no idea why I have this phenomenon.
Greets Micha
Nice weekend

Posted (edited)

Thanks for that.  @Luke will have to take a look at that as he's the listed dev for it.

Edited by cayars
Posted

Try vdatanet's suggestion here:

 

Posted
27 minutes ago, Luke said:

Try vdatanet's suggestion here:

 

Thank you @Luke

It works fine now :)

Posted

Thanks for the feedback.

  • Like 1

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