[Icecast] Relay errors in logs

Milton Huang mph at emotrics.com
Tue Oct 25 01:53:20 UTC 2022


Not exactly sure I understand what you are trying to do, but I don't think
you need the <mount> section for the Fallback

> <mount>
>      <mount-name>/Fallback</mount-name>
>      <burst-size>6553</burst-size>
> </mount>

What happens if you delete it?

I am running into the same issue with waiting for the Relay to poll its
Master. I sent an email out about that on July 13th titled notifying relays but
never got a response from anyone. Maybe I messed up my address, I'll resend
and see if anyone has an idea.

On Mon, Oct 17, 2022 at 5:07 AM Dik .... <dik23 at hotmail.com> wrote:

> Doesn't anyone have any ideas about this?
> ------------------------------
> *From:* Icecast <icecast-bounces at xiph.org> on behalf of Dik .... <
> dik23 at hotmail.com>
> *Sent:* 28 September 2022 14:37
> *To:* Icecast user discussions <icecast at xiph.org>
> *Subject:* [Icecast] Relay errors in logs
>
> icecast2 2.4.4-3ubuntu0.1 Ubuntu 20.04.5
>
> I have set up a relay back to the localhost icecast server so that I can
> have one mountpoint with a fallback and one without
>
> I have 2 questions.  1st is why am I getting the following in error.log
> when nothing is connected to /input, is there anything I've missed?
>
> [2022-09-28  12:29:49] INFO slave/start_relay_stream Starting relayed
> source at mountpoint "/relay"
> [2022-09-28  12:29:49] INFO slave/open_relay_connection connecting to
> domain.name:8000
> [2022-09-28  12:29:49] INFO fserve/fserve_client_create checking for file
> /input (/usr/share/icecast2/web/input)
> [2022-09-28  12:29:49] WARN fserve/fserve_client_create req for file
> "/usr/share/icecast2/web/input" No such file or directory
> [2022-09-28  12:29:49] EROR slave/open_relay_connection Error from relay
> request: /relay (File Not Found)
>
>
> 2nd is in order for /relay to update in any resonable amount of time once
> the stream is started to /input I have to set master-update-interval very
> low, in this case 2.  Again have I missed something?
>
> Thanks in advance for any help
>
> icecast.xml :
>
> <icecast>
>
> <mount>
>      <mount-name>/relay</mount-name>
>      <burst-size>67000</burst-size>
>
>      <fallback-mount>/Fallback</fallback-mount>
>      <fallback-override>1</fallback-override>
>
> </mount>
>
> <mount>
>      <mount-name>/input</mount-name>
>      <stream-name>Input</stream-name>
>      <stream-url>http://domain.name:8000/input</stream-url>
>      <username>input</username>
>      <password>input-password</password>
>      <public>1</public>
>      <burst-size>67000</burst-size>
> </mount>
>
> <relay>
>     <server>domain.name</server>
>     <port>8000</port>
>     <mount>/input</mount>
>     <local-mount>/relay</local-mount>
>     <username>relay</username>
>     <password>relay-password</password>
>     <relay-shoutcast-metadata>0</relay-shoutcast-metadata>
>     <on-demand>0</on-demand>
> </relay>
>
> <mount>
>      <mount-name>/Fallback</mount-name>
>      <burst-size>6553</burst-size>
> </mount>
>
> <master-update-interval>2</master-update-interval>
>
>     <location>location</location>
>     <admin>admin</admin>
>
>     <limits>
>         <clients>2000</clients>
>         <sources>30</sources>
>         <queue-size>3932100</queue-size>
>         <client-timeout>30</client-timeout>
>         <header-timeout>15</header-timeout>
>         <source-timeout>1</source-timeout>
>              <burst-on-connect>1</burst-on-connect>
>              <burst-size>131070</burst-size>
>     </limits>
>
>     <authentication>
>         <source-password>source-password</source-password>
>         <relay-password>relay-password</relay-password>
>         <admin-user>admin</admin-user>
>         <admin-password>admin-password</admin-password>
>     </authentication>
>
>     <hostname>domain.name</hostname>
>     <server-id>icecast</server-id>
>
>     <listen-socket>
>         <port>8000</port>
>
>     </listen-socket>
>
>     <listen-socket>
>         <port>8443</port>
>         <ssl>1</ssl>
>     </listen-socket>
>
>     <http-headers>
>         <header name="Access-Control-Allow-Origin" value="*" />
>         <header name="X-Robots-Tag" value="noindex, noarchive, nofollow,
> noimageindex, nocache, nosnippet, notranslate, noyaca" status="200" />
>         <header name="X-Clacks-Overhead" value="GNU Terry Pratchett" />
>     </http-headers>
>
>     <fileserve>1</fileserve>
>
>     <paths>
>         <basedir>/usr/share/icecast2</basedir>
>         <logdir>/var/log/icecast2</logdir>
>         <webroot>/usr/share/icecast2/web</webroot>
>         <adminroot>/usr/share/icecast2/admin</adminroot>
>         <alias source="/" destination="/status.xsl"/>
>         <ssl-certificate>/etc/icecast2/cert/bundle.pem</ssl-certificate>
>     </paths>
>
>     <logging>
>         <accesslog>access.log</accesslog>
>         <errorlog>error.log</errorlog>
>         <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
>         <logsize>10000</logsize> <!-- Max size of a logfile -->
>     </logging>
>
>     <security>
>         <chroot>0</chroot>
>          <changeowner>
>             <user>icecast2</user>
>             <group>icecast</group>
>          </changeowner>
>     </security>
> </icecast>
>
>
>
>
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20221024/4f13092b/attachment.htm>


More information about the Icecast mailing list