Jump to content

Sync library to trak.tv Fehler


tigermichi

Recommended Posts

tigermichi

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

tigermichi
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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 ***
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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>

Link to comment
Share on other sites

@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

Link to comment
Share on other sites

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

Edited by cayars
Link to comment
Share on other sites

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