Jump to content

Recommended Posts

Tormund
Posted

Hi everyone,

I'm experiencing some issues with my Emby Media Server (version 4.8.10.0) running on Ubuntu 22.04. The server is constantly throwing 500 errors with the following error message:

025-02-08 18:44:49.682 Error Server: Error processing request
	*** Error Report ***
	Version: 4.8.10.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 5.15.0-131-generic (buildd@lcy02-amd64-057) (gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #141-Ubun
	Framework: .NET 6.0.31
	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
	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)
	
2025-02-08 18:44:49.682 Info Server: http/1.1 Response 500 to host10. Time: 89728ms. POST http://emby_remote_ip:8096/emby/Sessions/Playing/Progress
2025-02-08 18:44:50.103 Info App: Sqlite: 284 - automatic index on LastWatchedEpisodes(SeriesPresentationUniqueKey)

 

After 1845 Emby-server service dead.

os-release:

NAME="Linux Mint"
VERSION="21.3 (Virginia)"
ID=linuxmint
ID_LIKE="ubuntu debian"
PRETTY_NAME="Linux Mint 21.3"
VERSION_ID="21.3"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.linuxmint.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=virginia
UBUNTU_CODENAME=jammy

I attached the full report.

 

I really appreciate assistance to solve it.

Many thanks.

 

embyserver-63874637613.txt

Posted

Hi, please try removing these plugins:

2025-02-08 15:34:38.119 Info App: Loading EpMetaRefresh, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/EpMetaRefresh.dll
2025-02-08 15:34:38.119 Info App: Loading playback_reporting, Version=2.1.0.5, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/playback_reporting.dll
2025-02-08 15:34:38.119 Info App: Loading DiskSpace, Version=1.0.6.4, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/DiskSpace.dll
2025-02-08 15:34:38.119 Info App: Loading statistics, Version=3.3.1.1, Culture=neutral, PublicKeyToken=null from /var/lib/emby/plugins/Statistics.dll

Then restart the server and see how things compare. Thanks.

Tormund
Posted

OK, all remove it, I will inform if fail again.

Many thanks Luke.

  • Thanks 1
Tormund
Posted

Good evening,

I remove all plugins you advice me but today crash again at 1933. I attached the full log.

Many thanks.

embyserver-63874726442.txt

Tormund
Posted

any advice, the problem persist...

Many thanks.

Posted

Hi, there's nothing obvious here. Do you have the realtime monitor enabled on any of your libraries? if so you could try turning that off and restarting the server.

  • 2 weeks later...
Tormund
Posted

HI Luke,  no more crash since I remove all the plugins.

Many thanks.

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