Jump to content

Trakt sync and other update issues


SuperNic

Recommended Posts

SuperNic

  Dear tech, 

since the update to the new version 4.4.3.0 (DSM 6.2.3-25426 and DS1019+), I'm having the following issues:

Sync library to trakt.tv failed

Error: TrustFailure (Authentication failed, see inner exception.)
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x00353] in <4b2b35e458474e708c04b3533f59ad82>:0
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x0009e] in <4b2b35e458474e708c04b3533f59ad82>:0
at Trakt.Api.TraktApi+&lt;&gt;c__DisplayClass34_0.<posttotrakt>b__0 () [0x0007c] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.Api.TraktApi.Retry[T] (System.Func`1[TResult] function) [0x00245] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.Api.TraktApi.PostToTrakt (System.String url, System.Object data, System.Threading.CancellationToken cancellationToken, Trakt.Model.TraktUser traktUser) [0x00252] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.Api.TraktApi.RefreshUserAuth (Trakt.Model.TraktUser traktUser, System.Threading.CancellationToken cancellationToken) [0x00125] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.Api.TraktApi.SetRequestHeaders (MediaBrowser.Common.Net.HttpRequestOptions options, Trakt.Model.TraktUser traktUser, System.Threading.CancellationToken cancellationToken) [0x000c8] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.Api.TraktApi.GetFromTrakt (System.String url, System.Threading.CancellationToken cancellationToken, Trakt.Model.TraktUser traktUser) [0x000f6] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.Api.TraktApi.SendGetAllWatchedMoviesRequest (Trakt.Model.TraktUser traktUser, System.Threading.CancellationToken cancellationToken) [0x0008a] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.ScheduledTasks.SyncLibraryTask.SyncMovies (MediaBrowser.Controller.Entities.User user, Trakt.Model.TraktUser traktUser, Trakt.Helpers.ISplittableProgress`1[T] progress, System.Threading.CancellationToken cancellationToken) [0x000d0] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.ScheduledTasks.SyncLibraryTask.SyncUserLibrary (MediaBrowser.Controller.Entities.User user, Trakt.Model.TraktUser traktUser, Trakt.Helpers.ISplittableProgress`1[T] progress, System.Threading.CancellationToken cancellationToken) [0x00093] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Trakt.ScheduledTasks.SyncLibraryTask.Execute (System.Threading.CancellationToken cancellationToken, System.IProgress`1[T] progress) [0x0014e] in &lt;319a042f62314a96b3ed06ea52bb8d7d&gt;:0
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal (MediaBrowser.Model.Tasks.TaskOptions options) [0x00195] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0 </posttotrakt>

Check for plugin updates failed

Error: TrustFailure (Authentication failed, see inner exception.)
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x00858] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x0009e] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackagesWithoutRegistrationInfo (System.Boolean enableCache, System.Threading.CancellationToken cancellationToken) [0x000da] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePluginUpdates (System.Version applicationVersion, System.Threading.CancellationToken cancellationToken) [0x000a6] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute (System.Threading.CancellationToken cancellationToken, System.IProgress`1[T] progress) [0x000a0] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal (MediaBrowser.Model.Tasks.TaskOptions options) [0x00195] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0

Check for application updates failed

Error: TrustFailure (Authentication failed, see inner exception.)
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x00858] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x001f4] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at MediaBrowser.Common.Updates.GithubUpdater.CheckForUpdateResult (System.String organzation, System.String repository, System.Version minVersion, MediaBrowser.Model.Updates.PackageVersionClass updateLevel, System.String assetFilename, System.String packageName, System.String targetFilename, System.TimeSpan cacheLength, System.Threading.CancellationToken cancellationToken) [0x000f6] in <e30bc54a9b6b4a178546a5ec376a41f9>:0
at Emby.Server.Implementations.ApplicationHost.CheckForApplicationUpdate (System.Threading.CancellationToken cancellationToken, System.IProgress`1[T] progress) [0x00157] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at Emby.Server.Implementations.ScheduledTasks.SystemUpdateTask.Execute (System.Threading.CancellationToken cancellationToken, System.IProgress`1[T] progress) [0x00086] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal (MediaBrowser.Model.Tasks.TaskOptions options) [0x00195] in &lt;4b2b35e458474e708c04b3533f59ad82&gt;:0 </e30bc54a9b6b4a178546a5ec376a41f9>

If you need anything else, please let me know.
Thanks.

Link to comment
Share on other sites

SuperNic
11 hours ago, Luke said:

Hi there, are you running a vpn? Is your Synology dsm up to date?

Hello! As you can see, last DSM version... and no VPN.
The problem started aftern updated to Emby server 4.4.3.0.

Do you need any other info?

Thanks!

Edited by SuperNic
Link to comment
Share on other sites

I'm not sure yet. It seems something is blocking the outgoing connection. But not everyone is experiencing this so that's why it appears environmental.

Link to comment
Share on other sites

  • 2 weeks later...
SuperNic

Very strange, because all started from the Emby server 4.4.3.0 update.

Did you find something? Thanks!

Link to comment
Share on other sites

GadgetComa

I was having a similar issue where Trakt sync would fail. I noticed in the logs a message about an oauth call to trakt causing an error and the server received an 401 unauthorized error (see around 13:14.57 in the attached log). I saw on the Trakt plug-in settings that after you authenticate to Trakt and enter your PIN, the PIN should go away when Emby gets a token, but my PIN was still there. On a whim, I reauthenticated to Trakt, entered the new PIN, then immediately forced the Trakt scheduled sync task to run. It ran successfully and the plug-in has been working ever since. I wonder if Emby isn’t getting the token right away when you set up the plug-in and then the PIN expires?

I hope this helps.

embyserver-63730800001.zip

Link to comment
Share on other sites

SuperNic
27 minutes ago, GadgetComa said:

[...] On a whim, I reauthenticated to Trakt, entered the new PIN, then immediately forced the Trakt scheduled sync task to run. It ran successfully and the plug-in has been working ever since. I wonder if Emby isn’t getting the token right away when you set up the plug-in and then the PIN expires?

I hope this helps.

Thank you, but I did this "procedure" a few times before posting the issue.
Anyway, I hope it helps to solve the problem.

Edited by SuperNic
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...