![]() |
#1 |
Junior Member
|
Found a possible bug with SC2.
Hey all,
So decided to do this without much forethought and found myself in a bad situation. I got everything working with SC2 in Legacy v1 the way I want except for I noticed a little problem. If riponly or streamriponly is setup on a legacy v1 setup, it denies access to the web administration site. it says the IP isn't in the reserve IP list, but it is, and, additionally, Winamp can connect to it and get the stream. So is this a bug? I can turn on RIPONLY and works as intended for the streams, but denies web connections, even though the IP is present, so I have no access to the web interface until this problem is solved. Is there another option I've missed somewhere? I've tried both the riponly and streamriponly options, and the result is the same. Thanks for any help you can provide. -- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#2 |
Join Date: Sep 2003
Posts: 27,873
|
i might already have fixed that quirk for the next v2 DNAS release but will have to double-check and let you know / try out a test build to see if all works ok.
-daz |
![]() |
![]() |
![]() |
#3 |
Junior Member
|
Okay. I'll be happy to test that out for you. I use a bit more of a secure network using that feature than most people.
What's the suggested config when not using the transcoder to do a relay setup for a legacy v1 setup? Apparently, I'm having trouble getting it to work. Thanks. -- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#4 |
Join Date: Sep 2003
Posts: 27,873
|
will need to know what platform version of the DNAS you're using (so i can sort out an appropriate test build).
with the relaying question, either streamrelayurl or relayserver + relayport can be used to specify it. though there are some 'quirks' with what's allowed (e.g. handling of http:// on the url or it not being always recognised as a stream configuration) with the public build so the test build will be better to work against trying it out. -daz |
![]() |
![]() |
![]() |
#5 |
Junior Member
|
I'm using FreeBSD 8.x build. And I'm finding relays not working at all no matter what i've tried. it's like it doesn't even try to contact the relay server when the data is in:
I've tried: relayport=10000 relayserver=http://serverhostname:10000/ i've also tried the above with the port, and with relayserver just being the serverhostname I've also tried: streamid=1 streamrelayurl=http://serverhostname:10000/stream/1/ as well as streamrelayurl=http://serverhostname:10000/ and streamrelayurl_1=http://serverhostname:10000/stream/1/ and streamrelayurl_1=http://serverhostname:10000/ can't seem to get anything to work. and with DNAS 1.9.8 not working at all on 8.x, i'm a little stuck. -- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#6 | |
Join Date: Sep 2003
Posts: 27,873
|
for the relayserver+relayport method (which is what the v1 DNAS used) it should be
Quote:
though as mentioned in my prior reply, there are some issues with relay settings being processed with the public build so it'll be simpler for debugging, etc against the test build which has a slew of fixes for such things in place. -daz |
|
![]() |
![]() |
![]() |
#7 |
Junior Member
|
yeah, i've been looking at the debugs for the relay servers and what not via the log file, and haven't seen anything. I turned on all the debugs just to verify, but one server has so much chatter with people trying to connect, it makes it impossible to be able to follow, so i limited it to source and relay options and turned off client logging for now. The relay server and the server it's relaying from both have debugging turned on, and that's why I said it seems like it doesn't do anything, because there is no log entries either way. I'll try it again.
Thanks. -- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#8 |
Join Date: Sep 2003
Posts: 27,873
|
pm sent with a link to a BSD test build to try out. have changed things so that if riponly is set, connecting from 127.0.0.1 will always be allowed through for the admin pages.
-daz |
![]() |
![]() |
![]() |
#9 |
Junior Member
|
Early Reports
Thanks, DrO. I got the test version you sent. I've so far tested the relay and it appears to work. I noticed that when using a relay, it forces me to use yp2 mode, even though i selected legacy mode. I also noticed that if the publicserver=default (or always) and it doesn't make a connection to the YP, it doesn't allow any clients to listen. That raises a concern, because if for some reason the yp becomes unavailable, direct listens won't work. Is that something that can be worked around? Apparently, I need setup an authhash for our station, but I haven't done it yet. I still need to test the riponly / streamriponly issue. I'll follow up in a bit on that.
Thanks for all your help. -- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#10 | |||
Join Date: Sep 2003
Posts: 27,873
|
Quote:
Quote:
Quote:
will be good to know if that's resolved as well for you. -daz |
|||
![]() |
![]() |
![]() |
#11 |
Junior Member
|
I checked it out.
The relays are forcing yp2 mode. If you specify a relayport and relayserver, it acts like you've specified streamrelayurl and says that yp2 must be turned on. So far, I've checked the RIP system, and I think that's working now as intended. Well, I see that yp2 issue as a problem if the YP ever goes down for an extended period of time or AOL/Nullsoft decides to stop supporting the service entirely. That would be pretty unfortunate either way for the stations. Not sure how I want to deal with that for now. -- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#12 | |||
Join Date: Sep 2003
Posts: 27,873
|
Quote:
Quote:
Quote:
if it did go down then switching the DNAS to run in private mode would be the simplest way around it (though at the moment the v2 DNAS doesn't allow for changing that on the fly in all cases). then again, the service going away would affect v1 stations in a similar manner, so i think you might be over considering things (though can see why). though as the yp2 mode works with the stored authhash details then i'd hope it makes sense why if the details cannot be obtained that the DNAS probably shouldn't be running as no details &/or no YP connection when set to be public is an invalid setup. at least it won't drop listeners if the YP connection goes away whilst the DNAS is running unlike the v1 DNAS can do. -daz |
|||
![]() |
![]() |
![]() |
#13 | |||
Junior Member
Join Date: Feb 2004
Posts: 2
|
This thread has me interested in exactly how YP2/sc_serv2 actually work in comparison to v1 with regard to end-to-end reliability of a stream broadcast using v2 of the platform.
Quote:
Quote:
Does this imply that if the YP2 directory connection cannot be made in the middle of an ongoing streaming session, then all clients who might try to connect after the YP2 link goes down will be denied while the connected listeners still remain engaged with the DNAS as if nothing happened? Does this also imply that the YP2 is queried upon every client login and forwards the stream details at this time, furthermore implying that such stream information is not cached within sc_serv2 during its runtime? Quote:
With V1, all I can figure is that there would be no public YP directory listing for the stream. This lack of YP services does not preclude a stored URL in a playlist, nor a direct link from a website. V2 denies client connections if the back-end link to the YP is severed. V1 streams remain connectible regardless of YP interaction. Clients provided with direct links or with stored playlists always have the URL to the stream, and should at any moment be able to connect as they already know where the stream is. There is -no- requirement that clients visit the Shoutcast.com YP to access the stream in any case, thus there should be no denial for clients with a direct link in ANY situation. Why does V2 have this as a designed-in bug? Is Nullsoft able to guarantee they will never go down, thus wrongfully denying radio listeners their stream due to a bad design of the DNAS? If the stream was working, and your ISP's core router fails at an inopportune moment, why should I have to change my configuration to fix your problem? Please explain this. I am very curious. ![]() With the amount of potential for your failure to become my failure, why exactly would use such risky software? The only answer possible: Your market share locks customers in. There is no alternative directory that is in the mind of the masses. Your trademark has become a noun. You are the Kleenex of streaming media. Due to this, why not make the software guaranteed reliable so as to not potentially damage the reputation of stations who wish to be publicised? |
|||
![]() |
![]() |
![]() |
#14 | ||||||||
Join Date: Sep 2003
Posts: 27,873
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
i'm not going to cover it as a bug, however more as a feature request since it is a fair point that if the YP cannot be accessed only if it fails to resolve / respond on add and not a failure to provide the information (that behaviour will not change), then yes it probably should drop the requirement to block client connections due to a lack of authhash details. however we then get into the weird area as to what to do to clients which have then be provided with different details from what would be in the authhash when the YP connection then comes back... kick all so they then get the correct details or just leave them going and only apply the new details to new connections. so does that seem fair / alleviate the core issues you're having with how things currently are designed and work as planned? -daz |
||||||||
![]() |
![]() |
![]() |
#15 | |
Join Date: Sep 2003
Posts: 27,873
|
Quote:
-daz |
|
![]() |
![]() |
![]() |
#16 | ||
Join Date: Sep 2003
Posts: 27,873
|
Quote:
Quote:
however, hopefully this shouldn't need to be tested (though the only likely time would be when we do YP upgrades and a coincidental timing of when the DNAS is started up. -daz |
||
![]() |
![]() |
![]() |
#17 |
Junior Member
|
Sorry, I have been away for the holidays and was not able to fully take a look at it. The updated test daemon you sent seems to be working correctly for relays now as well. I've done a bit of testing with it, i'll switch one major relay over and see how well it handles the load. If it's acceptable, I'll move them all over and retire 1.9.8 which seems to be sucking CPU like no tomorrow due to what i'm sure is a very low sleep setting. I have a few more issues to work out, since SpacialAudio seems to no longer produce SOS, my SHOUTcast server listener data can no longer be tracked due to the differences on how v1 and v2 operate their XML code. I may have to work around that somehow, but we'll see. It's not a huge problem as of yet, just a minor annoyance, and I doubt there's anything you can do in code to fix it unless v1 legacy mode can also operate the XML in the same manner (but I doubt it).
-- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#18 |
Join Date: Sep 2003
Posts: 27,873
|
had wondered if holidays were involved
![]() what issues are you seeing as i've tried to ensure the xml output matches the v1 output where applicable (though i'm not too sure what SpacialAudio's SOS product is / was). also if you've set a streampath for stream#1 then you may need to disable that in the config file so that any tool / client access will be more like how the v1 DNAS accepted such requests (the public build defaulted the path to /stream/1/ whereas the test build you've got is just using / if streampath is not specified). -daz |
![]() |
![]() |
![]() |
#19 |
Junior Member
|
Sorry that it's been a week or so. Been really busy. Lots of station imaging and stuff to do this time of year.
Anyway, the errors that SOS present for the XML are: Error parsing xml document: End tag 'head' does not match the start tag 'link'. I also believe it may use some of the 7.html stuff from v1. Because you may or may not now, SOS is basically an older version of SimpleCast (Now called SAMCast) that includes ad-insertion and blackout features not present in SimpleCast or SAMCast. You can probably find out more from SpacialAudio's Wiki, if you wish to know more about it. It's basically using the SHOUTcast v1 relay statistics found in SimpleCast and SAMcast, which do not seem to be compatible with SHOUTcast v2 even in legacy mode with the error listed above. There is no log file for the statistics portion of SOS. Please let me know if you need anymore information. I'll try to get you what I can. -- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#20 |
Junior Member
|
Just also as a follow-up, the changes that you made for the RIP of the webinterface seem to not be working again. I can't access the webserver portion of the server even if I am in the RIP list and the server is set for RIP only. Not sure how that happens. I put this on a more busy server stream to see how it's functioning, and other than the RIP/WEB issue, along with XML issue of the previous post, it seems to be okay.
-- masa, Japan-A-Radio; Japan's best music mix! http://www.japanaradio.com/ |
![]() |
![]() |
![]() |
#21 | |||
Join Date: Sep 2003
Posts: 27,873
|
Quote:
![]() Quote:
Quote:
-daz |
|||
![]() |
![]() |
![]() |
|
Tags |
admin interface, relay, riponly, sc2, streamriponly |
Thread Tools | Search this Thread |
Display Modes | |
|
|