AirenSoft / OvenMediaEngine

OvenMediaEngine (OME) is a Sub-Second Latency Live Streaming Server with Large-Scale and High-Definition. #WebRTC #LLHLS
https://airensoft.com/ome.html
GNU Affero General Public License v3.0
2.61k stars 1.06k forks source link

'Could not get a playlist for HLS Publisher' in cluster environment #118

Closed mauriziocarella closed 4 years ago

mauriziocarella commented 4 years ago

Describe the bug I've setup a cluster environment with 2 edges and 1 origin server. WebRTC playback works fine from the two edges but HLS/DASH playback is not working, giving the following error

edge_1 | [2020-05-18 14:14:02.222] W 68 HTTPPublisher | segment_publisher.cpp:178 | Could not get a playlist for HLS Publisher [(nil), #default#app/live_o, playlist.m3u8]

If I try to play from origin server everything works fine.

Server (please complete the following information):

Player (please complete the following information):

getroot commented 4 years ago

To find the cause of the problem, I need full logs of the edge server and origin server and also need Server.xml of origin/edge servers.

mauriziocarella commented 4 years ago

Here it is a zip file with origin & edge configurations, logs and docker files

Archive.zip

getroot commented 4 years ago

Thank you for contributing to finding the bug. This bug has been fixed in the Dev branch and will be released in 0.10.3. To test this now, test it using the Dev branch.

mauriziocarella commented 4 years ago

Fetching HLS/MPD playlists from first edge now works fine with dev image from docker hub. But on the second edge the result is the same error. Configurations are (really) the same (same Server.xml, same environment) on the two edges

EDIT: Seems to be a cache problem with docker. Flushing cache solved the problem. Nice work 👍

getroot commented 4 years ago

Thank you for sharing your test results.