plugin.video.rtpplay
plugin.video.rtpplay copied to clipboard
CURLOpen returned an error, download failed: [...]/rtp_playlist.m3u8
I recently started to have issues with the app, log says the following:
2023-04-08 12:43:47.184 T:1066 info <general>: VideoPlayer::OpenFile: plugin://plugin.video.rtpplay/live/play?label=RTP1&channel=5&img=https%3A%2F%2Fcdn-images.rtp.pt%2Fcommon%2Fimg%2Fchannels%2Flogos%2Fcolor%2Fhorizontal%2F5-563718101410.png&prog=Jornal+da+Tarde&content=tv
2023-04-08 12:43:58.630 T:1257 error <general>: CCurlFile::Stat - <https://streaming-live-app.rtp.pt/liverepeater/smil:rtp1HD.smil/rtp_playlist.m3u8> Failed: HTTP response code said error(22)
2023-04-08 12:43:58.631 T:1257 info <general>: Creating InputStream
2023-04-08 12:43:58.711 T:1257 warning <general>: AddOnLog: inputstream.adaptive: Set headers to the manifest by using "inputstream.adaptive.stream_headers" property is a deprecated behaviour that will be removed in future.
To set headers to the manifest, use "inputstream.adaptive.manifest_headers" property.
2023-04-08 12:43:58.716 T:1257 info <general>: AddOnLog: inputstream.adaptive: [Repr. chooser] Resolution set: 1920x1080, max allowed: 1920x1080, Adjust refresh rate: 0
2023-04-08 12:44:10.217 T:1257 error <general>: CCurlFile::CReadState::FillBuffer - (0xea63bb78) Failed: HTTP returned code 429
2023-04-08 12:44:10.217 T:1257 error <general>: CCurlFile::Open - <https://streaming-live-app.rtp.pt/liverepeater/smil:rtp1HD.smil/rtp_playlist.m3u8> Failed with code 429:
2023-04-08 12:44:10.217 T:1257 error <general>: AddOnLog: inputstream.adaptive: CURLOpen returned an error, download failed: https://streaming-live-app.rtp.pt/liverepeater/smil:rtp1HD.smil/rtp_playlist.m3u8
2023-04-08 12:44:10.217 T:1257 error <general>: AddOnLog: inputstream.adaptive: Could not open / parse manifest (https://streaming-live-app.rtp.pt/liverepeater/smil:rtp1HD.smil/rtp_playlist.m3u8)
2023-04-08 12:44:10.218 T:1257 error <general>: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.rtpplay/live/play?label=RTP1&channel=5&img=https%3A%2F%2Fcdn-images.rtp.pt%2Fcommon%2Fimg%2Fchannels%2Flogos%2Fcolor%2Fhorizontal%2F5-563718101410.png&prog=Jornal+da+Tarde&content=tv]
2023-04-08 12:44:10.218 T:1257 info <general>: CVideoPlayer::OnExit()
Anyone else can confirm this is an issue?
Interestingly, if I try to access the URL from the log with wget it will work just fine, whereas trying to curl it, I receive a HTTP 429 from something called a "Varnish cache server".
LibreELEC:/tmp # wget https://streaming-live-app.rtp.pt/liverepeater/smil:rtp1HD.smil/rtp_playlist.m3u8
Connecting to streaming-live-app.rtp.pt (199.232.190.192:443)
saving to 'rtp_playlist.m3u8'
rtp_playlist.m3u8 100% |*********************************************************| 221 0:00:00 ETA
'rtp_playlist.m3u8' saved
LibreELEC:/tmp # cat rtp_playlist.m3u8
#EXTM3U
#EXT-X-VERSION:5
#EXT-X-STREAM-INF:BANDWIDTH=2540000
chunklist_b2540000_slpor.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1290000
chunklist_b1290000_slpor.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=640000
chunklist_b640000_slpor.m3u8
LibreELEC:/tmp # curl https://streaming-live-app.rtp.pt/liverepeater/smil:rtp1HD.smil/rtp_playlist.m3u8
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>429 Unknown Error</title>
</head>
<body>
<h1>Error 429 Unknown Error</h1>
<p>Unknown Error</p>
<h3>Error 54113</h3>
<p>Details: cache-muc13968-MUC 1680958553 2485770619</p>
<hr>
<p>Varnish cache server</p>
</body>
</html>
I have the same issue, though is even more strange, if i use curl on my laptop (Fedora 37 - curl-7.85) it works fine, but with curl from my CoreELEC-Amlogic-ng.arm-19.5-Matrix-Odroid_C4 / Kodi (curl 7.78.0 armv8a-libreelec-linux-gnueabihf) it gives the 429 error.