Jump to content

Running into Error when playing a channel that works outside Emby


Recommended Posts

KingKoopa08
Posted

Below is the error I am running into when trying to play this channel. I can provide a link if needed. I am wondering what is causing this?

 

Quote

2022-04-21 14:51:12.323 Info App: User policy for (user name replaced). EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2022-04-21 14:51:12.324 Info LiveTvManager: Opening channel stream from Emby, external channel Id: m3u_9d28982cdfa4670dbe83fcd69d80e0ec555bbc1333f3cf21048c2a43be61a5e6
2022-04-21 14:51:12.324 Info LiveTV: Streaming Channel m3u_9d28982cdfa4670dbe83fcd69d80e0ec555bbc1333f3cf21048c2a43be61a5e6
2022-04-21 14:51:12.324 Info SharedHttpPipelineSource: Opening SharedHttpPipelineSource Live stream from http://xx.xx.xx.xx:25461/jovNGBjPYq/mU0mZLbasO/39
2022-04-21 14:51:12.324 Info HttpClient: GET http://xx.xx.xx.xx:25461/jovNGBjPYq/mU0mZLbasO/39
2022-04-21 14:51:12.335 Info HttpClient: Http response 403 from http://xx.xx.xx.xx:25461/jovNGBjPYq/mU0mZLbasO/39 after 11ms. HeadersServer=nginx, Date=Thu, 21 Apr 2022 19:51:12 GMT, Connection=close, Access-Control-Allow-Origin=*
2022-04-21 14:51:12.337 Error M3UTunerHost: Error opening tuner
    *** Error Report ***
    Version: 4.6.7.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.15.0-112-generic (buildd@lcy01-amd64-027) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 202
    Framework: .NET Core 3.1.21
    OS/Process: x64/x64
    Runtime: opt/emby-server/system/System.Private.CoreLib.dll
    Processor count: 20
    Data path: /var/lib/emby
    Application path: /opt/emby-server/system
    MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Forbidden
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
       at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
       at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.OpenStream(IDisposable connectionContext, MediaSourceInfo mediaSource, String url, MediaProtocol protocol, CancellationToken cancellationToken, Int32 recursion)
       at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.Open(CancellationToken openCancellationToken)
       at Emby.LiveTV.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
    Source: Emby.Server.Implementations
    TargetSite: Void MoveNext()

 

Posted

Hi there, looks like your provider is rejecting the request and sending back a forbidden response code.

KingKoopa08
Posted

@Luke thank you. I figured that out that was a mess up in my configuration.

I have another error though. This is probably the real one that has been haunting me. Every once in a while I don't get audio when I start up the stream. This is what I see is the logs.

Thoughts?

 

Quote

2022-04-24 18:07:17.517 Info Server: http/1.1 Response 200 to xx.xx.xx.xx. Time: 4ms. http://xx.xx.xx.xx:8096/emby/videos/829808/live.m3u8?DeviceId=8eb0690a-3bad-4182-a91a-98207067ae7e&MediaSourceId=195bfdb7ddcd73b80f8c0ee4bf264d18&PlaySessionId=bc76dc435aa1424f92c95602b1a54d83&LiveStreamId=06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_195bfdb7ddcd73b80f8c0ee4bf264d18&VideoCodec=h264&AudioCodec=mp3,aac&VideoBitrate=6935885&AudioBitrate=64115&AudioStreamIndex=1&TranscodingMaxAudioChannels=2&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&ManifestSubtitles=vtt&h264-profile=high,main,baseline,constrainedbaseline,high10&h264-level=52&TranscodeReasons=ContainerNotSupported
2022-04-24 18:07:17.663 Info Server: http/1.1 GET http://xx.xx.xx.xx:8096/emby/videos/829808/hls/189886/189886_1548.ts. Connection=keep-alive, Accept=*/*, Accept-Encoding=gzip, deflate, Accept-Language=en-US,en;q=0.9, Host=xx.xx.xx.xx:8096, Referer=http://app.emby.media/, User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36, Origin=http://app.emby.media
2022-04-24 18:07:17.669 Info Server: http/1.1 Response 200 to xx.xx.xx.xx. Time: 6ms. http://xx.xx.xx.xx:8096/emby/videos/829808/hls/189886/189886_1548.ts
2022-04-24 18:07:18.870 Error Server: Error processing request
    *** Error Report ***
    Version: 4.6.7.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.15.0-112-generic (buildd@lcy01-amd64-027) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 202
    Framework: .NET Core 3.1.21
    OS/Process: x64/x64
    Runtime: opt/emby-server/system/System.Private.CoreLib.dll
    Processor count: 20
    Data path: /var/lib/emby
    Application path: /opt/emby-server/system
    System.InvalidOperationException: System.InvalidOperationException: Response Content-Length mismatch: too many bytes written (52640113 of 52637823).
       at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ThrowTooManyBytesWritten(Int32 count)
       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 System.IO.Pipelines.PipeWriter.CopyFromAsync(Stream source, CancellationToken cancellationToken)
       at Emby.Server.Implementations.HttpServer.FileWriter.WriteToAsync(IResponse response, CancellationToken cancellationToken)
       at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, 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)

 

Posted
36 minutes ago, KingKoopa08 said:

@Luke thank you. I figured that out that was a mess up in my configuration.

I have another error though. This is probably the real one that has been haunting me. Every once in a while I don't get audio when I start up the stream. This is what I see is the logs.

Thoughts?

 

 

Hi, can you please attach the complete log files from when this happened? Thanks.

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