Jump to content

Update checks should use Happy Eyeballs, or other fallback.


Napsterbater

Recommended Posts

Napsterbater

Emby checks with www.mb3admin.com for updates, which is ofcourse dual stacked with IPv4 and IPv6 (awesome BTW). But if there is a IPv6 connectivity/routing issue it will simply fail/timeout, even if IPv4 connectivity/routing is ok, this can affect users with ISPs with poor IPv6 stability.

 

With happy eyeballs Emby can try both and use witch ever works first, or there could be even simpler logic to try any/all addresses received for the quarried FQDN (www.mb3admin.com in this case) if there was a failure/timeout.

 

https://en.wikipedia.org/wiki/Happy_Eyeballs

Connection to https://www.mb3admin.com/admin/service/EmbyPackages.json timed out
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.GetAvailablePluginUpdates(Version applicationVersion, CancellationToken cancellationToken)
at Emby.Server.Implementations.ScheduledTasks.PluginUpdateTask.Execute(CancellationToken cancellationToken, IProgress`1 progress)
at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

 

 

  • Like 1
Link to comment
Share on other sites

schmitty

Hi yes this makes sense. Thanks.

I believe this could perhaps be an issue for ISP’s rolling out CGNAT too.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

  • 1 year later...
Napsterbater
On 2/27/2019 at 9:17 AM, Luke said:

Hi yes this makes sense. Thanks.

Any update?

Seems this also affects plugins and such when searching for metadata.

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