[ http://dev.sourcefabric.org/browse/LS-527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16556#action_16556 ]
MartinS4 commented on LS-527: ----------------------------- Hi Romain, Of course I can :) This is all in a e-mail i've sent to you and the list on 10/06 under the "[Savonet-users] robinet alpha is available !" subject. Here it is: ===== Okay, I dig a little into this issue this morning, and to make this clear, here is the simple test you could run to reproduce: audio = input.alsa(device="pulse") output.shoutcast(%mp3, host="ns0.proxad.net", port = 8010, password = "anything", audio) returns: init: exception encountered during main phase: Tutils.Exit exception: Tutils.Exit Raised by primitive operation at file "", line 0, characters 0-0 Note: the process is stuck as well. (kill -9) audio = input.alsa(device="pulse") output.shoutcast(%mp3, host="yahoo.fr", port = 8010, password = "anything", audio) returns nothing at first ! looks like the process is stuck. Then the previous exception is raised, after ~3 min. Btw the process remains unbreakable. (kill -9) of course I've put ns0.proxad.net and yahoo.fr to show evidence. And now look what is interesting ! telnet yahoo.fr 8010 Trying 87.248.120.148... (nothing happen => ^C) telnet ns0.proxad.net 8010 Trying 212.27.32.2... telnet: Unable to connect to remote host: Connection refused The connection mecanism is not handled the same way by remote server/firewall. I would guess that yahoo "drops" and proxad "rejects". Anyway it doesn't change the process state in the end but it could be a path. So for me it has nothing to do with any shoutcast / icecast thing. It's pure socket-related. ===== > Freeze when connecting on a closed shoutcast port > ------------------------------------------------- > > Key: LS-527 > URL: http://dev.sourcefabric.org/browse/LS-527 > Project: Liquidsoap > Issue Type: Bug > 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 ------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev _______________________________________________ Savonet-devl mailing list Savonet-devl@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-devl