adispi 2 Posted March 2, 2023 Posted March 2, 2023 when i try to update (menual or automatically) the metadata and images of anythin in emby i get the following error: 2023-03-02 08:04:03.561 Error Server: Error processing request *** Error Report *** Version: 4.7.11.0 Command line: AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.22621 Framework: .NET 6.0.10 OS/Process: x64/x64 Runtime: AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 12 Data path: AppData\Roaming\Emby-Server\programdata Application path:AppData\Roaming\Emby-Server\system System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. ---> System.Security.Authentication.AuthenticationException: Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) --- End of inner exception stack trace --- at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod) at Emby.Api.Images.RemoteImageService.DownloadImage(String url, Guid urlHash, String pointerCachePath) at Emby.Api.Images.RemoteImageService.Get(GetRemoteImage request) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Security.Authentication.AuthenticationException: Authentication failed because the remote party sent a TLS alert: 'HandshakeFailure'. Source: System.Net.Security TargetSite: Void MoveNext() at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthenticationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream stream, CancellationToken cancellationToken) InnerException: System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted. Source: TargetSite:
Abobader 3464 Posted March 2, 2023 Posted March 2, 2023 Hello adispi, ** This is an auto reply ** Please wait for someone from staff support or our members to reply to you. It's recommended to provide more info, as it explain in this thread: Thank you. Emby Team
Luke 42080 Posted March 2, 2023 Posted March 2, 2023 Hi there @adispi please attach the complete emby server log file. Thanks !
Happy2Play 9782 Posted March 2, 2023 Posted March 2, 2023 "HandshakeFailure" suggests a host cypher suite issue. Have you adjusted the security on this machine? What OS version?
adispi 2 Posted March 3, 2023 Author Posted March 3, 2023 https://pastebin.com/DUcGwKEk is this enough of the log? the OS in windows 11. i have not changed any security feature except normal windows update.
Happy2Play 9782 Posted March 3, 2023 Posted March 3, 2023 Are you using a VPN? But still looks like a TLS 1.2 issue. Haven't tested on a clean install of Windows 11 in a while but can you try something like IISCrypto to set the client/server requirements?
adispi 2 Posted March 4, 2023 Author Posted March 4, 2023 i do not use VPN. IISCrypto is for IIS security settings, no?, and i do not think emby is using IIS...
seanbuff 1318 Posted March 4, 2023 Posted March 4, 2023 34 minutes ago, adispi said: IISCrypto is for IIS security settings, no?, and i do not think emby is using IIS... Despite the name, IIS Crypto is used to enable/disable various protocols and re-order TLS cipher suite in your Windows OS. Typically in the past when we've seen 'HandshakeFailure' errors, it's caused by external providers complaining about deprecated TLS cipher suites in older versions of Windows. Not seen it in Windows 11 however. 1
adispi 2 Posted March 10, 2023 Author Posted March 10, 2023 after some checking, this only happens with themoviedb plugin. thetvdb works with no issues. is there a replacement i can use that is not using TMDB?
seanbuff 1318 Posted March 10, 2023 Posted March 10, 2023 6 minutes ago, adispi said: is there a replacement i can use that is not using TMDB? Replacement what? Have you tried just disabling 'TheMovieDB' as a metadata fetcher for your library?
adispi 2 Posted March 10, 2023 Author Posted March 10, 2023 yes, but then i have nothing else to search for metadata. metadata is working, it is just the images from TMDB that is showing the SSL error.
seanbuff 1318 Posted March 10, 2023 Posted March 10, 2023 6 minutes ago, adispi said: yes, but then i have nothing else to search for metadata. metadata is working, it is just the images from TMDB that is showing the SSL error. Images are separate:
adispi 2 Posted March 10, 2023 Author Posted March 10, 2023 thank you. i added fanart and removed TMDB from images and it is working again. thanks. 1
Happy2Play 9782 Posted March 10, 2023 Posted March 10, 2023 That is good but potentially a matter of time if this is a TLS issue on that system.
adispi 2 Posted March 10, 2023 Author Posted March 10, 2023 it is not a certificate issue on the system, just in the TMDB plugin of emby. everything else is working perfectly, and i can download the images from TMDB manually with no issues on the same system. and IIScrypto shows that all settings are active.
Happy2Play 9782 Posted March 10, 2023 Posted March 10, 2023 All I can say is TMDB works fine here on multiple Windows 11 systems and can only make it fail changing TLS/cipher suites to get "HandshakeFailure".
Luke 42080 Posted March 14, 2023 Posted March 14, 2023 Hi, has this helped? Are you still having an issue with this?
adispi 2 Posted March 15, 2023 Author Posted March 15, 2023 TMDB plugin is getting metadata, including desc and player list and all, but fails to fetch images due to certificate error. in the same computer i can open a browser, go to TMDB and download said image, and upload manually to emby with no issues. removing TMDB from images and adding fanart has been a good enough workaround as it can replace about 90% of the missing images. it is not perfect. bet as i do not know how and what to do to fix it, it is a good workaround. 1
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