Jump to content

Trakt not syncing?


AaronG85

Recommended Posts

AaronG85

I've just done a massive re-install of Windows and of course re-install MB3 Server, re-setup everything.

Now the trouble is I synced Trakt but its like MB3, since i changed from XBMC, hasn't been sending my watched status back to Trakt. Now i regularly synced MB3 to Trakt using the 'Sync library to Trakt.tv' task so can't understand why it hasn't updated anything in the year I've been using MB3. I've imported my watched status numerous times but with the same result. Does this add-on actually sync back to Trakt.tv?

Link to comment
Share on other sites

  • 2 weeks later...
saitoh183

Im also seeing issues with the trakt plugin when i run the sync to trakt task manually. (scrobble seems to work most of the time)

 

here is a snippet of the error:

2014-10-15 23:29:54.3001 Error - Trakt: Exception handled sending episodes to trakt.tv
	The remote server returned an error: (503) Server Unavailable.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.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 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 System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
	   at Trakt.Api.TraktApi.<SendLibraryUpdateAsync>d__30.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.<Execute>d__1d.MoveNext()
	InnerException: System.Net.WebException
	The remote server returned an error: (503) Server Unavailable.
	   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)
	--- 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 MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.MoveNext()
	
2014-10-15 23:29:54.3157 Info - App: HttpClientManager POST: http://api.trakt.tv/show/episode/library/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb
2014-10-15 23:29:54.3470 Error - App: Error getting response from http://api.trakt.tv/show/episode/library/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb
	The remote server returned an error: (503) Server Unavailable.
	System.Net.WebException
	   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)
	--- 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 MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1e.MoveNext()

Here is the full log https://www.dropbox.com/s/kcasi8gi0tk36g2/server-63549010385.txt?dl=0

 

I dont know if its the plugin that has a problem or the Website. I also wonder if its because of the number of shows i have. Im a VIP on trakt but i dont think that is relevant to the problem. I would be nice to have some input/thought from some DEVs :)

Link to comment
Share on other sites

Did you read anything? You guys can often save developers a lot of time just by looking at the error message.

 

Exception handled sending episodes to trakt.tv
    
The remote server returned an error: (503) Server Unavailable.

 

MBS couldn't reach trakt. There's nothing a developer is going to be able to do about it.

Link to comment
Share on other sites

saitoh183

Did you read anything? You guys can often save developers a lot of time just by looking at the error message.

 

Exception handled sending episodes to trakt.tv

    The remote server returned an error: (503) Server Unavailable.

 

MBS couldn't reach trakt. There's nothing a developer is going to be able to do about it.

 

I did read and did see the error. But the 503 happens then  you run the sync again and it works or maybe it will work after a few fails. What i wanted the opinion on, is the reason for the 503..is it because of the amount of data we are trying to sync? Do you guys know by any chance know if there is a api hit limit per minute (like Anidb for instant) or something and the plugin is maybe hitting it too often too fast.

Edited by saitoh183
Link to comment
Share on other sites

there is a limit and we do have safeguards in the plugin in order to avoid hitting it. but it may have changed.

Link to comment
Share on other sites

saitoh183

there is a limit and we do have safeguards in the plugin in order to avoid hitting it. but it may have changed.

Ok, 

 

I tried another manual sync, and this time it didnt fail but only certain shows where updated and it seemed to only be my anime. Now i just ran it again and now it updated the show i set stuff to watched (that were set before but trakt didnt set them as Seen).

Link to comment
Share on other sites

saitoh183

More trakt issues.

 

This time i have episodes marked as seen and i tried to use the import from trakt but the episodes arent updated. The first time i ran it, i got errors. Second time i got no error but nothing seem to have updated.

2014-10-17 20:16:47.8593 Info - App: Executing Import playstates from Trakt.tv
2014-10-17 20:16:47.8593 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/movies/all.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/sissi
2014-10-17 20:16:49.6884 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/collection.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/sissi
2014-10-17 20:16:50.4574 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/watched.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/sissi
2014-10-17 20:16:50.8894 Info - Trakt: tMovies count = 808
2014-10-17 20:16:50.8894 Info - Trakt: tShowsCollection count = 266
2014-10-17 20:16:50.8894 Info - Trakt: tShowsWatched count = 86
2014-10-17 20:17:12.2769 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/movies/all.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/frankyQc
2014-10-17 20:17:13.2289 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/collection.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/frankyQc
2014-10-17 20:17:13.9254 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/watched.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/frankyQc
2014-10-17 20:17:14.5010 Info - Trakt: tMovies count = 747
2014-10-17 20:17:14.5010 Info - Trakt: tShowsCollection count = 291
2014-10-17 20:17:14.5010 Info - Trakt: tShowsWatched count = 11
2014-10-17 20:17:38.9116 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/movies/all.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/saitoh183
2014-10-17 20:17:41.3037 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/collection.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/saitoh183
2014-10-17 20:17:42.2138 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/watched.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/saitoh183
2014-10-17 20:17:42.8348 Info - Trakt: tMovies count = 1403
2014-10-17 20:17:42.8348 Info - Trakt: tShowsCollection count = 321
2014-10-17 20:17:42.8348 Info - Trakt: tShowsWatched count = 231
2014-10-17 20:18:09.5276 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/movies/all.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/saitoh183
2014-10-17 20:18:11.9638 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/collection.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/saitoh183
2014-10-17 20:18:12.7699 Info - App: HttpClientManager POST: http://api.trakt.tv/user/library/shows/watched.json/77449c38c9f4f9b3cdb8d3f9ef0566b167a935eb/saitoh183
2014-10-17 20:18:13.3178 Info - Trakt: tMovies count = 1403
2014-10-17 20:18:13.3178 Info - Trakt: tShowsCollection count = 321
2014-10-17 20:18:13.3178 Info - Trakt: tShowsWatched count = 231
2014-10-17 20:18:40.1496 Info - App: Import playstates from Trakt.tv Completed after 1 minute(s) and 52 seconds
Link to comment
Share on other sites

  • 3 weeks later...
saitoh183

So what is the solution?  :(

 

Trakt issues have been fixed in the latest beta release of MBS.

Link to comment
Share on other sites

breezytm

I beg to differ :D

I am having issues with trakt.tv. Syncing to is failing but syncing from works just fine. I ended up removing it. 

 

Edit: Taking that statement back. I have a pending update I didn't release that. Why is it that trakt.tv plugin keeps breaking. 

Edited by breezytm
Link to comment
Share on other sites

saitoh183

I beg to differ :D

I am having issues with trakt.tv. Syncing to is failing but syncing from works just fine. I ended up removing it. 

 

Edit: Taking that statement back. I have a pending update I didn't release that. Why is it that trakt.tv plugin keeps breaking. 

 

 

My trakt works fine now since the scrobble fix...which version of MBS your using? My issue was that i had 2 accounts syncing the same trakt account which was causing things to not sync right since the plugin syncs all trakt accounts configured and not just the account your logged into in mbs when you run the schedule task manually.

Edited by saitoh183
Link to comment
Share on other sites

breezytm

Mine was just failing. It is setup correctly. Each user id has their own trakt.tv account. I just updated the server to latest beta. Now I am running version 3.0.5424.1. I installed trakt.tv  plugin again, let's see what happens. I'll report back after fully watching a couple of things this weekend. 

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