#264: output restart failure
----------------------------+-----------------------------------------------
Reporter: romeodeepmind | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone:
Component: Liquidsoap | Version: 0.9.0+svn
Resolution: | Keywords:
Mac: 1 | Linux: 1
Netbsd: 1 | Other: 1
Freebsd: 1 |
----------------------------+-----------------------------------------------
Comment(by romeodeepmind):
i've recompiled from the latest source. the test with forcifully shutdown
icecast is succeded. logs says:
{{{
2009/04/14 04:06:59 [192mp3:2] Cry socket error: timeout, network failure,
server shutdown? Restarting the output in 3 seconds.
2009/04/14 04:07:03 [192mp3:3] Connecting mount rvk192 for
sou...@localhost...
2009/04/14 04:07:03 [192mp3:2] Connection failed: could not connect to
host
2009/04/14 04:07:03 [192mp3:3] Connection failed, will try again in 3 sec.
<...>
2009/04/14 04:08:15 [192mp3:3] Connection setup was successful.
}}}
another script that reads from previous script's mount point and streams
back to another mountpont says:
{{{
2009/04/14 04:06:59 [src_4702:2] Feeding stopped: Mad.End_of_stream
2009/04/14 04:07:00 [/rvk64a:2] Cry socket error: timeout, network
failure, server shutdown? Restarting the output in 3 seconds.
2009/04/14 04:07:01 [src_4702:4] Connecting to
<http://127.0.0.1:8000/rvk192>...
2009/04/14 04:07:01 [src_4702:4] Connection failed: Unix.Unix_error(59,
"shutdown", "")
2009/04/14 04:07:01 [src_4702:4] End of track.
2009/04/14 04:07:01 [src_4702:4] Buffer emptied, starting buffering.
2009/04/14 04:07:01 [mksafe:3] Switch to safe_blank with forgetful
transition.
2009/04/14 04:07:01 [src_4702:4] Activations changed: static=[],
dynamic=[mksafe:/rvk64a:/rvk64a].
2009/04/14 04:07:01 [safe_blank:4] Activations changed:
static=[mksafe:/rvk64a:/rvk64a], dynamic=[mksafe:/rvk64a:/rvk64a].
2009/04/14 04:07:03 [src_4702:4] Connecting to
<http://127.0.0.1:8000/rvk192>...
2009/04/14 04:07:03 [src_4702:4] Connection failed: Unix.Unix_error(59,
"shutdown", "")
2009/04/14 04:07:04 [/rvk64a:3] Connecting mount /rvk64a for
sou...@localhost...
2009/04/14 04:07:04 [/rvk64a:2] Connection failed: could not connect to
host
2009/04/14 04:07:04 [/rvk64a:3] Connection failed, will try again in 3
sec.
2009/04/14 04:07:05 [src_4702:4] Connecting to
<http://127.0.0.1:8000/rvk192>...
2009/04/14 04:07:05 [src_4702:4] Connection failed: Unix.Unix_error(59,
"shutdown", "")
<...>
2009/04/14 04:08:13 [src_4702:4] Connecting to
<http://127.0.0.1:8000/rvk192>...
2009/04/14 04:08:13 [src_4702:4] Could not get file: File Not Found
2009/04/14 04:08:13 [src_4702:4] Connection failed: Http_source.Internal
2009/04/14 04:08:15 [src_4702:4] Connecting to
<http://127.0.0.1:8000/rvk192>...
2009/04/14 04:08:15 [src_4702:4] Trying playlist parser for mime
audio/mpeg
2009/04/14 04:08:15 [src_4702:4] Content-type "audio/mpeg".
2009/04/14 04:08:15 [src_4702:3] Decoding...
2009/04/14 04:08:16 [/rvk64a:3] Connecting mount /rvk64a for
sou...@localhost...
2009/04/14 04:08:16 [src_4702:3] New metadata chunk "? -- "
2009/04/14 04:08:16 [/rvk64a:3] Connection setup was successful.
}}}
everything seems work, but is it ok to see "Unix.Unix_error(59,
"shutdown", "")" in the second log?
concerning restart: i meaned the restart (or you may say reconnect) of
outputs. liquidsoap was unable to do it on icecast/shoutcast restarts or
on network timeouts.
to raise this kind of errors i was forcifully restarting ice/shout or
trying to brake connections between liquidsoap and shoutcast hosts.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/264#comment:11>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Savonet-trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-trac