M3th0s 14 Posted March 3, 2020 Share Posted March 3, 2020 Afternoon guys Wondering if anyone can help me. Trying to sync emby with my trakt account and no luck. Log entries below, let me know if you need anything else 2020-03-03 14:21:48.896 Error TaskManager: Error *** Error Report *** Version: 4.3.1.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Unix 4.15.0.88 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///system/System.Private.CoreLib.dll Processor count: 16 Program data path: /config Application directory: /system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized 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.<>c__DisplayClass34_0.<<PostToTrakt>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.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) Source: Emby.Server.Implementations TargetSite: Void MoveNext() 2020-03-03 14:21:48.896 Info TaskManager: Sync library to trakt.tv Failed after 0 minute(s) and 1 seconds Link to comment Share on other sites More sharing options...
vdatanet 1549 Posted March 3, 2020 Share Posted March 3, 2020 (edited) Did you request the PIN? Take a look at this: https://emby.media/community/index.php?/topic/77963-trakttv-correct-settings/ Edited March 3, 2020 by vdatanet Link to comment Share on other sites More sharing options...
M3th0s 14 Posted March 3, 2020 Author Share Posted March 3, 2020 (edited) Did you request the PIN? Take a look at this: https://emby.media/community/index.php?/topic/77963-trakttv-correct-settings/ Yeah I setup for my own specific user and linked it to my trakt account. Would the fact that emby is still scanning a lot of stuff into the library make any difference? Edited March 3, 2020 by M3th0s Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted March 3, 2020 Share Posted March 3, 2020 Yeah I setup for my own specific user and linked it to my trakt account. Would the fact that emby is still scanning a lot of stuff into the library make any difference? No. check your creds: MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized Link to comment Share on other sites More sharing options...
vdatanet 1549 Posted March 3, 2020 Share Posted March 3, 2020 Can you post your config file? It shoul look like this: <?xml version="1.0"?> <PluginConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TraktUsers> <TraktUser> <AccessToken>removed</AccessToken> <RefreshToken>removed</RefreshToken> <LinkedMbUserId>removed</LinkedMbUserId> <UsesAdvancedRating>false</UsesAdvancedRating> <SkipUnwatchedImportFromTrakt>false</SkipUnwatchedImportFromTrakt> <PostWatchedHistory>true</PostWatchedHistory> <SyncCollection>true</SyncCollection> <ExtraLogging>false</ExtraLogging> <ExportMediaInfo>false</ExportMediaInfo> <LocationsExcluded /> <AccessTokenExpiration /> </TraktUser> </TraktUsers> </PluginConfiguration> Link to comment Share on other sites More sharing options...
Spaceboy 2502 Posted March 3, 2020 Share Posted March 3, 2020 In finding I’m regularly (monthly) having to revalidate the pin at the moment Link to comment Share on other sites More sharing options...
Solution M3th0s 14 Posted March 3, 2020 Author Solution Share Posted March 3, 2020 No. check your creds: MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized I've removed the plugin, re-added it and re-entered the pin from trakt, saved it. Re-tried the scheduled task and seems to be working now. Thanks again and sorry for troubling you! 2 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