Hi, On my own icecast server (2.4.4 on gentoo), I want to relay http://audio.bfmtv.com/rmcradio_128.mp3 I can play it with mpv. My config for this relay : <relay> <server>audio.bfmtv.com</server> <port>80</port> <mount>/rmcradio_128.mp3</mount> <local-mount>/rmc.mp3</local-mount> <relay-shoutcast-metadata>1</relay-shoutcast-metadata> <on-demand>1</on-demand> </relay> (I have about 10 relays working fine for years) But, I can't get it working. If I try to play it with : $ mpv http://myicecastserver:8000/rmc.mp3 [ffmpeg] http: HTTP error 404 File Not Found Failed to open http://stream.novazur.fr:8000/rmc.mp3. [ytdl_hook] ERROR: Unable to download webpage: HTTP Error 404: File Not Found (caused by <HTTPError 404: 'File Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. [ytdl_hook] youtube-dl failed: unexpected error occurred And icecast logs give : [2021-07-03 14:20:03] EROR slave/open_relay_connection Error from relay request: /rmc.mp3 (Bad Request) [2021-07-03 14:20:05] EROR connection/_handle_connection Wrong request type from client But why can't I relay this one ? Thanks And sorry about my poor english. -- Christophe PEREZ
On 2021-07-03 20:43, Christophe PEREZ wrote:> Hi, > > On my own icecast server (2.4.4 on gentoo), I want to relay > http://audio.bfmtv.com/rmcradio_128.mp3 > > I can play it with mpv. > My config for this relay : > <relay> > <server>audio.bfmtv.com</server> > <port>80</port> > <mount>/rmcradio_128.mp3</mount> > <local-mount>/rmc.mp3</local-mount> > <relay-shoutcast-metadata>1</relay-shoutcast-metadata> > <on-demand>1</on-demand> > </relay> > > (I have about 10 relays working fine for years) > > But, I can't get it working. > > If I try to play it with : > $ mpv http://myicecastserver:8000/rmc.mp3 > [ffmpeg] http: HTTP error 404 File Not Found > Failed to open http://stream.novazur.fr:8000/rmc.mp3. > [ytdl_hook] ERROR: Unable to download webpage: HTTP Error 404: File Not > Found (caused by <HTTPError 404: 'File Not Found'>); please report this > issue on https://yt-dl.org/bug . Make sure you are using the latest > version; type youtube-dl -U to update. Be sure to call youtube-dl > with the --verbose flag and include its complete output. > [ytdl_hook] youtube-dl failed: unexpected error occurred > > And icecast logs give : > [2021-07-03 14:20:03] EROR slave/open_relay_connection Error from > relay request: /rmc.mp3 (Bad Request) > [2021-07-03 14:20:05] EROR connection/_handle_connection Wrong request > type from client > > But why can't I relay this one ? > > Thanks > And sorry about my poor english.Hi, on my website I have https://www.digital-rain.org/ Who can do me relay a relay for relay, relaying me relay? I still do relay relaying relay! PS: USA rockz! -- Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0 Warning: Cannot modify header information - headers already sent in Unknown on line 0 MfG, Christian 'flash2'Fladung ("`-''-/").___..--''"`-._ `6_ 6 ) `-. ( ).`-.__.`) (_Y_.)' ._ ) `._ `. ``-..-' _..`--'_..-_/ /--'_.' ,' (il),-'' (li),' ((!.-' o_) >>> eoo Hey! My Name IS NEO. Trinity : Hello Neo. Neo : How do you know that name? Trinity ... => https://lab.spacecourt.org/sesamstra__e_-_schlemihl_verkauft_ernie_luft-jtqtjfpgmqg.mp4 => https://lab.spacecourt.org/sesamstrasse_-_grobi_als_ober_-_windig-0gks6qbzi0s.mp4 => https://lab.spacecourt.org/rapunzel_mit_ernie_und_bert__-_sesamstra__e_-_ndr_-_ard-lknj6nqmcvc.mp4 => https://lab.spacecourt.org/grobi_-_sch__nes_frisches_eis___sesamstra__e___ndr-vfntrgsq_ua.mp4 Music is like warm water: At first IT comes. Then you sink into IT. -> Welcome to |^FlAsH^| Media {;-)}
Good afternoon, On Sat, 2021-07-03 at 14:43 -0400, Christophe PEREZ wrote:> On my own icecast server (2.4.4 on gentoo),Thank you for the version info. :)> I want to relay > http://audio.bfmtv.com/rmcradio_128.mp3 > > I can play it with mpv. > My config for this relay : > <relay> > <server>audio.bfmtv.com</server> > <port>80</port> > <mount>/rmcradio_128.mp3</mount> > <local-mount>/rmc.mp3</local-mount> > <relay-shoutcast-metadata>1</relay-shoutcast-metadata> > <on-demand>1</on-demand> > </relay> > > (I have about 10 relays working fine for years) > > But, I can't get it working. > > [...] > > But why can't I relay this one ?The resource at http://audio.bfmtv.com/rmcradio_128.mp3 is in fact a redirect to https://audio.bfmtv.com/rmcradio_128.mp3, which is a TLS based stream. TLS based streams are currently not supported by Icecast for internal relays. This is because Icecast does splicing of relays which does not work (that easily) TLS based streams. I fear your best option here would be to use an relay external to Icecast. There are several software packages that can fetch a stream and forward it Icecast (both with, and without transcoding). If there is general interest I can go into details here (but would do that in a different thread): * Why using splicing is very smart to do for Icecast, * and why it would be smart to have alternatives*. Hope this helps you a bit. With best regards, * If someone is up for some work and/or sponsoring here, feel free to contact me. :) -- Philipp Schafft (CEO/Gesch?ftsf?hrer) Telephon: +49.3535 490 17 92 L?wenfelsen UG (haftungsbeschr?nkt) Registration number: Bickinger Stra?e 21 HRB 12308 CB 04916 Herzberg (Elster) VATIN/USt-ID: Germany DE305133015 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 523 bytes Desc: This is a digitally signed message part URL: <http://lists.xiph.org/pipermail/icecast/attachments/20210705/5dd6bd5d/attachment.sig>