MeRLin# 0 Posted February 15 Share Posted February 15 Attached is a log file . I was recording a livestream program and the recording was stopped prior to the end of the program. There are two error messages in the log that I believe may explain why the recording stream was closed prior to the end of the program. I don't really understand what the errors are, so if someone could interpret it for me, that would be helpful. I have also excerpted what I think are the relevant lines from the attached complete log file. Thanks to anyone who can help me understand if I can do anything to prevent recording drops. 2024-02-15 09:58:00.000 Info LiveTV: Recording timer fired for abf55831c875453d8bc2a7c20cbf06fb Live: Tour of the Algarve Road Cycling. 2024-02-15 09:58:00.151 Info HttpClient: GET https://api4.thetvdb.com/v4/search?type=series&q=EP01528325&remote_id=EP01528325 2024-02-15 09:58:01.286 Info HttpClient: GET https://api4.thetvdb.com/v4/search?type=series&q=SH01528325&remote_id=SH01528325 2024-02-15 09:58:01.552 Info HttpClient: GET https://api4.thetvdb.com/v4/search?type=series&q=Live: Tour of the Algarve Road Cycling 2024-02-15 09:58:01.971 Info TheMovieDb: MovieDbProvider: Finding id for item: Live: Tour of the Algarve Road Cycling 2024-02-15 09:58:01.971 Info HttpClient: GET https://api.themoviedb.org/3/search/tv?api_key=x_secret1_x&query=Live: Tour of the Algarve Road Cycling&language=en-US 2024-02-15 09:58:02.740 Info HttpClient: GET https://api.themoviedb.org/3/search/tv?api_key=x_secret1_x&query=Live Tour of the Algarve Road Cycling&language=en-US 2024-02-15 09:58:03.081 Info LiveTV: Found existing series based on path: 32327 2024-02-15 09:58:03.081 Info LiveTV: Found existing series based on path: Live: Tour of the Algarve Road Cycling 2024-02-15 09:58:03.081 Info LiveTV: Getting media sources for recording from channel 30657 Discovery Plus | Eurosport 2 to record to /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia.ts 2024-02-15 09:58:03.102 Info LiveTV: Opening live stream for recording from channel 30657 Discovery Plus | Eurosport 2 to /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia.ts 2024-02-15 09:58:03.102 Info LiveTvManager: Opening channel stream, external channel Id: m3u_36f72502ca716a889653f1b569611ae250ae017489727a906149bad27a895c28 2024-02-15 09:58:03.102 Info LiveTV: Streaming Channel m3u_36f72502ca716a889653f1b569611ae250ae017489727a906149bad27a895c28, with streamId: 50ae017489727a906149bad27a895c28 2024-02-15 09:58:03.102 Info LiveTV: Live stream 50ae017489727a906149bad27a895c28 consumer count is now 2 2024-02-15 09:58:03.156 Info MediaSourceManager: Live stream opened: {"Protocol":"Http","Id":"50ae017489727a906149bad27a895c28","Path":"http://127.0.0.1:8096/LiveTv/LiveStreamFiles/ce1e61177e22484bb09467b46d3d431a/stream.ts","Type":"Default","ProbePath":"/var/packages/EmbyServer/var/transcoding-temp/ce1e61177e22484bb09467b46d3d431a/0000000.ts","ProbeProtocol":"File","Container":"mpegts","Size":4915200,"IsRemote":false,"HasMixedProtocols":false,"ContainerStartTimeTicks":80000,"SupportsTranscoding":true,"WallClockStart":"2024-02-15T12:58:09.6212668Z","SupportsDirectStream":true,"SupportsDirectPlay":false,"IsInfiniteStream":true,"RequiresOpening":true,"RequiresClosing":true,"LiveStreamId":"06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_50ae017489727a906149bad27a895c28","RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[{"Codec":"h264","StreamStartTimeTicks":200000,"TimeBase":"1/90000","VideoRange":"SDR","DisplayTitle":"1080p H264","NalLengthSize":"0","IsInterlaced":false,"BitRate":6038329,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Height":1080,"Width":1920,"AverageFrameRate":50,"RealFrameRate":50,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","PixelFormat":"yuv420p","Level":42,"IsAnamorphic":false,"ExtendedVideoType":"None","ExtendedVideoSubType":"None","ExtendedVideoSubTypeDescription":"None"},{"Codec":"aac","Language":"eng","StreamStartTimeTicks":80000,"TimeBase":"1/90000","DisplayTitle":"English AAC stereo","DisplayLanguage":"English","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":127352,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"IsHearingImpaired":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Protocol":"File","ExtendedVideoType":"None","ExtendedVideoSubType":"None","ExtendedVideoSubTypeDescription":"None"}],"Formats":[],"Bitrate":6165681,"RequiredHttpHeaders":{"User-Agent":"VLC/3.0.0-git LibVLC/3.0.0-git","Referrer":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36"},"AddApiKeyToDirectStreamUrl":false,"ReadAtNativeFramerate":false,"DefaultAudioStreamIndex":1} 2024-02-15 09:58:03.157 Info LiveTV: Recording ensure file unique input: /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia.ts 2024-02-15 09:58:03.157 Info LiveTV: Recording ensure file unique result: /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia.ts 2024-02-15 09:58:03.157 Info LiveTV: Will record to /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia.ts for 108.94737414166667 minutes. 2024-02-15 09:58:03.466 Info LiveTV: Saving recording image to /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia-thumb.jpg 2024-02-15 09:58:03.582 Info LiveTV: Triggering refresh on /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia.ts 2024-02-15 09:58:03.583 Info LiveTV: Refreshing recording parent /volume1/RecordedTV 2024-02-15 09:58:03.583 Info LiveTV: Copying recording stream to file /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia.ts 2024-02-15 10:02:00.001 Info LiveTV: Recording stopped: /volume1/RecordedTV/Live Tour of Andalusia Road Cycling/Live Tour of Andalusia Road Cycling 2024_02_15_08_00_00 - Stage 2 Velez-Malaga to Alcaudete.ts 2024-02-15 10:02:00.001 Info MediaSourceManager: Live stream 50ae017489727a906149bad27a895c28 consumer count is now 1 2024-02-15 10:02:00.002 Info LiveTV: Triggering refresh on /volume1/RecordedTV/Live Tour of Andalusia Road Cycling/Live Tour of Andalusia Road Cycling 2024_02_15_08_00_00 - Stage 2 Velez-Malaga to Alcaudete.ts 2024-02-15 10:02:00.003 Info LiveTV: Refreshing recording parent /volume1/RecordedTV 2024-02-15 10:02:00.065 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /var/packages/EmbyServer/target/bin/ffprobe -i file:"/volume1/RecordedTV/Live Tour of Andalusia Road Cycling/Live Tour of Andalusia Road Cycling 2024_02_15_08_00_00 - Stage 2 Velez-Malaga to Alcaudete.ts" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data 2024-02-15 10:02:01.086 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 0 - Succeeded 2024-02-15 10:40:04.783 Info SharedHttpPipelineSource: Finished copying from response stream: Http-http://host2/x_path3_x/x_path4_x 2024-02-15 10:40:05.301 Info SharedHttpPipelineSource: Retry opening stream http://host2/x_path3_x/x_path4_x 2024-02-15 10:40:05.301 Info SharedHttpPipelineSource: Opening SharedHttpPipelineSource Live stream from Http-http://host2/x_path3_x/x_path4_x 2024-02-15 10:40:05.301 Info HttpClient: GET http://host2/x_path3_x/x_path4_x 2024-02-15 10:40:05.457 Info HttpClient: Http response 521 from http://host2/x_path3_x/x_path4_x after 156ms. Headers Date=Thu, 15 Feb 2024 15:40:05 GMT, Connection=keep-alive, Report-To={"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=yWuv0PGqdMcWpl23TB8fCoBlheC1KAmi0CrQ9R8eObemi5muigGhgZTeZuLg2mPNT6E44UrZG%2BGEUsPbeT%2BDKg8Os1EegyFw4jWrsJvtDdsDvC5H0xGeqzTSfI%2BYol6t5bR8SVyF"}],"group":"cf-nel","max_age":604800}, NEL={"success_fraction":0,"report_to":"cf-nel","max_age":604800}, X-Frame-Options=SAMEORIGIN, Referrer-Policy=same-origin, Cache-Control=no-store, must-revalidate, no-cache, max-age=0, private, post-check=0, pre-check=0, Server=cloudflare, CF-RAY=855ea5b5491b23de-LHR, Alt-Svc=h3=":443" 2024-02-15 10:40:06.120 Error SharedHttpPipelineSource: Give up retries copying live stream http://host2/x_path3_x/x_path4_x No more retries allowed. *** Error Report *** Version: 4.8.1.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.302+ (root@build6) (gcc version 12.2.0 (GCC) ) #69057 SMP Mon Nov 13 14:19:11 CST 2023 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: 521 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.<>c__DisplayClass45_0.<<StartStreamingWithLegacyTsProcessor>b__0>d.MoveNext() Source: Emby.Server.Implementations TargetSite: Void MoveNext() 2024-02-15 10:40:06.161 Error SharedHttpPipelineSource: Error copying live stream. *** Error Report *** Version: 4.8.1.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.dll -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -nolocalportconfig -ignore_vaapi_enabled_flag -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -defaultdirectory /volume1/Public -updatepackage emby-server-synology72_{version}_x86_64.spk -noautorunwebapp Operating system: Linux version 4.4.302+ (root@build6) (gcc version 12.2.0 (GCC) ) #69057 SMP Mon Nov 13 14:19:11 CST 2023 Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: volume1/@appstore/EmbyServer/system/System.Private.CoreLib.dll Processor count: 4 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: 521 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.<>c__DisplayClass45_0.<<StartStreamingWithLegacyTsProcessor>b__0>d.MoveNext() --- End of stack trace from previous location --- at Emby.LiveTV.TunerHosts.SharedHttpPipelineSource.<>c__DisplayClass45_0.<<StartStreamingWithLegacyTsProcessor>b__0>d.MoveNext() Source: Emby.Server.Implementations TargetSite: Void MoveNext() 2024-02-15 10:40:06.161 Info SharedHttpPipelineSource: SharedHttpPipelineSource is done streaming. 2024-02-15 10:42:06.270 Info SharedHttpPipelineSource: Live Stream ended. 2024-02-15 10:42:06.270 Info LiveTV: Recording completed to: /volume1/RecordedTV/Live Tour of the Algarve Road Cycling/Live Tour of the Algarve Road Cycling 2024_02_15_10_00_00 - Stage 2 Lagoa to Alto da Foia.ts 2024-02-15 10:42:06.270 Info MediaSourceManager: Live stream 50ae017489727a906149bad27a895c28 consumer count is now 0 2024-02-15 10:42:06.270 Info MediaSourceManager: Closing live stream 06044cf0e6f93cdae5f285c9ecfaaeb4_01413a525b3a9622ce6fdf19f7dde354_50ae017489727a906149bad27a895c28 2024-02-15 10:42:06.270 Info SharedHttpPipelineSource: Closing SharedHttpPipelineSource embyserver-63843590534.txt Link to comment Share on other sites More sharing options...
Solution Luke 37096 Posted February 15 Solution Share Posted February 15 HI, your iptv server sent back this response error code: https://http.dev/521 Link to comment Share on other sites More sharing options...
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