PDA

View Full Version : station recently disappeared from shoutcast YP/directory


djdead
2nd February 2012, 20:06
I found the following log entries in my server log:

<02/02/12@12:58:42> [yp_add] yp.shoutcast.com gave error (nak)
<02/02/12@12:58:42> [yp_add] yp.shoutcast.com gave extended error (Inconsistent stream behaviour)

I am not sure when this started as our logs don't go back very far.

The station URL is http://stream2.tormentedradio.com:8070/.

Can anyone tell me what we need to do to get around this error and get back into the YP listings?


Thanks!


--
djdead
https://tormentedradio.com/

djdead
2nd February 2012, 20:16
I did find this topic: http://forums.winamp.com/showthread.php?t=320138

but didn't see a resolution. Our config hasn't changed in over a year, and it was working fine until recently. I did change the IP for the web server https://tormentedradio.com/ recently, but that did not affect the shoutcast server's IP or hostname at all.

DrO
2nd February 2012, 21:28
the problem is from the website site address specified by the DNAS / source giving a redirect to a https version of the address which the YP will not accept as being valid and so it fails the add.

-daz

djdead
2nd February 2012, 21:29
So to fix, just replace the website URL in the source config with https://tormentedradio.com/ so that no redirect happens?

DrO
2nd February 2012, 21:42
i don't believe so though i'm not able to test it fully due to being in the middle of some other YP testing, but i really don't think it's going to accept anything with https as the website - i might be wrong and there's no harm in you trying it out but looking at the YP code, i doubt it'll work).

-daz

djdead
2nd February 2012, 21:45
That seems a little shortsighted, but if that is in fact the case, we can always do a little mod_rewrite magic to not force https for whatever IPs the yp.shoutcast.com does its connect back from. I'll change the URL to https in the source config and see. If it still fails, I'll put it back to http and start on the mod_rewrite rules. I'll let you know. =)

DrO
2nd February 2012, 21:52
it probably is a little short-sighted though as the SHOUTcast system doesn't use https it's not too surprising really. if you can say how it goes then if it doesn't work then i'll have to find some time to properly look into what is / isn't going on as it probably should allow it through for the website (just not for the DNAS address itself as that goes against current protocol specs / support).

-daz

djdead
2nd February 2012, 21:54
<02/02/12@14:53:50> [yp_add] yp.shoutcast.com added me successfully

looks like it doesn't hate https after all, just redirects. thanks for pointing me in the right direction! =)

djdead
2nd February 2012, 21:59
I assume that stations don't show up immediately in the directory, as it hasn't shown up in search results yet for "tormented". now I'm wondering if the genre is going to be an issue.
It's currently "industrial,ebm,synthpop,electro,goth".

DrO
2nd February 2012, 22:04
rightio, is good to be told i'm wrong at times :)

it can take up to 10 minutes normally to re-appear in the listings (though can take up to 30 minutes in some cases - depends on the site server being hit and where it is in it's cycle). though i've just had a look via the Winamp Radio view and am seeing it in there (will generally show up within a minute in that view if it's all working ok).

as for the genre, as you're using a v1 DNAS, the YP will basically try and work out what to use since only 1 main genre is supported but anything else is essentially treated as a secondary keyword / tag and will be shown in the 'tags' part of the site tooltip.

-daz

djdead
2nd February 2012, 22:17
awesome. thanks for the assist! =)