Jump to content

Live TV - M3u - .TS file sources failing to load randomly until server restart


Recommended Posts

Posted

I am only saying that this will differ from one stream to the next. If every single person were unable to watch iptv, then we'd have mass hysteria here in the community. There is a dependency here on an external URL, and dependencies mean there will sometimes be problem. I am only asking questions to try and help understand the scenario and get to the bottom of it. Thanks.

Posted (edited)

Example URL:

http://daserstehdde-lh.akamaihd.net/i/daserstehd_de@629196/master.m3u8

 

Works fine in VLC but unfoirtunately not in Emby. Loads 5 Minutes (Spinning wheel).

 

 

Either dedicate time for this or remove m3u tuner completely it because it is not working, so emby premiere users like me will know

what to get when they pay for premiere subscription.

I want to get Premium too. Especially for the IPTV feature. But it's not working :(

Edited by Normal
Posted

i thought i was alone in this... but yea i've had this same issue for like a year now...
what i find is if someone in the family clicks on a stream that is out/or doesn't even really exist,
emby will just hang with the spinning circle no matter what anyone tries to play from then on, until i restart emby..
it's weird... but never fails.... from a half dozen providers over the last 6 months or so it's always the same.
try and play a channel and emby fails to play it/the channel is out... no one can play ANY working channel from any machine/device till i reboot the server. : (

 

Posted

For me that spinning whell (for 5 minutes) happens for every stream channel. Also for channels which work a 100% in VLC.

Even after a Emby restart I need to wait 5 minutes.

Posted

i thought i was alone in this... but yea i've had this same issue for like a year now...

what i find is if someone in the family clicks on a stream that is out/or doesn't even really exist,

emby will just hang with the spinning circle no matter what anyone tries to play from then on, until i restart emby..

it's weird... but never fails.... from a half dozen providers over the last 6 months or so it's always the same.

try and play a channel and emby fails to play it/the channel is out... no one can play ANY working channel from any machine/device till i reboot the server. : (

 

 

 

@@jaquestati, please see how to report a media playback issue. thanks !

Posted

For me that spinning whell (for 5 minutes) happens for every stream channel. Also for channels which work a 100% in VLC.

Even after a Emby restart I need to wait 5 minutes.

 

@@Normal, please see how to report a media playback issue. thanks !

Posted (edited)

Log
 
When do you resolve this problem?

Edited by Normal
EODCrafter
Posted (edited)

Example URL:

http://daserstehdde-lh.akamaihd.net/i/daserstehd_de@629196/master.m3u8

 

Works fine in VLC but unfoirtunately not in Emby. Loads 5 Minutes (Spinning wheel).

 

I want to get Premium too. Especially for the IPTV feature. But it's not working :(

 

I thought IPTV *only worked if you had Premium already? Anyway, I have occasional episodes like this, When I can reproduce with clear logs I will send info to help. It has happened on all 3 test OS's I have used so far, Linux, Windows, and Android. and when I load the Streams into MPV or VLC they play fine. No need to paste "How to Report a Problem"....I'm on it. (We don't have Permission to Test your Example)

Edited by EODCrafter
Posted (edited)

I don't know how it's called this technique.

I simply load a free M3U list with M3U8 entries in Emby as M3U Tuner.

 

 

 

(We don't have Permission to Test your Example)

How that? If it's geoblocked, here are some more examples which work in VLC:

 

http://artelive-lh.akamaihd.net/i/artelive_de@393591/master.m3u8

https://live2weltcms-lh.akamaihd.net/i/Live2WeltCMS_1@444563/master.m3u8

Edited by Normal
EODCrafter
Posted (edited)

I don't know how it's called this technique.

I simply load a free M3U list with M3U8 entries in Emby as M3U Tuner.

 

How that? If it's geoblocked, here are some more examples which work in VLC:

 

http://artelive-lh.akamaihd.net/i/artelive_de@393591/master.m3u8

https://live2weltcms-lh.akamaihd.net/i/Live2WeltCMS_1@444563/master.m3u8

 

5ba4cd43bbee1_Screenshotfrom201809210551

 

I can set my VPN to anywhere in the World if you want me to test....

Edited by EODCrafter
Posted (edited)

I can download it without any problem. Seems to be a problem on your end.

 

This are akamai servers. Normally they aren't geo blocked.

Edited by Normal
EODCrafter
Posted

I can download it without any problem. Seems to be a problem on your end.

 

This are akamai servers. Normally they aren't geo blocked.

Yea...I switched to Germany and it worked fine...I will test.

EODCrafter
Posted (edited)

Ok @@Luke...captured the log where the Stream is timing out and Meanwhile in my Living Room it's playing Just Fine on VLC on my Second Account....If you want the entire log I will PM it to you but the rest of the log is fine up to where I try to Stream this channel.....

2018-09-21 12:31:49.370 Info App: Opening channel stream from Emby, external channel Id: m3u_7634b92af0703786dfed5b1ee6ece1edebc50aeeeffba60809c55ffb79940087
2018-09-21 12:31:49.371 Info App: Streaming Channel m3u_7634b92af0703786dfed5b1ee6ece1edebc50aeeeffba60809c55ffb79940087
2018-09-21 12:31:49.377 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.6.0.44
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.15.0.34
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Controller.LiveTv.LiveTvConflictException: Exception of type 'MediaBrowser.Controller.LiveTv.LiveTvConflictException' was thrown.
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	   at Emby.Server.Implementations.LiveTv.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.LiveTv.LiveTvManager.GetChannelStream(String id, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.LiveTv.LiveTvMediaSourceProvider.OpenMediaSource(String openToken, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.OpenMediaSource(OpenMediaSource request)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.GetPlaybackInfo(GetPostedPlaybackInfo request)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.Post(GetPostedPlaybackInfo request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
	
2018-09-21 12:31:49.377 Info HttpServer: HTTP Response 500 to ::1. Time: 957ms. http://localhost:8096/emby/Items/43367/PlaybackInfo?UserId=a20b0a1c413f44fb9ffd61e43fa1946b&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000
2018-09-21 12:31:55.434 Info HttpServer: HTTP GET http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/description.xml. UserAgent: IPI/1.0 UPnP/1.0 DLNADOC/1.50
2018-09-21 12:31:55.435 Info HttpServer: HTTP Response 200 to 192.168.1.2. Time: 1ms. http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/description.xml
2018-09-21 12:31:55.445 Info HttpServer: HTTP SUBSCRIBE http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/contentdirectory/events. UserAgent: 
2018-09-21 12:31:55.445 Info HttpServer: HTTP SUBSCRIBE http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/connectionmanager/events. UserAgent: 
2018-09-21 12:31:55.448 Info HttpServer: HTTP Response 200 to 192.168.1.2. Time: 3ms. http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/contentdirectory/events
2018-09-21 12:31:55.448 Info HttpServer: HTTP Response 200 to 192.168.1.2. Time: 3ms. http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/connectionmanager/events

5ba52e79125f9_Screenshotfrom201809211232

 

It just Spins Endlessly until I force exit the Server.......

Edited by EODCrafter
Posted (edited)

Off topic question: how do you get the Icons there in place and the EPG info?

 

Otherwise: this spinning is exactly what I am seeing too. When waiting 5 minutes it starts.

Edited by Normal
Posted

Ok @@Luke...captured the log where the Stream is timing out and Meanwhile in my Living Room it's playing Just Fine on VLC on my Second Account....If you want the entire log I will PM it to you but the rest of the log is fine up to where I try to Stream this channel.....

2018-09-21 12:31:49.370 Info App: Opening channel stream from Emby, external channel Id: m3u_7634b92af0703786dfed5b1ee6ece1edebc50aeeeffba60809c55ffb79940087
2018-09-21 12:31:49.371 Info App: Streaming Channel m3u_7634b92af0703786dfed5b1ee6ece1edebc50aeeeffba60809c55ffb79940087
2018-09-21 12:31:49.377 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 3.6.0.44
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb
	Operating system: Unix 4.15.0.34
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Processor count: 4
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	MediaBrowser.Controller.LiveTv.LiveTvConflictException: Exception of type 'MediaBrowser.Controller.LiveTv.LiveTvConflictException' was thrown.
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	   at Emby.Server.Implementations.LiveTv.TunerHosts.BaseTunerHost.GetChannelStream(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV.GetChannelStreamWithDirectStreamProvider(String channelId, String streamId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.LiveTv.LiveTvManager.GetChannelStream(String id, String mediaSourceId, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.LiveTv.LiveTvMediaSourceProvider.OpenMediaSource(String openToken, List`1 currentLiveStreams, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStreamInternal(LiveStreamRequest request, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.Library.MediaSourceManager.OpenLiveStream(LiveStreamRequest request, CancellationToken cancellationToken)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.OpenMediaSource(OpenMediaSource request)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.GetPlaybackInfo(GetPostedPlaybackInfo request)
	   at Emby.Server.MediaEncoding.Api.MediaInfoService.Post(GetPostedPlaybackInfo request)
	   at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task)
	   at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken)
	   at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken)
	
2018-09-21 12:31:49.377 Info HttpServer: HTTP Response 500 to ::1. Time: 957ms. http://localhost:8096/emby/Items/43367/PlaybackInfo?UserId=a20b0a1c413f44fb9ffd61e43fa1946b&StartTimeTicks=0&IsPlayback=true&AutoOpenLiveStream=true&MaxStreamingBitrate=140000000
2018-09-21 12:31:55.434 Info HttpServer: HTTP GET http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/description.xml. UserAgent: IPI/1.0 UPnP/1.0 DLNADOC/1.50
2018-09-21 12:31:55.435 Info HttpServer: HTTP Response 200 to 192.168.1.2. Time: 1ms. http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/description.xml
2018-09-21 12:31:55.445 Info HttpServer: HTTP SUBSCRIBE http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/contentdirectory/events. UserAgent: 
2018-09-21 12:31:55.445 Info HttpServer: HTTP SUBSCRIBE http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/connectionmanager/events. UserAgent: 
2018-09-21 12:31:55.448 Info HttpServer: HTTP Response 200 to 192.168.1.2. Time: 3ms. http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/contentdirectory/events
2018-09-21 12:31:55.448 Info HttpServer: HTTP Response 200 to 192.168.1.2. Time: 3ms. http://192.168.1.114:8096/dlna/8c8f19f2513248d0aad64555a3c2291b/connectionmanager/events

5ba52e79125f9_Screenshotfrom201809211232

 

It just Spins Endlessly until I force exit the Server.......

 

Please make sure to follow how to report a problem.

  • Please attach the server log from the time frame the activity occurred. See the section below titled Emby Server Logs. Please supply the full and complete log file, and avoid attempting to extract relevant sections. Everything is relevant to us.

Thanks.

  • Like 1
Posted (edited)

This problem exists since january.

 

What I would do as a programmer is

- do what the users here do (use the provided m3u urls)

- see what happens

- check and double check the program code

 

It's kind of terrible to see in every 2nd post (feels like that) that you ask for log files.

 

You should try to repdoduce that problem yourself.

You are the software developer.

Then you go into your code and you double check everything whats related to that code which starts the live tv stream.

That is way faster than the timeframe between january and now and asking for logs all the time.

 

Nobody will provide you logs anymore soon when only copy & pasting that same question every and everytime.

 

This is no attack. I just try to make you understand that sometimes the developer needs to take action first.

Edited by Normal
EODCrafter
Posted (edited)

Off topic question: how do you get the Icons there in place and the EPG info?

 

Otherwise: this spinning is exactly what I am seeing too. When waiting 5 minutes it starts.

Just click on Channels instead of Guide....Your M3U must support this...Usally ends in .m3u_plus

IKR and it has the exact error which I attached. Every peice of the Log I attach exposes me to possibly comprising my paid IPTV Service so I guest we'll just let others keep pinning their logs up here.

Edited by EODCrafter
Posted

 

 

every 2nd post (feels like that) that you ask for log files.

This is the information that we need to find the problem.

EODCrafter
Posted

And also, Why the error was occurring I went to /var/lib/emby/logs and copied the last several lines so it must be the exact entry where the error occurred.

Posted

Just click on Channels instead of Guide....Your M3U must support this...Usally ends in .m3u_plus

IKR and it has the exact error which I attached. Every peice of the Log I attach exposes me to possibly comprising my paid IPTV Service so I guest we'll just let others keep pinning their logs up here.

 

 Just XXX the part with server info and u/p part. Search replace in text editor

Posted

You can also send to me privately. Thanks

Posted (edited)

People already sent over logs more than once (at least the forum says ... - not my statement!) and that didn't help you. Why should it now?

If I would be you I would it test myself instead of just waiting for logs for months which say nothing in the end maybe.

 

 

 

 

ust click on Channels instead of Guide....Your M3U must support this...Usally ends in .m3u_plus

Understood exactly zero. But not important. I will live without images ... and stream ;)

Edited by Normal
EODCrafter
Posted

I Sent you the logs privately and Here is the same channel playing on VLC in the Living room while Emby continues with the spinning Wheel....

5ba545e2e5091_20180921_142314.jpg

Posted

In EODCrafter's case, his iptv provider is sending back a 403 response code saying Forbidden.

 

Why are they doing this? That question is specific to every provider. Sometimes customizing the user agent field can help fool them.

Posted

What you want to tell us with that sentence?

Guest
This topic is now closed to further replies.
×
×
  • Create New...