Jump to content

Trakt fails on schedule but not on Manual


Guest walkme70

Recommended Posts

Guest walkme70

The Trakt Addin returns a "Sync library to trakt.tv failed" when run on the schedule, however when I manually press the start it run's no problems.

Any idea's why ?

 

Running the latest version of server - Version 3.0.5781.0 and Trakt - 3.0.5754.43056

Edited by walkme70
Link to comment
Share on other sites

MrLinford

I have just set mine to scheduled task and will check it out.

 

Mine is not scrobbleing at the moment, is yours?

 

 

 

2015-11-05 21:12:32.9953 Info - Trakt: Playback Stopped
2015-11-05 21:12:32.9953 Info - Trakt: Item is played. Scrobble
2015-11-05 21:12:33.0266 Error - Trakt: Exception handled sending status update
*** Error Report ***
Version: 3.0.5781.0
Command line: C:\Users\Craig\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 4
64-Bit OS: True
64-Bit Process: False
Program data path: C:\Users\Craig\AppData\Roaming\Emby-Server
Application Path: C:\Users\Craig\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
The request was aborted: Could not create SSL/TLS secure channel.
System.Net.WebException
    at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
    at System.Net.HttpWebRequest.GetRequestStream()
    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 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 Trakt.Api.TraktApi.<PostToTrakt>d__c5.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.<SendEpisodeStatusUpdateAsync>d__13.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.ServerMediator.<KernelPlaybackStopped>d__8.MoveNext()
Edited by MrLinford
Link to comment
Share on other sites

MrLinford

And here is the schedule log, also failed:

 

Server Version 3.0.5781.0

Trakt Plugin Version 3.0.5754.43056

 

 

 

 

2015-11-06 11:34:37.4073 Info - HttpServer: HTTP GET http://192.168.0.2:8096/dlna/7d21756930f6d315b949cdd5cc145d45/description.xml
Ip: 192.168.0.2:57962. Headers: Host=192.168.0.2:8096,Connection=close
2015-11-06 11:34:37.4073 Info - HttpServer: HTTP Response 200 to 192.168.0.2. Time: 0ms. http://192.168.0.2:8096/dlna/7d21756930f6d315b949cdd5cc145d45/description.xml
2015-11-06 11:36:31.7696 Info - App: IntervalTrigger fired for task: Sync library to trakt.tv
2015-11-06 11:36:31.7696 Info - App: Queueing task SyncLibraryTask
2015-11-06 11:36:31.7696 Info - App: Executing Sync library to trakt.tv
2015-11-06 11:36:31.7852 Info - Trakt: 827 Items found for 'Craig'.
2015-11-06 11:36:31.7852 Info - App: HttpClientManager GET: https://api-v2launch.trakt.tv/sync/watched/movies
2015-11-06 11:36:31.8165 Error - App: Error getting response from https://api-v2launch.trakt.tv/sync/watched/movies
*** Error Report ***
Version: 3.0.5781.0
Command line: C:\Users\Craig\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 4
64-Bit OS: True
64-Bit Process: False
Program data path: C:\Users\Craig\AppData\Roaming\Emby-Server
Application Path: C:\Users\Craig\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
One or more errors occurred.
System.AggregateException
    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()
InnerException: System.Net.WebException
The request was aborted: Could not create SSL/TLS secure channel.
    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)

2015-11-06 11:36:31.8165 Error - App: Error
*** Error Report ***
Version: 3.0.5781.0
Command line: C:\Users\Craig\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
Operating system: Microsoft Windows NT 6.2.9200.0
Processor count: 4
64-Bit OS: True
64-Bit Process: False
Program data path: C:\Users\Craig\AppData\Roaming\Emby-Server
Application Path: C:\Users\Craig\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
One or more errors occurred.
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 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__bb.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__b7.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__75.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__23.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__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 MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__c.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__1e.MoveNext()
InnerException: System.Net.WebException
The request was aborted: Could not create SSL/TLS secure channel.
    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)

2015-11-06 11:36:31.8165 Info - App: Sync library to trakt.tv Failed after 0 minute(s) and 0 seconds
2015-11-06 11:36:31.9258 Info - App: HttpClientManager POST: https://api.pushbullet.com/v2/pushes
Edited by MrLinford
Link to comment
Share on other sites

paulsalter

It worked great for me for a long while, then about a couple of months ago it stopped working

 

no one on here or the trakt forum replies to say whether its an app or trakt problem :(

 

EDIT:

my trakt plugin has just been updated, see if it fixes the issue

Edited by paulsalter
Link to comment
Share on other sites

Luis added some fixes for running the plugin on non-windows operating systems. i then added some changes to the http requests to see if it helps with this problem

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