Eisi2005 10 Posted February 11, 2022 Share Posted February 11, 2022 Hello, I would like to synchronize another user with trak.tv. I then selected his user name in the Trakt plugin, had me given a pin and entered it. As I understand it, a token is generated from the pin the first time it is called, but unfortunately that doesn't work. Existing users will continue to be synchronized. I have already uninstalled the plugin and deleted the trak.xml from the config directory. Now the old users are no longer synchronized Here is an excerpt from the log. 2022-02-11 13:30:00.001 Info HttpClient: POST https://api.trakt.tv/oauth/token 2022-02-11 13:30:00.174 Error Trakt: Exception handled *** Error Report *** Version: 4.6.7.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 5.10.19-Unraid (root@Develop) (gcc (GCC) 9.3.0, GNU ld version 2.33.1-slack15) #1 SMP Sat Feb 27 08:00:30 PST 2021 Framework: .NET Core 3.1.21 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: 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.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.SyncFromTraktTask.SyncTraktDataForUser(User user, Double currentProgress, CancellationToken cancellationToken, IProgress`1 progress, Double percentPerUser) Source: Emby.Server.Implementations TargetSite: Void MoveNext() 2022-02-11 13:30:00.177 Error Trakt: Error syncing trakt data for user xxxx *** Error Report *** Version: 4.6.7.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 5.10.19-Unraid (root@Develop) (gcc (GCC) 9.3.0, GNU ld version 2.33.1-slack15) #1 SMP Sat Feb 27 08:00:30 PST 2021 Framework: .NET Core 3.1.21 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 4 Data path: /config Application path: /system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: 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.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.SyncFromTraktTask.SyncTraktDataForUser(User user, Double currentProgress, CancellationToken cancellationToken, IProgress`1 progress, Double percentPerUser) at Trakt.ScheduledTasks.SyncFromTraktTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) Source: Emby.Server.Implementations TargetSite: Void MoveNext() Have anyone a hint ? Link to comment Share on other sites More sharing options...
Luke 36887 Posted February 15, 2022 Share Posted February 15, 2022 Hi @Eisi2005 are you still running into this? Link to comment Share on other sites More sharing options...
sysdruids 0 Posted February 18, 2022 Share Posted February 18, 2022 I have 2 new emby setups, 2 different servers just to test this. fresh installs, little media, just in case. Tried it on different ISPs, on both machines there is a bash script that backups my trakt to a csv and it works on both. I have deleted the trakt.xml, restartted, reinstalled... the works. The result is always the same: 2022-02-18 17:16:40.275 Error Trakt: Exception handled *** Error Report *** Version: 4.6.7.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 5.13.0-27-generic (buildd@lgw01-amd64-045) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #29~20.04.1 Framework: .NET Core 3.1.21 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 12 Data path: /var/lib/emby Application path: /opt/emby-server/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError 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.GetFromTrakt(String url, CancellationToken cancellationToken, TraktUser traktUser) at Trakt.Api.TraktApi.SendGetPlaybackShowsRequest(TraktUser traktUser, CancellationToken cancellationToken) at Trakt.ScheduledTasks.SyncFromTraktTask.SyncTraktDataForUser(User user, Double currentProgress, CancellationToken cancellationToken, IProgress`1 progress, Double percentPerUser) Source: Emby.Server.Implementations TargetSite: Void MoveNext() 2022-02-18 17:16:40.277 Error Trakt: Error syncing trakt data for user blacksmiths *** Error Report *** Version: 4.6.7.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 5.13.0-27-generic (buildd@lgw01-amd64-045) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #29~20.04.1 Framework: .NET Core 3.1.21 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 12 Data path: /var/lib/emby Application path: /opt/emby-server/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: InternalServerError 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.GetFromTrakt(String url, CancellationToken cancellationToken, TraktUser traktUser) at Trakt.Api.TraktApi.SendGetPlaybackShowsRequest(TraktUser traktUser, CancellationToken cancellationToken) at Trakt.ScheduledTasks.SyncFromTraktTask.SyncTraktDataForUser(User user, Double currentProgress, CancellationToken cancellationToken, IProgress`1 progress, Double percentPerUser) at Trakt.ScheduledTasks.SyncFromTraktTask.Execute(CancellationToken cancellationToken, IProgress`1 progress) Source: Emby.Server.Implementations TargetSite: Void MoveNext() Link to comment Share on other sites More sharing options...
Luke 36887 Posted February 18, 2022 Share Posted February 18, 2022 Please attach the complete server log. thanks. Link to comment Share on other sites More sharing options...
sysdruids 0 Posted February 21, 2022 Share Posted February 21, 2022 Hello, sorry forthe delay, I wasaway for the weekend. Here's the log, I did a restart and forced the. import playstates from trakt at timestamp: 2022-02-21 10:11:36.237 Thank you embyserver.txt Link to comment Share on other sites More sharing options...
Luke 36887 Posted February 23, 2022 Share Posted February 23, 2022 Hi, can try again and let us know how it compares? Thanks. Link to comment Share on other sites More sharing options...
sysdruids 0 Posted March 7, 2022 Share Posted March 7, 2022 Hi. did it a couple of times. Same result embyserver.txt Link to comment Share on other sites More sharing options...
Luke 36887 Posted March 10, 2022 Share Posted March 10, 2022 On 3/7/2022 at 4:03 AM, sysdruids said: Hi. did it a couple of times. Same result embyserver.txt 40.03 kB · 0 downloads Are you behind a VPN? Link to comment Share on other sites More sharing options...
sysdruids 0 Posted March 14, 2022 Share Posted March 14, 2022 Hello. No, no VPN and on different (internet) locations. My account still works with the backup scripts (that uses the API) I normally use Link to comment Share on other sites More sharing options...
Luke 36887 Posted March 14, 2022 Share Posted March 14, 2022 OK, we're soon to release Emby Server 4.7 so I would suggest re-evaluating with that once available. Thanks. Link to comment Share on other sites More sharing options...
sysdruids 0 Posted March 14, 2022 Share Posted March 14, 2022 Sure, I did had a workaround to fix it on the second server, for prosperity: Kodi companion + Kodi + Kodi embycon + Kodi Trakt plugin. It is working for my better half usage and accunt. Link to comment Share on other sites More sharing options...
StevenDTX 2 Posted June 20, 2022 Share Posted June 20, 2022 I discovered this week that my Emby server hasn't scrobbled anything to Trakt since back in April. I have removed the plugin, reinstalled, reauthorized...the whole nine yards. I still get the same error: 2022-06-20 18:43:55.618 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies 2022-06-20 18:43:56.213 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies 2022-06-20 18:43:56.780 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies 2022-06-20 18:43:56.851 Error TaskManager: Error *** Error Report *** Version: 4.7.4.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 5.15.46-Unraid (root@Develop) (gcc (GCC) 11.2.0, GNU ld version 2.37-slack15) #1 SMP Fri Jun 10 11:08:41 PDT 2022 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 16 Data path: /config Application path: /system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Locked 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.GetFromTrakt(String url, TraktUser traktUser, CancellationToken cancellationToken) 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) Source: Emby.Server.Implementations TargetSite: Void MoveNext() embyserver - trakt-error.txt Link to comment Share on other sites More sharing options...
StevenDTX 2 Posted June 21, 2022 Share Posted June 21, 2022 (edited) I also cannot seem to be able to enable debug logging for the Trakt plugin. https://i.imgur.com/jQnppGB.mp4 Edited June 21, 2022 by StevenDTX Link to comment Share on other sites More sharing options...
Luke 36887 Posted July 2, 2022 Share Posted July 2, 2022 On 6/20/2022 at 7:47 PM, StevenDTX said: I discovered this week that my Emby server hasn't scrobbled anything to Trakt since back in April. I have removed the plugin, reinstalled, reauthorized...the whole nine yards. I still get the same error: 2022-06-20 18:43:55.618 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies 2022-06-20 18:43:56.213 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies 2022-06-20 18:43:56.780 Info HttpClient: GET https://api.trakt.tv/sync/watched/movies 2022-06-20 18:43:56.851 Error TaskManager: Error *** Error Report *** Version: 4.7.4.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 5.15.46-Unraid (root@Develop) (gcc (GCC) 11.2.0, GNU ld version 2.37-slack15) #1 SMP Fri Jun 10 11:08:41 PDT 2022 Framework: .NET 6.0.2 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 16 Data path: /config Application path: /system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Locked 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.GetFromTrakt(String url, TraktUser traktUser, CancellationToken cancellationToken) 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) Source: Emby.Server.Implementations TargetSite: Void MoveNext() embyserver - trakt-error.txt 30.97 kB · 0 downloads Hi @StevenDTX looks like Trakt has locked your account. You'll need to submit a ticket to Trakt support to have them unlock it for you. Please let us know if this helps. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now