Re: Wrong listenurl

Jordan Erickson <[email protected]> Mon, 17 Feb 2025 10:38:10 -0800
Newsgroups gmane.comp.audio.icecast.general
Organization SubJam, SPC
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============4191980099478763009==
Content-Type: multipart/alternative;
 boundary="------------su6hHe5ngm0zM5vp0zmXeQm3"
Content-Language: en-US

This is a multi-part message in MIME format.
--------------su6hHe5ngm0zM5vp0zmXeQm3
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Hey Ervin,

Your <hostname> isn't supposed to be your full listen URL, but just the 
hostname. Something like:

<hostname>myhostname</hostname>

The web interfaces will automatically generate the correct URL based on 
your hostname, port, mountpoint, etc.

See: https://icecast.org/docs/icecast-trunk/config_file/


Cheers,
Jordan Erickson


On 2/17/25 10:25, Ervin Bizjak wrote:
> I run 2 streams (2x icecast). First stream is http on port 8080, 
> second https on port 8443.
>
> If I look in administrator http://xxx.xxx.xxx.xxx:8080/admin/stats.xsl 
> listenurl display that link: 
> http://http://xxx.xxx.xxx.xxx:8080/mystream.mp3:8080/mystream.mp3
> in icecast.xml is: 
> <hostname>http://xxx.xxx.xxx.xxx:8080/mystream.mp3</hostname>
>
> and
>
> https://xxx.xxx.xxx.xxx:8443/admin/stats.xsl listenurl display that 
> link: http://https://xxx.xxx.xxx.xxx:8443/mystream.mp3:8443/mystream.mp3
> in icecast.xml is: 
> <hostname>http://xxx.xxx.xxx.xxx:8443/mystream.mp3</hostname>
>
> What can I do wrong? How do I resolve this?
>
> Thank you for reply
>
> Regards,
> Ervin
>
> _______________________________________________
> Icecast mailing list
> [email protected]
> http://lists.xiph.org/mailman/listinfo/icecast

--------------su6hHe5ngm0zM5vp0zmXeQm3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hey Ervin,<br>
    <br>
    Your &lt;hostname&gt; isn't supposed to be your full listen URL, but
    just the hostname. Something like:<br>
    <br>
    &lt;hostname&gt;myhostname&lt;/hostname&gt;<br>
    <br>
    The web interfaces will automatically generate the correct URL based
    on your hostname, port, mountpoint, etc.<br>
    <br>
    See: <a class="moz-txt-link-freetext" href="https://icecast.org/docs/icecast-trunk/config_file/">https://icecast.org/docs/icecast-trunk/config_file/</a><br>
    <br>
    <br>
    Cheers,<br>
    Jordan Erickson<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 2/17/25 10:25, Ervin Bizjak wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABDatATtROzDKAQBOd0GKrhM-u6o862zbWe3ZianA1q6Kjxvpw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default" style="font-size:large">I run 2
          streams (2x icecast). First stream is http on port 8080,
          second https on port 8443.<br>
          <br>
          If I look in administrator <a
            href="http://xxx.xxx.xxx.xxx:8080/admin/stats.xsl"
            moz-do-not-send="true" class="moz-txt-link-freetext">http://xxx.xxx.xxx.xxx:8080/admin/stats.xsl</a>
          listenurl display that link: http://<a
href="http://xxx.xxx.xxx.xxx:8080/mystream.mp3:8080/mystream.mp3"
            moz-do-not-send="true" class="moz-txt-link-freetext">http://xxx.xxx.xxx.xxx:8080/mystream.mp3:8080/mystream.mp3</a><br>
          in icecast.xml is: &lt;hostname&gt;<a
            href="http://xxx.xxx.xxx.xxx:8080/mystream.mp3"
            moz-do-not-send="true" class="moz-txt-link-freetext">http://xxx.xxx.xxx.xxx:8080/mystream.mp3</a>&lt;/hostname&gt;<br>
          <br>
          and<br>
          <br>
          <a href="https://xxx.xxx.xxx.xxx:8443/admin/stats.xsl"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://xxx.xxx.xxx.xxx:8443/admin/stats.xsl</a>
          listenurl display that link: http://<a
href="https://xxx.xxx.xxx.xxx:8443/mystream.mp3:8443/mystream.mp3"
            moz-do-not-send="true" class="moz-txt-link-freetext">https://xxx.xxx.xxx.xxx:8443/mystream.mp3:8443/mystream.mp3</a><br>
          in icecast.xml is: &lt;hostname&gt;<a
            href="http://xxx.xxx.xxx.xxx:8443/mystream.mp3"
            moz-do-not-send="true" class="moz-txt-link-freetext">http://xxx.xxx.xxx.xxx:8443/mystream.mp3</a>&lt;/hostname&gt;<br>
          <br>
          What can I do wrong? How do I resolve this?<br>
          <br>
          Thank you for reply</div>
        <div class="gmail_default" style="font-size:large"><br>
        </div>
        <div class="gmail_default" style="font-size:large">Regards,</div>
        <div class="gmail_default" style="font-size:large">Ervin</div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre wrap="" class="moz-quote-pre">_______________________________________________
Icecast mailing list
<a class="moz-txt-link-abbreviated" href="mailto:[email protected]">[email protected]</a>
<a class="moz-txt-link-freetext" href="http://lists.xiph.org/mailman/listinfo/icecast">http://lists.xiph.org/mailman/listinfo/icecast</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>

--------------su6hHe5ngm0zM5vp0zmXeQm3--

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

_______________________________________________
Icecast mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/icecast

--===============4191980099478763009==--