Re: Issue with Stream Directory URL for Icecast 2.4 .4 – Request for Clarification

Juan Amores <[email protected]> Mon, 25 Aug 2025 05:19:41 -0300
Newsgroups gmane.comp.audio.icecast.general
Message-ID <CAKaN21AGUX5NSys9Xv9jtdeJfBGs5ffOjPDDR=A1oq9W=p5UyA@mail.gmail.com>
--===============9182297763903534956==
Content-Type: multipart/alternative; boundary="00000000000046b2dd063d2c3812"

--00000000000046b2dd063d2c3812
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Dear Icecast Team,

I hope this message finds you well.

I am currently running  *Icecast 2.4.4*, and I have encountered an issue
related to the stream directory configuration. The official documentation
mentions that the Icecast server should be able to register with the Xiph
Directory using the URL http://dir.xiph.org/index.php for YP (Yellow Pages)
integration. However, I have found that this URL now results in a *404
error*.

*Issue Summary:*
The documentation suggests using http://dir.xiph.org/index.php for the
directory.

This URL returns a *404 Not Found* error when attempting to access it.

The YP update log shows successful interactions with the directory,
indicating that the server is trying to contact the directory, but the
incorrect URL is used.

*Temporary Solution:*
To resolve this issue, I modified the Icecast server configuration with a
workaround. I updated the link in the stream directory information on the
admin page to use the following URL instead:
http://dir.xiph.org/search?q=3DDJ+OsiriS+Music+Service.
This workaround correctly points to the stream directory search page and
works as intended.

*My Questions:*
Could you please clarify why the index.php URL is returning a 404 error?

Is there an official update or new URL for the Xiph Directory that should
be used in the Icecast configuration?

Is this change documented somewhere, or will the official documentation be
updated to reflect the new URL?

I would appreciate any insights or official guidance you could provide
regarding this issue.

Thank you in advance for your time and support.

Best regards,

Juan Amores
Devel
DJ OsiriS Music Service

*EDITED:*

*Additional Information:*

*My Linux version:*

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.3 LTS
Release:        24.04
Codename:       noble

Specific part of my *icecast.xml* configuration:

<!-- Uncomment this if you want directory listings -->
<directory>
    <yp-url-timeout>15</yp-url-timeout>
    <yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>

*Log from error.log:*
[2025-08-25  03:19:08] INFO main/main Icecast 2.4.4 server started
[2025-08-25  03:19:08] DBUG yp/yp_recheck_config Updating YP configuration
[2025-08-25  03:19:08] INFO yp/yp_recheck_config Adding new YP server "
http://dir.xiph.org/cgi-bin/yp-cgi" (timeout 6s, default interval 30s)
[2025-08-25  03:19:08] INFO stats/_stats_thread stats thread started
[2025-08-25  03:19:08] INFO yp/yp_update_thread YP update thread started
[2025-08-25  03:19:08] INFO connection/get_ssl_certificate SSL certificate
found at /usr/share/icecast2/bundle.pem
[2025-08-25  03:19:08] INFO connection/get_ssl_certificate SSL using
ciphers [ciphers used]
[2025-08-25  03:19:08] DBUG yp/check_servers Add pending yps
http://dir.xiph.org/cgi-bin/yp-cgi
[2025-08-25  03:19:09] DBUG slave/_slave_thread checking master stream list
[2025-08-25  03:19:27] INFO connection/_handle_source_request Source
logging in at mountpoint "/stream" from xx.xx.123.215
[2025-08-25  03:19:27] DBUG connection/connection_complete_source sources
count is 0
[2025-08-25  03:19:27] WARN format/format_get_type Unsupported or legacy
stream type: "audio/mpeg". Falling back to generic minimal handler for best
effort.
[2025-08-25  03:19:27] DBUG source/source_apply_mount Applying mount
information for "/stream"
[2025-08-25  03:19:27] DBUG format-mp3/format_mp3_apply_settings sending
metadata interval 16000
[2025-08-25  03:19:27] DBUG format-mp3/format_mp3_apply_settings charset
UTF-8
[2025-08-25  03:19:27] DBUG source/source_apply_mount YP changed to 1
[2025-08-25  03:19:27] DBUG yp/yp_add Adding /stream to
http://dir.xiph.org/cgi-bin/yp-cgi
[2025-08-25  03:19:27] DBUG source/source_update_settings public set to 1
[2025-08-25  03:19:27] DBUG source/source_update_settings max listeners to
-1
[2025-08-25  03:19:27] DBUG source/source_update_settings queue size to
524288
[2025-08-25  03:19:27] DBUG source/source_update_settings burst size to
65536
[2025-08-25  03:19:27] DBUG source/source_update_settings source timeout to
15
[2025-08-25  03:19:27] DBUG source/source_update_settings
fallback_when_full to 0
[2025-08-25  03:19:27] DBUG connection/connection_complete_source source is
ready to start
[2025-08-25  03:19:27] DBUG fserve/fserve_add_client_callback Adding client
to file serving engine
[2025-08-25  03:19:27] DBUG fserve/fserve_add_pending fserve handler waking
up
[2025-08-25  03:19:27] DBUG fserve/fserv_thread_function fserve handler exi=
t
[2025-08-25  03:19:27] DBUG source/source_init Source creation complete


