#29 socket error whe trying to connect

open
None
5
2011-10-25
2011-10-25
raffaele
No

I am getting this log from idjc when trying to connect so a shoutcast server. Moreover, if I choose ogg or speech in the format tab the connect button turns grey.
I am on amd64 debian testing, idjc version is 0.8.5-3, any idea on what's wrong?

regards
raffaele

----
Toggle OFF recieved for signal: Listen
stream-mon was toggled ON
crossfader pattern changed
failed to parse server stats for http://localhost:8000
encoder_start: resampler will not be used
encoder_start: successfully started the encoder
streamer_connect: shout_get_error reports: Socket error
encoder_unregister_client called
encoder_unregister_client finished
command failed for command: server_connect
streamer_disconnect: disconnection_request is set
streamer_disconnect: disconnection complete
encoder_plugin_terminate: waiting for encoder to finish
strange error flushing buffer ...
live_mp3_encoder_main: flushing 0 bytes
live_mp3_encoder_main: performing cleanup
live_mp3_encoder_main: finished cleanup
encoder_stop: encoder is stopped

Discussion

  • raffaele

    raffaele - 2011-10-25
    • assigned_to: nobody --> s-fairchild
     
  • Stephen Fairchild

    Possibly the wrong port number. Try reducing it by 1. You need to enter the base port setting as entered in the shoutcast configuration file of the server which is the one that listeners use if you enter 8000 the stream goes to the server on 8001.

    Also, IDJC does not support Ogg formats to Shoutcast.

     
  • raffaele

    raffaele - 2011-10-25

    looked at netstat -al -t tcp and found only 8001 and 8000 listening (sc_serv is at 8000), both didn't work
    I tried starting sc_trans with 8505 with no success.. really can't guess what's going on. Could it be a jack issue?
    I can post my shoutcast/jackd conf if needed.

     
  • raffaele

    raffaele - 2011-10-25

    I have found this error lines in kernel logs, it's raised when starting idjc, if it helps...

    25/10/2011 17:56:53 idjcsourceclien[20551]: segfault at 18 ip 00007f528205392c sp 00007fff344e5760 error 4 in libc-2.13.so[7f5281fe1000+17a000]
    25/10/2011 18:02:50 idjcsourceclien[20807]: segfault at 7f1484bfa7a0 ip 00007f148333490d sp 00007fff6eb5b9b0 error 4 in libc-2.13.so[7f14832c2000+17a000]

     
  • Stephen Fairchild

    IDJC package is broken possibly after some software update. I guess you could report this to the package maintainer.

    Build IDJC from source using instructions here:
    http://idjc.sourceforge.net/install_build.html

     
  • raffaele

    raffaele - 2011-10-27

    well, finally the problem is solved on a box but not on another.
    two linux amd64 debian boxes, both on testing/wheezy, so same packages versions.
    one works, the other doesn't.
    I have built idjc both from latest release and from git, the libc related error disappeared from system logs but still I have this "streamer_connect: shout_get_error reports: Socket error"
    should I start some service in order to get shoutcast+idjc working properly? eg. rpcbind, avahi...

     
  • Stephen Fairchild

    Did you try pinging the server?

     
  • Stephen Fairchild

    Did you try pinging the server?

     
  • raffaele

    raffaele - 2011-10-28

    Yes, I can ping "localhost" as hostname, but idjc connects succesfully only using 127.0.0.1
    I would never expected a connection error because in my /etc/hosts I have:
    127.0.0.1 localhost localhost.localdomain
    127.0.1.1 debian debian

    BTW everything it's working and idjc it's really great! and jack support make it a killer app
    thank you

    PS: I can help in translation/howto if needed

     
  • Stephen Fairchild

    The language translation stuff is to be found in the po directory of the git sources. Your assistance and especially if you can form a team to tackle this task would be appreciated.

    http://www.gnu.org/software/gettext/manual/gettext.html

    For a po file editor I suggest QT Linguist.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks