Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   Shoutcast Technical Support (http://forums.winamp.com/forumdisplay.php?f=86)
-   -   Unable to tune into radio station (http://forums.winamp.com/showthread.php?t=373128)

lipusal 16th October 2013 00:29

Unable to tune into radio station
 
Hi, everyone. I've finished setting up a radio station I want to run with a friend to do music and voice, but I can't seem to tune into the station. Details:

-Installed SHOUTcast on my Ubuntu Dekstop 12.04 server.
-Port-forwarded ports 8000-8001
-Installed WinAmp on my Windows computer as well as the SHOUTcast DSP.
-With my current settings on the DSP, I can connect fine. It says that it's sending bytes all the time, whether it's from my microphone or WinAmp.
-I can also connect to the admin page, both from my LAN and WAN address. In there it displays the currently playing track or a random track name when the microphone is on. Status is "Server is currently up and public (no YP connection)"

If I click Listen and download the .pls file, when I open it on iTunes, nothing happens. It immediately skips to my next song. On Windows Media Player, it simply says it cannot open the URL.

Any ideas? I'll be glad to provide you with more info if needed. Thanks a million!

DrO 16th October 2013 00:33

1) you've not created an authhash for the stream -> http://wiki.winamp.com/wiki/SHOUTcas...ash_Management

2) you've not opened the ports correctly which prevents the DNAS from being correctly seen on the internet -> http://wiki.winamp.com/wiki/SHOUTcas...ll.2FISP_cache. (though you mention you have which is why i've listed it second if only to re-check if #1 is not the case).


additionally, you can check the DNAS's logs for any error messages being reported especially being prefixed with [YP] or [YP2].

lipusal 16th October 2013 00:39

Quote:

Originally Posted by DrO (Post 2970677)
1) you've not created an authhash for the stream -> http://wiki.winamp.com/wiki/SHOUTcas...ash_Management

2) you've not opened the ports correctly which prevents the DNAS from being correctly seen on the internet -> http://wiki.winamp.com/wiki/SHOUTcas...ll.2FISP_cache. (though you mention you have which is why i've listed it second if only to re-check if #1 is not the case).


additionally, you can check the DNAS's logs for any error messages being reported especially being prefixed with [YP] or [YP2].

Thanks for your reply! I'll get back to you shortly after I check this. By the way, do you know if it's at all possible to embed the stream into a website?

Thanks again!

lipusal 16th October 2013 02:48

Works Sometimes
 
Quote:

Originally Posted by DrO (Post 2970677)
1) you've not created an authhash for the stream -> http://wiki.winamp.com/wiki/SHOUTcas...ash_Management

2) you've not opened the ports correctly which prevents the DNAS from being correctly seen on the internet -> http://wiki.winamp.com/wiki/SHOUTcas...ll.2FISP_cache. (though you mention you have which is why i've listed it second if only to re-check if #1 is not the case).


additionally, you can check the DNAS's logs for any error messages being reported especially being prefixed with [YP] or [YP2].

Yay, it works! Only partially, though.
I created the Authhash and I tested it as follows:

-Station listed - yes
-Laptop (not the one streaming with WinAmp) with WAN - worked
-Computer (streaming) with WAN - didn't work
-Computer with LAN - worked
-Computer outside my house with WAN - didn't work. Log said something like:

code:
msg:[SRC 189.249.19.163:51884] Remote socket closed while waiting for data


Does this mean my port forwarding is incorrect?

Now, my friend with his outside computer started the stream and created the Authhash, but I can't see any changes on the admin page. Still says no Authhash and doesn't change until I go in myself and create the Authhash myself on my end.

When I create the Authhash, I have to do it every time as well. I read your post about it and added the streamauthhash_x= line to my sc_serv_simple.conf file which is the one I tell the program to load when I start it. Hasn't made a difference though :/

There's also some [YP] error logs when working with the Authhash:

code:
msg:[YP2] Connecting to yp.shoutcast.com
2013-10-15 21:45:10 E msg:[DST 205.188.202.172:59672 sid=1] SHOUTcast 1 client connection rejected. Stream not available. SHOUTcast Directory Tester
2013-10-15 21:45:10 I msg:[DST 205.188.202.172:59672 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 0] Agent: `SHOUTcast Directory Tester'
2013-10-15 21:45:10 E msg:[YP2] /yp/resp/updatefreq missing
2013-10-15 21:45:10 E msg:[YP2] Connection attempt failed. YP2 error code is 470 (Invalid authorization hash)
2013-10-15 21:46:10 I msg:[YP2] Connecting to yp.shoutcast.com
2013-10-15 21:46:10 E msg:[DST 205.188.202.172:64914 sid=1] SHOUTcast 1 client connection rejected. Stream not available. SHOUTcast Directory Tester
2013-10-15 21:46:10 I msg:[DST 205.188.202.172:64914 sid=1] SHOUTcast 1 client connection closed (0 seconds) [Bytes: 0] Agent: `SHOUTcast Directory Tester'
2013-10-15 21:46:10 I msg:[YP2] Connected to yp.shoutcast.com. The station should now be listed in the SHOUTcast Radio Directory (YP).
2013-10-15 21:46:11 I msg:[YP2] Connecting to yp.shoutcast.com



It repeats that last line every time the song changes or someone manages to connect.

Summary:
-Missing Authhash was the problem.
-With Authhash, not everybody can connect apparently
-My friend can't make Authhashes
-Server doesn't remember Authhashes

DrO 16th October 2013 17:58

try things with v2.2 from http://forums.winamp.com/showthread.php?t=373139 as things like the authhash not being remembered are all known v2.0 issues (when you've not got a streamid entry in the config file which v2.2 resolves amongst many other things).

lipusal 16th October 2013 21:01

Ok, thank you! I'll let you know if any more problems arise :)

DrO 22nd October 2013 12:24

did you get a chance to try with v2.2 and did it help with the issue ?

lipusal 22nd October 2013 19:11

I actually went on to try Mixlr which was much easier to set up. I did not get to try v2.2 on my server but I'm sure it would've fixed the missing SessAuth problem. Besides that, though, the stream seemed to be working.

Thanks for all your help! If you'd still like me to test it just to be sure, I can do that.


All times are GMT. The time now is 15:04.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.