Part of the /etc/icecast2/web/*server_version.xsl* file where I modified
the URL:

The default in the *official download* icecast-2.4.4.tar.gz:
<tr>
<td>Stream Directory</td>
<td><a href=3D"http://dir.xiph.org/index.php">dir.xiph.org</a></td>
</tr>

This is the URL that gives a *404 error *when accessed from the server web
interface on the "Version" tab.

*The change I made for it to work:*
<tr>
<td>Stream Directory</td>
<td><a href=3D"http://dir.xiph.org/search?q=3DDJ+OsiriS+Music+Service">
dir.xiph.org</a></td>
</tr>

*Specific question:*
Is it possible that something has changed that causes index.php to return a
404 error?

Best regards,

Juan Amores
Devel
DJ OsiriS Music Service

El lun, 25 ago 2025 a las 3:54, Juan Amores (<[email protected]>)
escribi=C3=B3:

> Dear Icecast Team,
>
> I hope this message finds you well.
>
> I am currently running *Icecast 2.4.4*, and I have encountered an issue
> related to the stream directory configuration. The official documentation
> mentions that the Icecast server should be able to register with the Xiph
> Directory using the URL http://dir.xiph.org/index.php for YP (Yellow
> Pages) integration. However, I have found that this URL now results in a =
*404
> error*.
> Issue Summary:
>
>    -
>
>    The documentation suggests using http://dir.xiph.org/index.php for the
>    directory.
>    -
>
>    This URL returns a *404 Not Found* error when attempting to access it.
>    -
>
>    The YP update log shows successful interactions with the directory,
>    indicating that the server is trying to contact the directory, but the=
 *incorrect
>    URL is used*.
>
> Temporary Solution:
>
> To resolve this issue, I modified the Icecast server configuration with a
> workaround. I updated the link in the stream directory information on the
> admin page to use the following URL instead:
> http://dir.xiph.org/search?q=3DDJ+OsiriS+Music+Service.
> This workaround correctly points to the stream directory search page and
> works as intended.
> My Questions:
>
>    1.
>
>    Could you please clarify why the *index.php* URL is returning a 404
>    error?
>    2.
>
>    Is there an official update or new URL for the Xiph Directory that
>    should be used in the Icecast configuration?
>    3.
>
>    Is this change documented somewhere, or will the official
>    documentation be updated to reflect the new URL?
>
> I would appreciate any insights or official guidance you could provide
> regarding this issue.
>
> Thank you in advance for your time and support.
>
> Best regards,
>
> Juan Amores
> Devel
> DJ OsiriS Music Service
>

--00000000000046b2dd063d2c3812
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear Icecast Team,<br><br>I hope this message finds you we=
ll.<br><br>I am currently running=C2=A0

<strong>Icecast 2.4.4</strong>, and I have encountered an issue related to =
the stream directory configuration. The official documentation mentions tha=
t the Icecast server should be able to register with the Xiph Directory usi=
ng the URL <a href=3D"http://dir.xiph.org/index.php">http://dir.xiph.org/in=
dex.php</a> for YP (Yellow Pages) integration. However, I have found that t=
his URL now results in a <b>404 error</b>.<br><br><b>Issue Summary:</b><br>=
The documentation suggests using <a href=3D"http://dir.xiph.org/index.php">=
http://dir.xiph.org/index.php</a> for the directory.<br><br>This URL return=
s a <b>404 Not Found</b> error when attempting to access it.<br><br>The YP =
update log shows successful interactions with the directory, indicating tha=
t the server is trying to contact the directory, but the incorrect URL is u=
sed.<br><br><b>Temporary Solution:</b><br>To resolve this issue, I modified=
 the Icecast server configuration with a workaround. I updated the link in =
the stream directory information on the admin page to use the following URL=
 instead:<br><a href=3D"http://dir.xiph.org/search?q=3DDJ+OsiriS+Music+Serv=
ice">http://dir.xiph.org/search?q=3DDJ+OsiriS+Music+Service</a>.<br>This wo=
rkaround correctly points to the stream directory search page and works as =
intended.<br><br><b>My Questions:</b><br>Could you please clarify why the i=
ndex.php URL is returning a 404 error?<br><br>Is there an official update o=
r new URL for the Xiph Directory that should be used in the Icecast configu=
ration?<br><br>Is this change documented somewhere, or will the official do=
cumentation be updated to reflect the new URL?<br><br>I would appreciate an=
y insights or official guidance you could provide regarding this issue.<br>=
<br>Thank you in advance for your time and support.<br><br>Best regards,<br=
><br>Juan Amores<br>Devel<br>DJ OsiriS Music Service<br><br><b><i>EDITED:</=
i></b><br><br><b>Additional Information:</b><br><br><b>My Linux version:</b=
><br><br>lsb_release -a<br>No LSB modules are available.<br>Distributor ID:=
 Ubuntu<br>Description: =C2=A0 =C2=A0Ubuntu 24.04.3 LTS<br>Release: =C2=A0 =
=C2=A0 =C2=A0 =C2=A024.04<br>Codename: =C2=A0 =C2=A0 =C2=A0 noble<br><br>Sp=
ecific part of my <b>icecast.xml</b> configuration:<br><br>&lt;!-- Uncommen=
t this if you want directory listings --&gt;<br>&lt;directory&gt;<br>=C2=A0=
 =C2=A0 &lt;yp-url-timeout&gt;15&lt;/yp-url-timeout&gt;<br>=C2=A0 =C2=A0 &l=
t;yp-url&gt;<a href=3D"http://dir.xiph.org/cgi-bin/yp-cgi">http://dir.xiph.=
org/cgi-bin/yp-cgi</a>&lt;/yp-url&gt;<br>&lt;/directory&gt;<br><br><b>Log f=
rom error.log:</b><br>[2025-08-25 =C2=A003:19:08] INFO main/main Icecast 2.=
4.4 server started<br>[2025-08-25 =C2=A003:19:08] DBUG yp/yp_recheck_config=
 Updating YP configuration<br>[2025-08-25 =C2=A003:19:08] INFO yp/yp_rechec=
k_config Adding new YP server &quot;<a href=3D"http://dir.xiph.org/cgi-bin/=
yp-cgi">http://dir.xiph.org/cgi-bin/yp-cgi</a>&quot; (timeout 6s, default i=
nterval 30s)<br>[2025-08-25 =C2=A003:19:08] INFO stats/_stats_thread stats =
thread started<br>[2025-08-25 =C2=A003:19:08] INFO yp/yp_update_thread YP u=
pdate thread started<br>[2025-08-25 =C2=A003:19:08] INFO connection/get_ssl=
_certificate SSL certificate found at /usr/share/icecast2/bundle.pem<br>[20=
25-08-25 =C2=A003:19:08] INFO connection/get_ssl_certificate SSL using ciph=
ers [ciphers used]<br>[2025-08-25 =C2=A003:19:08] DBUG yp/check_servers Add=
 pending yps <a href=3D"http://dir.xiph.org/cgi-bin/yp-cgi">http://dir.xiph=
.org/cgi-bin/yp-cgi</a><br>[2025-08-25 =C2=A003:19:09] DBUG slave/_slave_th=
read checking master stream list<br>[2025-08-25 =C2=A003:19:27] INFO connec=
tion/_handle_source_request Source logging in at mountpoint &quot;/stream&q=
uot; from xx.xx.123.215<br>[2025-08-25 =C2=A003:19:27] DBUG connection/conn=
ection_complete_source sources count is 0<br>[2025-08-25 =C2=A003:19:27] WA=
RN format/format_get_type Unsupported or legacy stream type: &quot;audio/mp=
eg&quot;. Falling back to generic minimal handler for best effort.<br>[2025=
-08-25 =C2=A003:19:27] DBUG source/source_apply_mount Applying mount inform=
ation for &quot;/stream&quot;<br>[2025-08-25 =C2=A003:19:27] DBUG format-mp=
3/format_mp3_apply_settings sending metadata interval 16000<br>[2025-08-25 =
=C2=A003:19:27] DBUG format-mp3/format_mp3_apply_settings charset UTF-8<br>=
[2025-08-25 =C2=A003:19:27] DBUG source/source_apply_mount YP changed to 1<=
br>[2025-08-25 =C2=A003:19:27] DBUG yp/yp_add Adding /stream to <a href=3D"=
http://dir.xiph.org/cgi-bin/yp-cgi">http://dir.xiph.org/cgi-bin/yp-cgi</a><=
br>[2025-08-25 =C2=A003:19:27] DBUG source/source_update_settings public se=
t to 1<br>[2025-08-25 =C2=A003:19:27] DBUG source/source_update_settings ma=
x listeners to -1<br>[2025-08-25 =C2=A003:19:27] DBUG source/source_update_=
settings queue size to 524288<br>[2025-08-25 =C2=A003:19:27] DBUG source/so=
urce_update_settings burst size to 65536<br>[2025-08-25 =C2=A003:19:27] DBU=
G source/source_update_settings source timeout to 15<br>[2025-08-25 =C2=A00=
3:19:27] DBUG source/source_update_settings fallback_when_full to 0<br>[202=
5-08-25 =C2=A003:19:27] DBUG connection/connection_complete_source source i=
s ready to start<br>[2025-08-25 =C2=A003:19:27] DBUG fserve/fserve_add_clie=
nt_callback Adding client to file serving engine<br>[2025-08-25 =C2=A003:19=
:27] DBUG fserve/fserve_add_pending fserve handler waking up<br>[2025-08-25=
 =C2=A003:19:27] DBUG fserve/fserv_thread_function fserve handler exit<br>[=
2025-08-25 =C2=A003:19:27] DBUG source/source_init Source creation complete=
<br><br><br>Part of the /etc/icecast2/web/<b>server_version.xsl</b> file wh=
ere I modified the URL:<br><br>The default in the <b>official download</b> =
icecast-2.4.4.tar.gz:<br>&lt;tr&gt;<br>	&lt;td&gt;Stream Directory&lt;/td&g=
t;<br>	&lt;td&gt;&lt;a href=3D&quot;<a href=3D"http://dir.xiph.org/index.ph=
p">http://dir.xiph.org/index.php</a>&quot;&gt;<a href=3D"http://dir.xiph.or=
g">dir.xiph.org</a>&lt;/a&gt;&lt;/td&gt;<br>&lt;/tr&gt;<br><br>This is the =
URL that gives a <b>404 error </b>when accessed from the server web interfa=
ce on the &quot;Version&quot; tab.<br><br><b>The change I made for it to wo=
rk:</b><br>&lt;tr&gt;<br>	&lt;td&gt;Stream Directory&lt;/td&gt;<br>	&lt;td&=
gt;&lt;a href=3D&quot;<a href=3D"http://dir.xiph.org/search?q=3DDJ+OsiriS+M=
usic+Service">http://dir.xiph.org/search?q=3DDJ+OsiriS+Music+Service</a>&qu=
ot;&gt;<a href=3D"http://dir.xiph.org">dir.xiph.org</a>&lt;/a&gt;&lt;/td&gt=
;<br>&lt;/tr&gt;<br><br><b>Specific question:</b><br>Is it possible that so=
mething has changed that causes index.php to return a 404 error?<br><br>Bes=
t regards,<br><br>Juan Amores<br>Devel<br>DJ OsiriS Music Service<br></div>=
<br><div class=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=
=3D"gmail_attr">El lun, 25 ago 2025 a las 3:54, Juan Amores (&lt;<a href=3D=
"mailto:[email protected]">[email protected]</a>&gt;) escribi=C3=B3=
:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.=
8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"lt=
r"><p>Dear Icecast Team,</p><p>I hope this message finds you well.</p><p>I =
am currently running=C2=A0<strong>Icecast 2.4.4</strong>, and I have encoun=
tered an issue related to the stream directory configuration. The official =
documentation mentions that the Icecast server should be able to register w=
ith the Xiph Directory using the URL=C2=A0<code><a href=3D"http://dir.xiph.=
org/index.php" target=3D"_blank">http://dir.xiph.org/index.php</a></code>=
=C2=A0for YP (Yellow Pages) integration. However, I have found that this UR=
L now results in a=C2=A0<strong>404 error</strong>.</p><h3>Issue Summary:</=
h3><ul><li><p>The documentation suggests using=C2=A0<code><a href=3D"http:/=
/dir.xiph.org/index.php" target=3D"_blank">http://dir.xiph.org/index.php</a=
></code>=C2=A0for the directory.</p></li><li><p>This URL returns a=C2=A0<st=
rong>404 Not Found</strong>=C2=A0error when attempting to access it.</p></l=
i><li><p>The YP update log shows successful interactions with the directory=
, indicating that the server is trying to contact the directory, but the=C2=
=A0<strong>incorrect URL is used</strong>.</p></li></ul><h3>Temporary Solut=
ion:</h3><p>To resolve this issue, I modified the Icecast server configurat=
ion with a workaround. I updated the link in the stream directory informati=
on on the admin page to use the following URL instead:<br><code><a href=3D"=
http://dir.xiph.org/search?q=3DDJ+OsiriS+Music+Service" target=3D"_blank">h=
ttp://dir.xiph.org/search?q=3DDJ+OsiriS+Music+Service</a></code>.<br>This w=
orkaround correctly points to the stream directory search page and works as=
 intended.</p><h3>My Questions:</h3><ol><li><p>Could you please clarify why=
 the=C2=A0<strong>index.php</strong>=C2=A0URL is returning a 404 error?</p>=
</li><li><p>Is there an official update or new URL for the Xiph Directory t=
hat should be used in the Icecast configuration?</p></li><li><p>Is this cha=
nge documented somewhere, or will the official documentation be updated to =
reflect the new URL?</p></li></ol><p>I would appreciate any insights or off=
icial guidance you could provide regarding this issue.</p><p>Thank you in a=
dvance for your time and support.</p><p>Best regards,</p><p>Juan Amores<br>=
Devel<br>DJ OsiriS Music Service</p></div>
</blockquote></div>

--00000000000046b2dd063d2c3812--

--===============9182297763903534956==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Icecast mailing list -- [email protected]
To unsubscribe send an email to [email protected]

--===============9182297763903534956==--