Jump to content

Emby server in FreeBSD jail fails to register itself


Henryz
Go to solution Solved by Henryz,

Recommended Posts

Henryz

The installation is done in a FreeBSD jail (running TrueNAS 12 but I don't use the plugin)

I follow the instruction from https://emby.media/freebsd-server.html

Everything works fine until I try to activate premier key. I got an error "Emby Premiere key is missing or invalid."

 I check the server log and notice the server cannot register itself.

Here's the error stack trace I paste from the log

System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: Protocol not supported (www.mb3admin.com:443)
---> System.Net.Sockets.SocketException (43): Protocol not supported
at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
at System.Net.Sockets.Socket..ctor(SocketType socketType, ProtocolType protocolType)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
Source: System.Net.Http
 
I'm able to use Curl to access mb3admin.com so it shouldn't be a network or firewall issue.
 
Any thoughts?
 
Thanks
Link to comment
Share on other sites

  • Solution
Henryz

Issue resolved.

I'd suggest you add this on your FreeBSD installation instruction.

If the emby server is running in Jail, you have to turn on VNET. Otherwise the server can be up running but the registration to mb3admin.com will fail.

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