jriker1 20 Posted September 30, 2021 Posted September 30, 2021 This ever get resolved? Got loads of this 2021-09-29 04:08:32.886 Error HttpClient: Error getting response from https://musicbrainz.emby.tv/ws/2/release/?query="Magazines+or+Novels" AND artist:"Andy+Grammer" *** Error Report *** Version: 4.6.4.0 Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.14393 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\jriker\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, see inner exception. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. Source: System.Private.CoreLib TargetSite: Void Throw() at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) InnerException: System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted. Source: TargetSite: 2021-09-29 04:08:32.889 Error App: Error in MusicBrainz *** Error Report *** Version: 4.6.4.0 Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.14393 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\jriker\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, see inner exception. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, 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 MusicBrainz.MusicBrainzAlbumProvider.GetMusicBrainzResponse(String url, Boolean isSearch, Boolean forceMusicBrainzProper, CancellationToken cancellationToken) at MusicBrainz.MusicBrainzAlbumProvider.GetSearchResults(AlbumInfo searchInfo, CancellationToken cancellationToken) at MusicBrainz.MusicBrainzAlbumProvider.GetMetadata(AlbumInfo id, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(BaseItem originalItem, MetadataResult`1 temp, LibraryOptions libraryOptions, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. Source: System.Private.CoreLib TargetSite: Void Throw() at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) InnerException: System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted. Source: TargetSite: If I take the query being sent and open it myself I get: This XML file does not appear to have any style information associated with it. The document tree is shown below. <metadata xmlns="http://musicbrainz.org/ns/mmd-2.0#" xmlns:ns2="http://musicbrainz.org/ns/ext#-2.0" created="2021-09-30T00:00:45.572Z"> <release-list count="5" offset="0"> <release id="34cda38d-3d70-407f-aed7-d50264716318" ns2:score="100"> <title>Magazines or Novels</title> <status id="4e304316-386d-3409-af2e-78857eec5cfe">Official</status> <text-representation> <language>eng</language> <script>Latn</script> </text-representation> <artist-credit> <name-credit> <name>Andy Grammer</name> <artist id="9e60ea29-9607-4f7d-aa96-2092ef41f0d3"> <name>Andy Grammer</name> <sort-name>Grammer, Andy</sort-name> </artist> </name-credit> </artist-credit> <release-group id="413af822-7dcc-40d5-a4ef-3cbf507ecb07" type="Album" type-id="f529b476-6e62-324f-b0aa-1f3e33d313fc"> <title>Magazines or Novels</title> <primary-type id="f529b476-6e62-324f-b0aa-1f3e33d313fc">Album</primary-type> </release-group> <date>2014-08-05</date> <country>US</country> <release-event-list> <release-event> <date>2014-08-05</date> <area id="489ce91b-6658-3307-9877-795b68554c98"> <name>United States</name> <sort-name>United States</sort-name> <iso-3166-1-code-list> <iso-3166-1-code>US</iso-3166-1-code> </iso-3166-1-code-list> </area> </release-event> </release-event-list> <barcode>807315160524</barcode> <asin>B00LBU7X62</asin> <label-info-list> <label-info> <catalog-number>8073151605</catalog-number> <label id="508797d9-e5c3-4376-be2e-30b3bb58eca7"> <name>S‐Curve Records</name> </label> </label-info> </label-info-list> <medium-list count="1"> <track-count>11</track-count> <medium> <format>CD</format> <disc-list count="1"/> <track-list count="11"/> </medium> </medium-list> <tag-list/> </release> <release id="89aa9481-3d69-4e15-a74c-2afe47ffb38a" ns2:score="100"> <title>Magazines or Novels</title> <status id="4e304316-386d-3409-af2e-78857eec5cfe">Official</status> <packaging id="119eba76-b343-3e02-a292-f0f00644bb9b">None</packaging> <text-representation> <language>eng</language> <script>Latn</script> </text-representation> <artist-credit> <name-credit> <name>Andy Grammer</name> <artist id="9e60ea29-9607-4f7d-aa96-2092ef41f0d3"> <name>Andy Grammer</name> <sort-name>Grammer, Andy</sort-name> </artist> </name-credit> </artist-credit> <release-group id="413af822-7dcc-40d5-a4ef-3cbf507ecb07" type="Album" type-id="f529b476-6e62-324f-b0aa-1f3e33d313fc"> <title>Magazines or Novels</title> <primary-type id="f529b476-6e62-324f-b0aa-1f3e33d313fc">Album</primary-type> </release-group> <date>2015-10-09</date> <country>XW</country> <release-event-list> <release-event> <date>2015-10-09</date> <area id="525d4e18-3d00-31b9-a58b-a146a916de8f"> <name>[Worldwide]</name> <sort-name>[Worldwide]</sort-name> <iso-3166-1-code-list> <iso-3166-1-code>XW</iso-3166-1-code> </iso-3166-1-code-list> </area> </release-event> </release-event-list> <barcode>886445290202</barcode> <label-info-list> <label-info> <label id="c62e3985-6370-446a-bfb8-f1f6122e9c33"> <name>Arista</name> </label> </label-info> </label-info-list> <medium-list count="1"> <track-count>13</track-count> <medium> <format>Digital Media</format> <disc-list count="0"/> <track-list count="13"/> </medium> </medium-list> <tag-list/> </release> <release id="865c5f60-31ea-4c23-8317-7cfd12d06f54" ns2:score="100"> <title>Magazines or Novels</title> <status id="4e304316-386d-3409-af2e-78857eec5cfe">Official</status> <text-representation> <language>eng</language> </text-representation> <artist-credit> <name-credit> <name>Andy Grammer</name> <artist id="9e60ea29-9607-4f7d-aa96-2092ef41f0d3"> <name>Andy Grammer</name> <sort-name>Grammer, Andy</sort-name> </artist> </name-credit> </artist-credit> <release-group id="413af822-7dcc-40d5-a4ef-3cbf507ecb07" type="Album" type-id="f529b476-6e62-324f-b0aa-1f3e33d313fc"> <title>Magazines or Novels</title> <primary-type id="f529b476-6e62-324f-b0aa-1f3e33d313fc">Album</primary-type> </release-group> <date>2014</date> <country>US</country> <release-event-list> <release-event> <date>2014</date> <area id="489ce91b-6658-3307-9877-795b68554c98"> <name>United States</name> <sort-name>United States</sort-name> <iso-3166-1-code-list> <iso-3166-1-code>US</iso-3166-1-code> </iso-3166-1-code-list> </area> </release-event> </release-event-list> <medium-list count="1"> <track-count>12</track-count> <medium> <format>CD</format> <disc-list count="0"/> <track-list count="12"/> </medium> </medium-list> <tag-list/> </release> <release id="1e53d1b7-f81f-476c-9fcc-c518f2726b13" ns2:score="100"> <title>Magazines or Novels</title> <status id="4e304316-386d-3409-af2e-78857eec5cfe">Official</status> <disambiguation>Target exclusive edition</disambiguation> <packaging id="ec27701a-4a22-37f4-bfac-6616e0f9750a">Jewel Case</packaging> <text-representation> <language>eng</language> <script>Latn</script> </text-representation> <artist-credit> <name-credit> <name>Andy Grammer</name> <artist id="9e60ea29-9607-4f7d-aa96-2092ef41f0d3"> <name>Andy Grammer</name> <sort-name>Grammer, Andy</sort-name> </artist> </name-credit> </artist-credit> <release-group id="413af822-7dcc-40d5-a4ef-3cbf507ecb07" type="Album" type-id="f529b476-6e62-324f-b0aa-1f3e33d313fc"> <title>Magazines or Novels</title> <primary-type id="f529b476-6e62-324f-b0aa-1f3e33d313fc">Album</primary-type> </release-group> <date>2015-05</date> <country>US</country> <release-event-list> <release-event> <date>2015-05</date> <area id="489ce91b-6658-3307-9877-795b68554c98"> <name>United States</name> <sort-name>United States</sort-name> <iso-3166-1-code-list> <iso-3166-1-code>US</iso-3166-1-code> </iso-3166-1-code-list> </area> </release-event> </release-event-list> <barcode>807315160623</barcode> <label-info-list> <label-info> <label id="508797d9-e5c3-4376-be2e-30b3bb58eca7"> <name>S‐Curve Records</name> </label> </label-info> </label-info-list> <medium-list count="1"> <track-count>13</track-count> <medium> <format>CD</format> <disc-list count="1"/> <track-list count="13"/> </medium> </medium-list> <tag-list/> </release> <release id="adff2b43-58e6-4542-9504-26596b655833" ns2:score="100"> <title>Magazines or Novels</title> <status id="4e304316-386d-3409-af2e-78857eec5cfe">Official</status> <disambiguation>deluxe edition</disambiguation> <packaging id="119eba76-b343-3e02-a292-f0f00644bb9b">None</packaging> <text-representation> <language>eng</language> <script>Latn</script> </text-representation> <artist-credit> <name-credit> <name>Andy Grammer</name> <artist id="9e60ea29-9607-4f7d-aa96-2092ef41f0d3"> <name>Andy Grammer</name> <sort-name>Grammer, Andy</sort-name> </artist> </name-credit> </artist-credit> <release-group id="413af822-7dcc-40d5-a4ef-3cbf507ecb07" type="Album" type-id="f529b476-6e62-324f-b0aa-1f3e33d313fc"> <title>Magazines or Novels</title> <primary-type id="f529b476-6e62-324f-b0aa-1f3e33d313fc">Album</primary-type> </release-group> <date>2015-11-20</date> <country>US</country> <release-event-list> <release-event> <date>2015-11-20</date> <area id="489ce91b-6658-3307-9877-795b68554c98"> <name>United States</name> <sort-name>United States</sort-name> <iso-3166-1-code-list> <iso-3166-1-code>US</iso-3166-1-code> </iso-3166-1-code-list> </area> </release-event> </release-event-list> <barcode/> <asin>B017757K08</asin> <label-info-list> <label-info> <label id="508797d9-e5c3-4376-be2e-30b3bb58eca7"> <name>S‐Curve Records</name> </label> </label-info> </label-info-list> <medium-list count="1"> <track-count>16</track-count> <medium> <format>CD</format> <disc-list count="0"/> <track-list count="16"/> </medium> </medium-list> <tag-list/> </release> </release-list> </metadata> So seems like it's returning data. Is Emby reading it wrong since it's complaining about being badly formatted?
Happy2Play 9783 Posted September 30, 2021 Posted September 30, 2021 32 minutes ago, jriker1 said: This ever get resolved? Got loads of this 2021-09-29 04:08:32.886 Error HttpClient: Error getting response from https://musicbrainz.emby.tv/ws/2/release/?query="Magazines+or+Novels" AND artist:"Andy+Grammer" *** Error Report *** Version: 4.6.4.0 Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.14393 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\jriker\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, see inner exception. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. Source: System.Private.CoreLib TargetSite: Void Throw() at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) InnerException: System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted. Source: TargetSite: 2021-09-29 04:08:32.889 Error App: Error in MusicBrainz *** Error Report *** Version: 4.6.4.0 Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.14393 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\jriker\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, see inner exception. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, 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 MusicBrainz.MusicBrainzAlbumProvider.GetMusicBrainzResponse(String url, Boolean isSearch, Boolean forceMusicBrainzProper, CancellationToken cancellationToken) at MusicBrainz.MusicBrainzAlbumProvider.GetSearchResults(AlbumInfo searchInfo, CancellationToken cancellationToken) at MusicBrainz.MusicBrainzAlbumProvider.GetMetadata(AlbumInfo id, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(BaseItem originalItem, MetadataResult`1 temp, LibraryOptions libraryOptions, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. Source: System.Private.CoreLib TargetSite: Void Throw() at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) InnerException: System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted. Source: TargetSite: If I take the query being sent and open it myself I get: So seems like it's returning data. Is Emby reading it wrong since it's complaining about being badly formatted? I am not seeing any errors connecting to Emby Musicbrainz mirror. Since these are connection errors are you using a proxy or vpn? Spoiler 2021-09-29 17:33:21.434 Debug App: Running MusicBrainzAlbumProvider for Reanimation 2021-09-29 17:33:21.438 Debug App: Throttling MusicBrainz by 250ms 2021-09-29 17:33:21.715 Info HttpClient: GET https://musicbrainz.emby.tv/ws/2/release/?query=reid:4e260eae-dd08-35c0-874e-821dfd05bb84 2021-09-29 17:33:22.133 Debug App: Running AudioDbAlbumProvider for Reanimation 2021-09-29 17:33:22.151 Debug App: Running MusicAlbumImageProvider for Reanimation 2021-09-29 17:33:22.162 Debug ProviderManager: Saving image to C:\Users\Media\Desktop\Stable\programdata\metadata\musicalbums\Reanimation-musicbrainzalbum-4e260eae-dd08-35c0-874e-821dfd05bb84\folder.jpg 2021-09-29 17:33:22.168 Debug App: Running BaseGenreCleaner for Reanimation 2021-09-29 17:33:22.169 Debug App: Running MusicBrainzImageProvider for Reanimation 2021-09-29 17:33:22.173 Info HttpClient: GET http://coverartarchive.org/release/4e260eae-dd08-35c0-874e-821dfd05bb84 2021-09-29 17:33:22.851 Debug App: Saving nfo metadata for Reanimation to C:\Users\Media\Desktop\Videos\Music - emby metadata\Linkin Park\Linkin Park - Reanimation (2002)\album.nfo.
Luke 42081 Posted September 30, 2021 Posted September 30, 2021 Hi @jriker1, I don't think the scan is stuck. I would just be patient and allow it to finish. Please let us know if this helps. Thanks.
Carlo 4561 Posted September 30, 2021 Posted September 30, 2021 @jriker1 What security software are you running on this machine? Are you using a VPN to run the server through? How about your router? If so turn these off for testing and try to rescan to see if the SSL errors stop.
jriker1 20 Posted September 30, 2021 Author Posted September 30, 2021 Perhaps should have started a new thread as it's not stuck for me. Just getting the above errors and matched some that was in this thread. No VPN. Seemed to me like it may be downloading right but the processing was having an issue. When I see "The message received was unexpected or badly formatted." makes me think the code doesn't like something it's receiving. Guess it could be an SSL issue, just though it sounded like data it didn't like.
jriker1 20 Posted October 1, 2021 Author Posted October 1, 2021 5 hours ago, Luke said: are you still seeing this happen? Yep, 2021-10-01 04:07:12.432 Info HttpClient: GET https://musicbrainz.emby.tv/ws/2/release/?query="Magazines+or+Novels" AND artist:"Andy+Grammer" 2021-10-01 04:07:12.580 Error HttpClient: Error getting response from https://musicbrainz.emby.tv/ws/2/release/?query="Magazines+or+Novels" AND artist:"Andy+Grammer" *** Error Report *** Version: 4.6.4.0 Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.14393 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\jriker\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, see inner exception. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task`1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. Source: System.Private.CoreLib TargetSite: Void Throw() at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) InnerException: System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted. Source: TargetSite: 2021-10-01 04:07:12.607 Error App: Error in MusicBrainz *** Error Report *** Version: 4.6.4.0 Command line: C:\Users\jriker\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.14393 Framework: .NET Core 3.1.13 OS/Process: x64/x64 Runtime: C:/Users/jriker/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 24 Data path: C:\Users\jriker\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\jriker\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, see inner exception. ---> System.ComponentModel.Win32Exception (0x80090326): The message received was unexpected or badly formatted. --- End of inner exception stack trace --- at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, 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 MusicBrainz.MusicBrainzAlbumProvider.GetMusicBrainzResponse(String url, Boolean isSearch, Boolean forceMusicBrainzProper, CancellationToken cancellationToken) at MusicBrainz.MusicBrainzAlbumProvider.GetSearchResults(AlbumInfo searchInfo, CancellationToken cancellationToken) at MusicBrainz.MusicBrainzAlbumProvider.GetMetadata(AlbumInfo id, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(BaseItem originalItem, MetadataResult`1 temp, LibraryOptions libraryOptions, String logName, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken) Source: System.Net.Http TargetSite: Void MoveNext() InnerException: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. Source: System.Private.CoreLib TargetSite: Void Throw() at System.Net.Security.SslStream.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslStream.PartialFrameCallback(AsyncProtocolRequest asyncRequest) --- End of stack trace from previous location where exception was thrown --- at System.Net.Security.SslStream.EndProcessAuthentication(IAsyncResult result) 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.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) InnerException: System.ComponentModel.Win32Exception: The message received was unexpected or badly formatted. Source: TargetSite:
Luke 42081 Posted October 1, 2021 Posted October 1, 2021 Is Windows fully up to date? Try ensuring that all available windows updates are installed.
Happy2Play 9783 Posted October 1, 2021 Posted October 1, 2021 14 minutes ago, Luke said: Is Windows fully up to date? Try ensuring that all available windows updates are installed. Since this would appear to be a old Windows 10 install could this be a factor? Operating system: Microsoft Windows 10.0.14393 EOL April 10, 2018 1
Luke 42081 Posted October 1, 2021 Posted October 1, 2021 Just now, Happy2Play said: Since this would appear to be a old Windows 10 install could this be a factor? Operating system: Microsoft Windows 10.0.14393 EOL April 10, 2018 If it hasn't been updated since then, yes. 1
jriker1 20 Posted October 2, 2021 Author Posted October 2, 2021 (edited) The operating system is not Windows 10. The version is accurate but this is Windows 2016 Server not 10. I'm updating what I can though. Note OS is now up to date but the above version number hasn't changed so were just minor updates. Edited October 2, 2021 by jriker1
jriker1 20 Posted October 9, 2021 Author Posted October 9, 2021 On 10/3/2021 at 2:10 PM, Luke said: Are you still running into this? Yep, page after page of these errors. Not sure what it's about visually anyway but logs are full of them.
Happy2Play 9783 Posted October 9, 2021 Posted October 9, 2021 But the question I would have is what is deficient on this platform as we all should see this error if it were a global issue. My have to do a test on a vm server 2016 to see if I get the same results, should be able to do it tomorrow.
Luke 42081 Posted October 9, 2021 Posted October 9, 2021 4 hours ago, Happy2Play said: My have to do a test on a vm server 2016 to see if I get the same results, should be able to do it tomorrow. That would be great, thanks.
Happy2Play 9783 Posted October 9, 2021 Posted October 9, 2021 13 hours ago, Luke said: That would be great, thanks. I did a vm install of Server 2016 and had no issue with musicbrainz. This is before any updates were done, will let all updates complete and see if I have any issues.
Luke 42081 Posted October 9, 2021 Posted October 9, 2021 That's interesting. I would say his issue is either due to VPN usage, or the certificate store in Windows is out of date for some reason.
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