Jump to content

Trakt sync failing - Import job runs ok


jenkinsdan

Recommended Posts

jenkinsdan

Hi,

 

I'm getting a failed job error with the Trakt plugin to 'Sync Library to Trakt.tv'.  It says (Failed).  LOgs are below.   The other trakt job looks ok (Import playstates from Trak.tv).

 

Nothing we watch in Emby is being updated in Trakt to say it is watched.

 

Any help would be appreciated.  Windows 10 box has been reloaded.

 

Thanks

Dan

 

2017-12-03 08:49:26.347 Info TaskManager: Executing Sync library to trakt.tv
2017-12-03 08:49:26.347 Info HttpServer: HTTP Response 204 to 192.168.0.5. Time: 7ms. http://192.168.0.5:8096/emby/ScheduledTasks/Running/b1a52e63d5fb09335557d4f1e6402299
2017-12-03 08:49:26.352 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
2017-12-03 08:49:26.355 Info HttpServer: HTTP Response 200 to 192.168.0.5. Time: 3ms. http://192.168.0.5:8096/emby/ScheduledTasks?isHidden=false
2017-12-03 08:49:26.365 Info HttpClient: HttpClientManager GET: https://api-v2launch.trakt.tv/sync/watched/movies
2017-12-03 08:49:31.108 Info HttpClient: HttpClientManager GET: https://api-v2launch.trakt.tv/sync/watched/movies
2017-12-03 08:49:31.425 Info App: Emby.Kodi.SyncQueue: Starting Library Sync...
2017-12-03 08:49:31.476 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?Recursive=true&Limit=3&Filters=IsNotFolder&SortBy=DateCreated&SortOrder=Descending&Ids=7e7eab31a2754e63896489174155936a&MediaTypes=Audio%2CVideo&EnableTotalRecordCount=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36
2017-12-03 08:49:31.485 Info HttpServer: HTTP Response 200 to 192.168.0.5. Time: 10ms. http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?Recursive=true&Limit=3&Filters=IsNotFolder&SortBy=DateCreated&SortOrder=Descending&Ids=7e7eab31a2754e63896489174155936a&MediaTypes=Audio%2CVideo&EnableTotalRecordCount=false
2017-12-03 08:49:31.775 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=7e7eab31a2754e63896489174155936a. UserAgent:
2017-12-03 08:49:31.779 Info HttpServer: HTTP Response 200 to 192.168.0.152. Time: 4ms. http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=7e7eab31a2754e63896489174155936a
2017-12-03 08:49:32.022 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=0d48d0cbdbbd0f0930c5dc11e384a14f. UserAgent:
2017-12-03 08:49:32.026 Info HttpServer: HTTP Response 200 to 192.168.0.152. Time: 4ms. http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=0d48d0cbdbbd0f0930c5dc11e384a14f
2017-12-03 08:49:32.047 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Items/0d48d0cbdbbd0f0930c5dc11e384a14f/Ancestors?UserId=3f1efafa3f554d0cb04bea0d99c69578&format=json. UserAgent:
2017-12-03 08:49:32.054 Info HttpServer: HTTP Response 200 to 192.168.0.152. Time: 8ms. http://192.168.0.5:8096/emby/Items/0d48d0cbdbbd0f0930c5dc11e384a14f/Ancestors?UserId=3f1efafa3f554d0cb04bea0d99c69578&format=json
2017-12-03 08:49:32.118 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=7e7eab31a2754e63896489174155936a. UserAgent:
2017-12-03 08:49:32.122 Info HttpServer: HTTP Response 200 to 192.168.0.5. Time: 5ms. http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=7e7eab31a2754e63896489174155936a
2017-12-03 08:49:32.129 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Shows/0d48d0cbdbbd0f0930c5dc11e384a14f/Seasons?UserId=3f1efafa3f554d0cb04bea0d99c69578&format=json&Fields=Etag&IsVirtualUnaired=False. UserAgent:
2017-12-03 08:49:32.134 Info HttpServer: HTTP Response 200 to 192.168.0.152. Time: 5ms. http://192.168.0.5:8096/emby/Shows/0d48d0cbdbbd0f0930c5dc11e384a14f/Seasons?UserId=3f1efafa3f554d0cb04bea0d99c69578&format=json&Fields=Etag&IsVirtualUnaired=False
2017-12-03 08:49:32.187 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=0d48d0cbdbbd0f0930c5dc11e384a14f. UserAgent:
2017-12-03 08:49:32.197 Info HttpServer: HTTP Response 200 to 192.168.0.5. Time: 10ms. http://192.168.0.5:8096/emby/Users/3f1efafa3f554d0cb04bea0d99c69578/Items?format=json&Fields=Path%2CGenres%2CSortName%2CStudios%2CWriter%2CProductionYear%2CTaglines%2CCommunityRating%2COfficialRating%2CCumulativeRunTimeTicks%2CMetascore%2CAirTime%2CDateCreated%2CMediaStreams%2CPeople%2COverview%2CCriticRating%2CCriticRatingSummary%2CEtag%2CShortOverview%2CProductionLocations%2CTags%2CProviderIds%2CParentId%2CRemoteTrailers%2CSpecialEpisodeNumbers%2CMediaSources%2CVoteCount&Ids=0d48d0cbdbbd0f0930c5dc11e384a14f
2017-12-03 08:49:32.204 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Items/0d48d0cbdbbd0f0930c5dc11e384a14f/Ancestors?UserId=3f1efafa3f554d0cb04bea0d99c69578&format=json. UserAgent:
2017-12-03 08:49:32.209 Info HttpServer: HTTP Response 200 to 192.168.0.5. Time: 5ms. http://192.168.0.5:8096/emby/Items/0d48d0cbdbbd0f0930c5dc11e384a14f/Ancestors?UserId=3f1efafa3f554d0cb04bea0d99c69578&format=json
2017-12-03 08:49:32.225 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Shows/0d48d0cbdbbd0f0930c5dc11e384a14f/Seasons?UserId=3f1efafa3f554d0cb04bea0d99c69578&format=json&Fields=Etag&IsVirtualUnaired=False. UserAgent:
2017-12-03 08:49:32.229 Info HttpServer: HTTP Response 200 to 192.168.0.5. Time: 4ms. http://192.168.0.5:8096/emby/Shows/0d48d0cbdbbd0f0930c5dc11e384a14f/Seasons?UserId=3f1efafa3f554d0cb04bea0d99c69578&format=json&Fields=Etag&IsVirtualUnaired=False
2017-12-03 08:49:32.261 Info HttpServer: HTTP GET http://192.168.0.5:8096/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json. UserAgent:
2017-12-03 08:49:32.264 Info App: Emby.Kodi.SyncQueue: Server Time Requested...
2017-12-03 08:49:32.264 Info HttpServer: HTTP Response 200 to 192.168.0.152. Time: 4ms. http://192.168.0.5:8096/emby/Emby.Kodi.SyncQueue/GetServerDateTime?format=json
2017-12-03 08:49:32.433 Info HttpClient: HttpClientManager GET: https://api-v2launch.trakt.tv/sync/watched/movies
2017-12-03 08:49:32.435 Info App: Emby.Kodi.SyncQueue: "LIBRARYSYNC" Removed 0 items:
2017-12-03 08:49:32.435 Info App: Emby.Kodi.SyncQueue: "LIBRARYSYNC" Updated 1 items: 0d48d0cbdbbd0f0930c5dc11e384a14f
2017-12-03 08:49:32.867 Info App: Emby.Kodi.SyncQueue: "LIBRARYSYNC" Added 1 items: 7e7eab31a2754e63896489174155936a
2017-12-03 08:49:32.867 Info App: Emby.Kodi.SyncQueue: Finished Library Sync Taking 00:00:01.4421107
2017-12-03 08:49:32.944 Info HttpServer: HTTP GET http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/description.xml. UserAgent: UPnP/1.0 DLNADOC/1.50 Kodi
2017-12-03 08:49:32.944 Info HttpServer: HTTP Response 200 to 192.168.0.157. Time: 1ms. http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/description.xml
2017-12-03 08:49:33.049 Info HttpServer: HTTP GET http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/contentdirectory/contentdirectory.xml. UserAgent: UPnP/1.0 DLNADOC/1.50 Kodi
2017-12-03 08:49:33.050 Info HttpServer: HTTP Response 200 to 192.168.0.157. Time: 1ms. http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/contentdirectory/contentdirectory.xml
2017-12-03 08:49:33.056 Info HttpServer: HTTP GET http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/connectionmanager/connectionmanager.xml. UserAgent: UPnP/1.0 DLNADOC/1.50 Kodi
2017-12-03 08:49:33.056 Info HttpServer: HTTP Response 200 to 192.168.0.157. Time: 1ms. http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/connectionmanager/connectionmanager.xml
2017-12-03 08:49:33.061 Info HttpServer: HTTP SUBSCRIBE http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/contentdirectory/events. UserAgent: UPnP/1.0 DLNADOC/1.50 Kodi
2017-12-03 08:49:33.061 Info HttpServer: HTTP Response 200 to 192.168.0.157. Time: 0ms. http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/contentdirectory/events
2017-12-03 08:49:33.074 Info HttpServer: HTTP SUBSCRIBE http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/connectionmanager/events. UserAgent: UPnP/1.0 DLNADOC/1.50 Kodi
2017-12-03 08:49:33.074 Info HttpServer: HTTP Response 200 to 192.168.0.157. Time: 1ms. http://192.168.0.5:8096/dlna/8b579a32732c431db497bb0a135a89f2/connectionmanager/events
2017-12-03 08:49:34.067 Error TaskManager: Error
    *** Error Report ***
    Version: 3.2.36.0
    Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\EmbyServer.dll -service
    Operating system: Microsoft Windows NT 6.2.9200.0
    64-Bit OS: True
    64-Bit Process: True
    User Interactive: True
    Processor count: 4
    Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server\programdata
    Application directory: C:\Users\Administrator\AppData\Roaming\Emby-Server\system
    MediaBrowser.Model.Net.HttpException: Unauthorized
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsyncInternal>d__20.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsync>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<Get>d__14.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.Api.TraktApi.<GetFromTrakt>d__28.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.Api.TraktApi.<SendGetAllWatchedMoviesRequest>d__18.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.ScheduledTasks.SyncLibraryTask.<SyncMovies>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__11.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.ScheduledTasks.SyncLibraryTask.<Execute>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
    MediaBrowser.Model.Net.HttpException
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsyncInternal>d__20.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<SendAsync>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.<Get>d__14.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.Api.TraktApi.<GetFromTrakt>d__28.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.Api.TraktApi.<SendGetAllWatchedMoviesRequest>d__18.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.ScheduledTasks.SyncLibraryTask.<SyncMovies>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__11.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Trakt.ScheduledTasks.SyncLibraryTask.<Execute>d__10.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()
    
2017-12-03 08:49:34.068 Info TaskManager: Sync library to trakt.tv Failed after 0 minute(s) and 7 seconds

Link to comment
Share on other sites

Our Trakt plugin has been updated to 3.1.2. Due to Trakt API changes, you will need to install the update, and then re-authenticate using the trakt plugin configuration screen.

 

Please let us know if this helps. Thanks !

  • Like 1
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...