Jump to content

Emby slow authentication/session sometime lost


Recommended Posts

Posted (edited)

Hello,

Since some days, I have Emby clients/application that lost their session to the server, et when trying to login it's very slow and fail with error.

I have to restart emby-server service, and everything works fine again.

In logs I have found those relevant lines:

 

2021-06-09 11:10:04.322 Error App: Error getting local Ip address information
        *** Error Report ***
        Version: 4.6.2.0
        Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
        Operating system: Linux version 4.19.0-8-amd64 (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 4.19.98-1+deb10u1 (2020-04-27)
        Framework: .NET Core 3.1.13
        OS/Process: x64/x64
        Runtime: opt/emby-server/system/System.Private.CoreLib.dll
        Processor count: 4
        Data path: /var/lib/emby
        Application path: /opt/emby-server/system
        System.OperationCanceledException: System.OperationCanceledException: The operation was canceled.
           at System.Threading.CancellationToken.ThrowOperationCanceledException()
           at System.Threading.SemaphoreSlim.WaitUntilCountOrTimeoutAsync(TaskNode asyncWaiter, Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at Emby.Server.Implementations.ApplicationHost.IsIpAddressValidAsync(IPAddress address, CancellationToken cancellationToken)
           at Emby.Server.Implementations.ApplicationHost.GetLocalIpAddressesInternal(Nullable`1 family, Boolean allowLoopback, Boolean configuredAddressesOnly, Int32 limit, CancellationToken cancellationToken)
           at Emby.Server.Implementations.ApplicationHost.GetLocalApiUrl(CancellationToken cancellationToken)
        Source: System.Private.CoreLib
        TargetSite: Void ThrowOperationCanceledException()

2021-06-09 11:10:04.327 Info Server: http/1.0 Response 500 to 176.186.161.18. Time: 11330ms. 

2021-06-09 11:05:50.070 Info Server: http/1.0 Response 500 to 176.186.161.18. Time: 59453ms. http://emby.shreps.fr/System/Info/Public?X-Emby-Client=Emby 

2021-06-09 11:04:07.605 Info Server: http/1.0 Response 500 to 176.186.161.18. Time: 60723ms. http://emby.shreps.fr/emby/System/Info

My server doesn't have a private IP interface, only a public one, is-it because of this that sometimes Emby fails to retrieve system infos making user login/session crashing?

 

EDIT: I also forgot to mention that I'm using Emby Connect, maybe it's related.

Edited by shr3ps
Posted

Hi there, can you please go over a specific example? Thanks.

Posted
55 minutes ago, Luke said:

Hi there, can you please go over a specific example? Thanks.

If I can re-produce the whole example, yes I will describe it.

Beside that, any clue about the exception I have in logs?

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