[ 
http://dev.sourcefabric.org/browse/LS-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17340#action_17340
 ] 

MartinS4 edited comment on LS-527 at 8/1/11 1:20 PM:
-----------------------------------------------------

The behavior for "connection refused" has changed in mercurial these days. Now 
it just exit (which is not expected neither :D)

2011/08/01 14:58:34 [4191d049-88fc-46ee-ac7f-200562b323a0:2] Connection failed: 
could not connect to host: Connection refused in connect()!
2011/08/01 14:58:34 [threads:3] Thread "wallclock_pulse" exited.
2011/08/01 14:58:34 [main:3] Shutdown started!
2011/08/01 14:58:34 [main:3] Waiting for threads to terminate...
2011/08/01 14:58:34 [dummy:4] Activations changed: static=[], dynamic=[].
2011/08/01 14:58:34 [source:4] Source dummy gets down.
2011/08/01 14:58:34 [blank_5432:4] Activations changed: static=[], dynamic=[].
2011/08/01 14:58:34 [source:4] Source blank_5432 gets down.
2011/08/01 14:58:34 [clock.wallclock_main:3] Streaming loop stopped.
2011/08/01 14:58:34 [threads:3] Thread "wallclock_main" terminated (0 
remaining).
2011/08/01 14:58:34 [main:3] Cleaning downloaded files...
2011/08/01 14:58:34 >>> LOG END

To reproduce:
$ liquidsoap 'output.shoutcast(%mp3, host="ns0.proxad.net", port = 8010, 
password = "anything", blank())'

When on the command line, it could make sense to exit... In a server/dynamic 
context this is not really relevant

      was (Author: martin):
    The behavior for "connection refused" has changed in mercurial these days. 
Now it just exit (which is not expected neither :D)

2011/08/01 14:58:34 [4191d049-88fc-46ee-ac7f-200562b323a0:2] Connection failed: 
could not connect to host: Connection refused in connect()!
2011/08/01 14:58:34 [threads:3] Thread "wallclock_pulse" exited.
2011/08/01 14:58:34 [main:3] Shutdown started!
2011/08/01 14:58:34 [main:3] Waiting for threads to terminate...
2011/08/01 14:58:34 [dummy:4] Activations changed: static=[], dynamic=[].
2011/08/01 14:58:34 [source:4] Source dummy gets down.
2011/08/01 14:58:34 [blank_5432:4] Activations changed: static=[], dynamic=[].
2011/08/01 14:58:34 [source:4] Source blank_5432 gets down.
2011/08/01 14:58:34 [clock.wallclock_main:3] Streaming loop stopped.
2011/08/01 14:58:34 [threads:3] Thread "wallclock_main" terminated (0 
remaining).
2011/08/01 14:58:34 [main:3] Cleaning downloaded files...
2011/08/01 14:58:34 >>> LOG END

  
> Exception raised + input.alsa -> freeze
> ---------------------------------------
>
>                 Key: LS-527
>                 URL: http://dev.sourcefabric.org/browse/LS-527
>             Project: Liquidsoap
>          Issue Type: Bug
>          Components: Liquidsoap
>            Reporter: Samuel Mimram
>            Assignee: Romain Beauxis
>            Priority: Blocker
>
> From the ML:
> While I was tweaking the "dynamic sources" script, I have discovered
> that (I guess) using an non-available port to connect to the streaming
> server is freezing the liquidsoap process. I don't know if it's expected
> or not.
> What I get from the log is:
> 2011/05/12 18:03:52 [output(dot)shoutcast:2] Connection failed: could
> not connect to host: Connection timed out in connect()!
> 2011/05/12 18:03:52 [clock.wallclock_main:2] Error when starting output
> output(dot)shoutcast: Tutils.Exit!
> In the meantime and after this, the telnet prompt is unavailable.
> Ctrl^C gives:
> 2011/05/12 18:07:30 [main:3] Shutdown started!
> 2011/05/12 18:07:30 [main:3] Waiting for threads to terminate...
> but with no success: the only way I have found to terminate liquidsoap
> is killall -9 liquidsoap.
> I have to specify that I am running liquidsoap in a virtual host.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Savonet-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à