damien_c2 7 Posted November 3, 2024 Posted November 3, 2024 Hello, few times per month the server display an error and starting to taking 3610981ms per request: 2024-11-02 23:01:48.305 Error Server: Error processing request *** Error Report *** Version: 4.8.8.0 Command line: C:\Users\Administrateur\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp Operating system: Microsoft Windows 10.0.17763 Framework: .NET 6.0.30 OS/Process: x64/x64 Runtime: C:/Users/Administrateur/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll Processor count: 8 Data path: C:\Users\Administrateur\AppData\Roaming\Emby-Server\programdata Application path: C:\Users\Administrateur\AppData\Roaming\Emby-Server\system Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request content. at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Http1ContentLengthMessageBody.ReadAsyncInternal(CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token) at System.IO.Pipelines.PipeReader.CopyToAsyncCore[TStream](TStream destination, Func`4 writeAsync, CancellationToken cancellationToken) at ServiceStack.StreamExtensions.CopyToNewMemoryStreamAsync(Stream stream) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack.Text/src/ServiceStack.Text/StreamExtensions.cs:line 687 at ServiceStack.Text.NetCoreMemory.DeserializeAsync(Stream stream, Type type, DeserializeStringSpanDelegate deserializer) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack.Text/src/ServiceStack.Text/NetCoreMemory.cs:line 175 at Emby.Server.Implementations.Services.ServiceHandler.CreateRequest(HttpListenerHost host, IRequest httpReq, RestPath restPath) 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: Microsoft.AspNetCore.Server.Kestrel.Core TargetSite: Void Throw(Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.RequestRejectionReason) i have put the full log. embyserver-63866188792.txt
Carlo 4561 Posted November 7, 2024 Posted November 7, 2024 You need to look at what was taking place at that time. You were syncing data to an Android Device. You had videos playing on Android and AppleTV which were transcoding. Emby Server received a shutdown command http://host4/System/Restart?api_key=x_secret100_x It started shutting down the ffmpeg processes running, was waiting for playSession info from the clients to mark how much they played. You then got a bunch of 500 errors for playing and syncing These all show one after another buts it's probably just logged this way. The high ms times are probably due to request time received until request logged which would take a while as it was processing the restart.
damien_c2 7 Posted November 12, 2024 Author Posted November 12, 2024 On 11/10/2024 at 8:56 PM, Luke said: Hi, are you using a reverse proxy? Yes
Luke 42078 Posted November 17, 2024 Posted November 17, 2024 On 11/12/2024 at 2:17 PM, damien_c2 said: Yes What reverse proxy are you using?
damien_c2 7 Posted December 18, 2024 Author Posted December 18, 2024 On 11/16/2024 at 7:59 PM, Luke said: What reverse proxy are you using? Im using NGINX.
Luke 42078 Posted December 28, 2024 Posted December 28, 2024 @damien_c2have you taken a look at this?
damien_c2 7 Posted December 28, 2024 Author Posted December 28, 2024 15 minutes ago, Luke said: @damien_c2have you taken a look at this? Yes already.
Luke 42078 Posted December 28, 2024 Posted December 28, 2024 51 minutes ago, damien_c2 said: Yes already. Did you find any differences in your configuration compared to that one?
damien_c2 7 Posted December 29, 2024 Author Posted December 29, 2024 5 hours ago, Luke said: Did you find any differences in your configuration compared to that one? No but i may have find something, i will check if it crash again.
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