Jump to content

[Trakt] Can't sync Trakt watched status, errors in log file


jant90

Recommended Posts

I just finished a clean Emby install and I would like to sync my watched status from Trakt.tv back to my Emby library. Whenever I execute "Import playstates from Trakt.tv" it finishes almost immediately but nothing happened. The log shows errors. The scheduled task "Sync library to trakt.tv" always fails. I've attached a log file for both problems. I run a clean install of Ubuntu Server 16.04 LTS.

 

Can I fix this myself, perhaps by installing some dependency or is this a bug in the Trakt plugin?

 

 

import_playstates.txt

sync_library.txt

Link to comment
Share on other sites

Hi, it's returning errors about unauthorized so i would double check your trakt login information on the plugin's setup page.

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
Trevor68

I think I have a similiar error, but I have been to trak and changed my password, with no improvement. Do they need an API now, as I note my account has no

"connected apps"

2016-10-08 11:50:45.5318 Error TaskManager: Error
	*** Error Report ***
	Version: 3.1.181.0
	Command line: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: True
	Program data path: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server
	Application Path: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe
	One or more errors occurred.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1d.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<Get>d__2.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.Api.TraktApi.<GetFromTrakt>d__27.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   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.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__9.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at Trakt.ScheduledTasks.SyncLibraryTask.<Execute>d__8.MoveNext()
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__b.MoveNext()
	InnerException: System.AggregateException
	One or more errors occurred.
	   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
	   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1d.MoveNext()
	InnerException: System.Net.WebException
	The remote server returned an error: (401) Unauthorized.
	   at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
	   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
	
2016-10-08 11:50:45.5318 Info TaskManager: Sync library to trakt.tv Failed after 0 minute(s) and 14 seconds
2016-10-08 11:50:45.5468 Info ServerManager: Sending web socket message NotificationAdded
2016-10-08 11:50:45.5468 Info ServerManager: Sending web socket message ScheduledTaskEnded
2016-10-08 11:50:45.5468 Info TaskManager: ExecuteQueuedTasks
2016-10-08 11:50:45.5678 Info HttpServer: HTTP GET http://localhost:8096/emby/Notifications/0f58f1dfe6b3e4dfb3db5bbb6d6fbefb/Summary. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
2016-10-08 11:50:45.5898 Info HttpServer: HTTP Response 200 to ::1. Time: 22ms. http://localhost:8096/emby/Notifications/0f58f1dfe6b3e4dfb3db5bbb6d6fbefb/Summary
2016-10-08 11:50:50.8531 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Logs. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
2016-10-08 11:50:50.8531 Info HttpServer: HTTP Response 200 to ::1. Time: 6ms. http://localhost:8096/emby/System/Logs
2016-10-08 11:50:50.8531 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Configuration. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
2016-10-08 11:50:50.8531 Info HttpServer: HTTP Response 200 to ::1. Time: 4ms. http://localhost:8096/emby/System/Configuration
Link to comment
Share on other sites

Trevor68

Yes, having read above I even changed my password over at Trak to be absolutely sure it's not wrong. Tak hasn't worked for me for years now, no-one has ever offered a solution, but seeing as it works for some I keep plugging away at it now and then.

 

I went thru the whole new account at tralk awhile ago, no change. Today I uninstalled and reinstalled the plugin, again no change. I can tell you the difference between a correct and an incorrect password though, it tries to sync for about 20 seconds longer with the correct one.

Link to comment
Share on other sites

Trevor68

Ok, MCM is still happily adding everything to Trak as it fetches, so I am going to assume this is only a Emby Plugin Problem.

 

I noticed after I deleted it came back populated with info, is there somewhere I can manually delete the plugin?

Link to comment
Share on other sites

Trevor68

Did you even read that page? I have uninstalled the plugin and reinstalled it, it comes back prepoluated, hence there is an actual FILE somewhere I should likely delete I'm guessing. I'm just doing any troubleshooting I can think of because no one here has any other real suggestions.

 

Seriously, this hasn't worked for years, everyone hear keeps blaming Trak, yet I have other software that utlises Trak just fine.

 

This actually worked awesome many years ago, then just stopped working when Trak released API 2.0

Edited by Trevor68
Link to comment
Share on other sites

Plug-in configurations are not removed when you uninstall them.  This is by design so that you don't lose a complex configuration.

 

Under the plugins folder there is a configurations folder.  Find the appropriate file in there and remove it.

Link to comment
Share on other sites

  • 1 month later...

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