Jump to content

Plugins Catalog not loading


Go to solution Solved by chizz44,

Recommended Posts

Posted

I had to rebuild my server last night to recover from a corrupted database. I'm now running stable on version 4.7.14.0, Truenas Core Release 13.1-RELEASE-p9.

I was having an issue where my TV Guide data wouldn't populate. I have Emby Premiere and my key says it's valid.

I tried deleting the Emby Guide plugin, thinking I could reinstall it  from the catalog, but it won't load, my server log is attached.

embyserver.txt

Posted
InnerException: System.Security.Authehttps://emby.media/blog.xmlntication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: PartialChain

Looks like an invalid certificate.

I'm on FreeBSD as well and can't load Plugins either. But my error seems way more general:

   System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Connection reset by peer (www.mb3admin.com:443)
         ---> System.Net.Sockets.SocketException (54): Connection reset by peer
           at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
           at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
           at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
           at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, 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.Server.Implementations.Updates.InstallationManager.GetAvailablePackagesWithoutRegistrationInfo(Boolean enableCache, CancellationToken cancellationToken)
           at Emby.Server.Implementations.Updates.InstallationManager.GetAvailablePackages(CancellationToken cancellationToken, Boolean withRegistration, String packageType, Version applicationVersion)
           at Emby.Api.PackageService.Get(GetPackages request)
           at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
           at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost httpHost, IServerApplicationHost appHost, IRequest httpReq, IResponse httpRes, IStreamHelper streamHelper, 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.Net.Sockets.SocketException: Connection reset by peer
        Source: System.Net.Sockets
        TargetSite: Void ThrowException(System.Net.Sockets.SocketError, System.Threading.CancellationToken)
           at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
           at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
           at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
           at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)

 

Posted

Yeah I saw that reference to the certificate chain in the log, but have no clue how to fix it.

Posted

Hi, are you still having an issue with this?

Posted

Yes I am. I was going to spin up a new jail, install Emby and try to get a new copy of the Emby Guide plugin, but I really don't want to do that.

I'd like to resolve the catalog error, any thoughts based on the log I attached?

  • Solution
Posted (edited)

I resolved this by running "pkg install ca_root_nss" in my Truenas jail. I was able to reinstall the Emby Guide plugin and get my guide data back!

Edited by chizz44
  • Like 1
  • Thanks 3
Posted
2 hours ago, chizz44 said:

I resolved this by running "pkg install ca_root_nss" in my Truenas jail. I was able to reinstall the Emby Guide plugin and get my guide data back!

Thanks for following up !

  • 4 weeks later...
Posted

Thank you for posting fix.  Worked for me in same situation. 

  • Thanks 1
  • 2 months later...
Insanity_Pants
Posted
On 18/10/2023 at 17:17, chizz44 said:

I resolved this by running "pkg install ca_root_nss" in my Truenas jail. I was able to reinstall the Emby Guide plugin and get my guide data back!

Thank you so much for this info. I was having exactly the same issue, and this fixed it for me. 👍

  • Thanks 1
  • 1 year later...
DiogoFeitosa11
Posted

Ola a todos, consegui resolver desta forma:

Último Recurso: Desativar IPv6

Se nada acima funcionar, tente desativar o IPv6 (caso seu servidor esteja tentando usar ele e falhando).

Edite o arquivo de configuração:

sudo nano /etc/sysctl.conf

 

 

2️Adicione essas linhas no final:
 

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1

 

Salve (CTRL+X, Y, Enter) e aplique:

 

sudo sysctl -p

Agora, teste novamente:

 

wget https://www.mb3admin.com/admin/service/EmbyPackages.json

 

perceba que o catalogo vai funcionar novamente!

 

 
 
  • Thanks 1

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