SuperNic 4 Posted June 18, 2020 Posted June 18, 2020 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+<>c__DisplayClass34_0.<posttotrakt>b__0 () [0x0007c] in <319a042f62314a96b3ed06ea52bb8d7d>:0 at Trakt.Api.TraktApi.Retry[T] (System.Func`1[TResult] function) [0x00245] in <319a042f62314a96b3ed06ea52bb8d7d>:0 at Trakt.Api.TraktApi.PostToTrakt (System.String url, System.Object data, System.Threading.CancellationToken cancellationToken, Trakt.Model.TraktUser traktUser) [0x00252] in <319a042f62314a96b3ed06ea52bb8d7d>:0 at Trakt.Api.TraktApi.RefreshUserAuth (Trakt.Model.TraktUser traktUser, System.Threading.CancellationToken cancellationToken) [0x00125] in <319a042f62314a96b3ed06ea52bb8d7d>:0 at Trakt.Api.TraktApi.SetRequestHeaders (MediaBrowser.Common.Net.HttpRequestOptions options, Trakt.Model.TraktUser traktUser, System.Threading.CancellationToken cancellationToken) [0x000c8] in <319a042f62314a96b3ed06ea52bb8d7d>:0 at Trakt.Api.TraktApi.GetFromTrakt (System.String url, System.Threading.CancellationToken cancellationToken, Trakt.Model.TraktUser traktUser) [0x000f6] in <319a042f62314a96b3ed06ea52bb8d7d>:0 at Trakt.Api.TraktApi.SendGetAllWatchedMoviesRequest (Trakt.Model.TraktUser traktUser, System.Threading.CancellationToken cancellationToken) [0x0008a] in <319a042f62314a96b3ed06ea52bb8d7d>: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 <319a042f62314a96b3ed06ea52bb8d7d>: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 <319a042f62314a96b3ed06ea52bb8d7d>:0 at Trakt.ScheduledTasks.SyncLibraryTask.Execute (System.Threading.CancellationToken cancellationToken, System.IProgress`1[T] progress) [0x0014e] in <319a042f62314a96b3ed06ea52bb8d7d>:0 at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal (MediaBrowser.Model.Tasks.TaskOptions options) [0x00195] in <4b2b35e458474e708c04b3533f59ad82>: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 <4b2b35e458474e708c04b3533f59ad82>:0 at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x0009e] in <4b2b35e458474e708c04b3533f59ad82>:0 at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackagesWithoutRegistrationInfo (System.Boolean enableCache, System.Threading.CancellationToken cancellationToken) [0x000da] in <4b2b35e458474e708c04b3533f59ad82>:0 at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePluginUpdates (System.Version applicationVersion, System.Threading.CancellationToken cancellationToken) [0x000a6] in <4b2b35e458474e708c04b3533f59ad82>:0 at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute (System.Threading.CancellationToken cancellationToken, System.IProgress`1[T] progress) [0x000a0] in <4b2b35e458474e708c04b3533f59ad82>:0 at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal (MediaBrowser.Model.Tasks.TaskOptions options) [0x00195] in <4b2b35e458474e708c04b3533f59ad82>: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 <4b2b35e458474e708c04b3533f59ad82>:0 at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x001f4] in <4b2b35e458474e708c04b3533f59ad82>: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 <4b2b35e458474e708c04b3533f59ad82>:0 at Emby.Server.Implementations.ScheduledTasks.SystemUpdateTask.Execute (System.Threading.CancellationToken cancellationToken, System.IProgress`1[T] progress) [0x00086] in <4b2b35e458474e708c04b3533f59ad82>:0 at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal (MediaBrowser.Model.Tasks.TaskOptions options) [0x00195] in <4b2b35e458474e708c04b3533f59ad82>:0 </e30bc54a9b6b4a178546a5ec376a41f9> If you need anything else, please let me know. Thanks.
Luke 38491 Posted June 21, 2020 Posted June 21, 2020 Hi there, are you running a vpn? Is your Synology dsm up to date?
SuperNic 4 Posted June 21, 2020 Author Posted June 21, 2020 (edited) 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 June 21, 2020 by SuperNic
Luke 38491 Posted June 26, 2020 Posted June 26, 2020 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.
SuperNic 4 Posted July 9, 2020 Author Posted July 9, 2020 Very strange, because all started from the Emby server 4.4.3.0 update. Did you find something? Thanks!
GadgetComa 4 Posted July 20, 2020 Posted July 20, 2020 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
SuperNic 4 Posted July 20, 2020 Author Posted July 20, 2020 (edited) 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 July 20, 2020 by SuperNic
SuperNic 4 Posted July 23, 2020 Author Posted July 23, 2020 @Luke, problem solved installing the beta version (Beta x64: https://github.com/MediaBrowser/Emby.Releases/releases/download/4.5.0.14/emby-server-synology_4.5.0.14_x86_64.spk). Thanks!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now