[Hpr] Icecast relay fallback problem

Ken Fallon ken.fallon at gmail.com
Thu Dec 20 13:21:30 PST 2012


As some of you know there is been sterling work been done by several
members of the community to put everything together for the new year
show. There have been servers built, scripts written, bandwidth tested
and nerves calmed. 

We have also received a brand spanking new VPS with root access for
automating tasks on HPR and on there I have installed one of the
icecast mirrors (Icecast 2.3.3) which will mirror Kevin's stream.
During the off time I would like it to stream CC music or past shows.

Which brings me to the problem :) I have setup the relay and it fails
but it doesn't fallback to the /cchits.ogg mount. The other mount
"/stream.ogg" fails back fine.

Here is the config:
    <relay>
        <server>165.138.3.131</server>
        <port>8000</port>
        <mount>/streaming</mount>
        <localmount>/streaming</localmount>
        <fallback-mount>/cchits.ogg</fallback-mount>
        <fallback-override>1</fallback-override>
    </relay>
    <mount>
        <mount-name>/cchits.ogg</mount-name>
    </mount>
   <mount>
        <mount-name>/stream.ogg</mount-name>
        <fallback-mount>/cchits.ogg</fallback-mount>
        <fallback-override>1</fallback-override>
        <hidden>0</hidden>
   </mount>

Here are the error messages from the logs

Error on opening http://live.hackerpublicradio.org:8000/streaming


[2012-12-20  05:19:55] DBUG stats/modify_node_event update global connections (6)
[2012-12-20  05:19:55] DBUG stats/modify_node_event update global client_connections (5)
[2012-12-20  05:19:55] DBUG stats/modify_node_event update global clients (1)
[2012-12-20  05:19:55] INFO fserve/fserve_client_create checking for file /streaming (/usr/share/icecast/web/streaming)
[2012-12-20  05:19:55] WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/streaming" No such file or directory
[2012-12-20  05:19:55] DBUG fserve/fserve_add_client Adding client to file serving engine
[2012-12-20  05:19:55] DBUG fserve/fserve_add_pending fserve handler waking up
[2012-12-20  05:19:55] DBUG fserve/fserv_thread_function fserve handler exit
[2012-12-20  05:19:56] DBUG stats/modify_node_event update global clients (2)
[2012-12-20  05:19:56] DBUG stats/modify_node_event update global connections (7)
[2012-12-20  05:19:56] DBUG stats/modify_node_event update global client_connections (6)
[2012-12-20  05:19:56] DBUG stats/modify_node_event update global clients (1)
[2012-12-20  05:19:56] INFO fserve/fserve_client_create checking for file /streaming (/usr/share/icecast/web/streaming)
[2012-12-20  05:19:56] WARN fserve/fserve_client_create req for file "/usr/share/icecast/web/streaming" No such file or directory
[2012-12-20  05:19:56] DBUG fserve/fserve_add_client Adding client to file serving engine
[2012-12-20  05:19:56] DBUG fserve/fserve_add_pending fserve handler waking up
[2012-12-20  05:19:56] DBUG fserve/fserv_thread_function fserve handler exit
[2012-12-20  05:19:56] DBUG stats/modify_node_event update global clients (2)
[2012-12-20  05:19:56] DBUG stats/modify_node_event update global connections (8)
[2012-12-20  05:19:56] DBUG stats/modify_node_event update global client_connections (7)
[2012-12-20  05:19:56] DBUG stats/modify_node_event update global clients (1)
[2012-12-20  05:19:58] DBUG stats/modify_node_event update "/cchits.ogg" total_bytes_read (4161225)
[2012-12-20  05:19:58] DBUG stats/modify_node_event update "/cchits.ogg" total_bytes_sent (98703)

Log on successful fallback
http://live.hackerpublicradio.org:8000/stream.ogg

[2012-12-20  05:21:03] DBUG stats/modify_node_event update "/cchits.ogg" total_bytes_read (4601385)
[2012-12-20  05:21:03] DBUG stats/modify_node_event update "/cchits.ogg" total_bytes_sent (98703)
[2012-12-20  05:21:06] DBUG auth/add_listener_to_source max on /cchits.ogg is -1 (cur 0)
[2012-12-20  05:21:06] DBUG auth/add_listener_to_source Added client to /cchits.ogg
[2012-12-20  05:21:06] DBUG auth/add_authenticated_listener client authenticated, passed to source
[2012-12-20  05:21:06] DBUG source/source_main Client added
[2012-12-20  05:21:06] INFO source/source_main listener count on /cchits.ogg now 1
[2012-12-20  05:21:06] DBUG stats/modify_node_event update global clients (2)
[2012-12-20  05:21:06] DBUG stats/modify_node_event update global connections (9)
[2012-12-20  05:21:06] DBUG stats/modify_node_event update global client_connections (8)
[2012-12-20  05:21:06] DBUG stats/modify_node_event update "/cchits.ogg" listeners (1)
[2012-12-20  05:21:07] DBUG format/format_check_http_buffer processing pending client headers
[2012-12-20  05:21:07] DBUG stats/modify_node_event update global listeners (1)
[2012-12-20  05:21:07] DBUG stats/modify_node_event update global listener_connections (2)
[2012-12-20  05:21:08] DBUG stats/modify_node_event update "/cchits.ogg" total_bytes_read (4635265)
[2012-12-20  05:21:08] DBUG stats/modify_node_event update
"/cchits.ogg" total_bytes_sent (174615)

Any help hints links carma etc ....

Ken.




More information about the Hpr mailing list