Jump to content

Live TV freezes with black screen after 20 minutes


Recommended Posts

Kcircuit
Posted

As per the title, recently updated to 4.8.11.0 and sometimes when watching live tv the screen on my device will just go blank and go back to the tv guide.

I can see this error in the event log which looks suspicious, I'm watching the stream on an android phone.
Is it the provider or the server, i can see the ffmpeg log has some errors at the end of the log, it could be getting poor data.
Any suggestions ? Thanks

 

2025-03-14 19:08:30.042 Error Server: Error processing request
    *** Error Report ***
    Version: 4.8.11.0
    Command line: C:\Users\Admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
    Operating system: Microsoft Windows 10.0.19045
    Framework: .NET 6.0.36
    OS/Process: x64/x64
    Runtime: C:/Users/Admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
    Processor count: 8
    Data path: C:\Users\Admin\AppData\Roaming\Emby-Server\programdata
    Application path: C:\Users\Admin\AppData\Roaming\Emby-Server\system
    System.InvalidOperationException: System.InvalidOperationException: Response Content-Length mismatch: too many bytes written (3612277 of 3610711).
       at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.VerifyAndUpdateWrite(Int32 count)
       at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.Advance(Int32 bytes)
       at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpResponsePipeWriter.Advance(Int32 bytes)
       at Emby.Server.Implementations.IO.StreamHelper.CopyToAsync(Stream source, PipeWriter destination, Int32 bufferSize, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.FileWriter.WriteToAsync(IResponse response, CancellationToken cancellationToken)
       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 ThrowTooManyBytesWritten(Int32)

 

embyserver (14).txt ffmpeg-transcode-a11bc8fa-d49a-48dd-8872-c1aa233d2d85_1 (1).txt

Kcircuit
Posted

I was just testing this by watching the stream on my android phone and Chrome on my PC at the same time and the phone froze and stopped but chrome continues to play on the pc.
Both are transcoding to reduce bitrate as I'm remote.

Posted

Hi, what is your live tv source, iptv? You can see right in your log, at some point during the stream your provider starts sending back 404 not found responses:

2025-03-14 19:07:07.576 Info HttpClient: Http response 404 from http://host11/x_path18_x/x_path19_x after 401ms. Headers Server=nginx, Date=Fri, 14 Mar 2025 08:07:09 GMT, Connection=close, Access-Control-Allow-Origin=*

It's almost as if the stream url changes right in the middle of it?

Kcircuit
Posted

Hummm I see, that's potentially a problem.

It was just strange the stream on the android app would stop but the chrome webpage would continue.

 

I'll continue to monitor and investigate the logs again when it happens, 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...