![]() |
#1 |
Junior Member
Join Date: Sep 2013
Posts: 18
|
Hi there,
I'll get into the server setup / environment shortly, but here's a brief description of the problem: I promise Ive googled to the best of my ability, but I cant find anyone else who is struggling to 'kick' users - you can *ban* an IP, and when they decide to disconnect and next try to reconnect it will refuse them, but the actual process of KICKing (kickdst) simply doesnt work. Ive tried with private stations and YP registered public stations, but the result is the same. The server and environment; 1) running ShoutCast v2.0.0.29 64bit 2) running on Ubuntu 64bit 3) running on port 8000, normally 2 streams (sid=1 and sid=2) and currently also got a 'test' stream going (YP public) but that will be down by the time anyone reads this. 4) tune in @ http://www.worldfusionradio.com Like I said, you can ban user's and they cant reconnect once disconnected, but the only way to force a disconnection is to actually re-start the stream ... Here's the sc_serv.conf file (with the relevant bits hashed for security purposes); ---start snippet yp1debug=1 yp2debug=1 cpucount=4 shoutcastsourcedebug=1 uvox2sourcedebug=1 shoutcast1clientdebug=0 shoutcast2clientdebug=0 relayshoutcastdebug=1 relayuvoxdebug=1 relaydebug=1 streamdatadebug=0 httpstyledebug=0 statsdebug=1 microserverdebug=1 threadrunnerdebug=1 rtmpclientdebug=1 webclientdebug=0 password=######### adminpassword=######## ;requirestreamconfigs=1 ;publicserver=never logfile=./Documents/shoutCast_serv\sc_serv.log w3clog=./Documents/shoutCast_serv\sc_w3c.log banfile=./Documents/shoutCast_serv\sc_serv.ban ripfile=./Documents/shoutCast_serv\sc_serv.rip maxuser=500 streamid_1=1 streammaxuser_1=250 streampassword_1=######## streamid_2=2 streammaxuser=250 streampassword=####### streamid_3=3 streammaxuser_3=250 streampassword_3=####### streamauthhash_1=##################### streamauthhash_2=##################### streamauthhash_3=##################### ----end snippet I cant find anything on the ShoutCast v2 Developer WIKI to even kick users, there's something about kicking the source, but "kickdst" isnt even covered. Many thanks for your assistance! Cya Hugo p.s. forgot to mention: when you click on the 'Kick' button, nothing appears in sc_serv.log at all, the webpage is simply refreshed and you logfile indicates this... p.p.s. the DJ connects in from a remote machine and uses RadioBoss |
![]() |
![]() |
![]() |
#2 |
Join Date: Sep 2003
Posts: 27,873
|
it's an intermittent bug with the v2 DNAS and the build you're using. what you're doing to work around it is the only workaround for that build.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Sep 2013
Posts: 18
|
one of my roles at work is 'testing' of bespoke inhouse software, so i know the following question is going to grind you, but <clenches>;
.. by "intermittent", do you mean 'most of the time'? - we've never had it work.. you can merily sit there randomly clicking on 'Kick' across any of the 30+ listeners without affecting anyone's listening ability.. AND/OR is it 'intermittently decided' at each start of the shoutCast daemon/program? AND/OR is it 'intermittently decided' when each listener connects? .... sorry ![]() /hugs xxx |
![]() |
![]() |
![]() |
#4 |
Join Date: Sep 2003
Posts: 27,873
|
as well as the platform version being used as to how funky it is as well as what else is present on the machine as to the memory offsets used to create the listener reference. so it can completely fail or work or intermittently fail based on the above or just won't be processed at all correctly due to another issue.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
Join Date: Sep 2013
Posts: 18
|
Well, A*+ for customer support and service
![]() Hope AOL let you get some coding time on SC before the next ice-age ;P Have a nice evening! Regards. |
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Jun 2003
Posts: 8
|
|
![]() |
![]() |
![]() |
#7 |
Banned
Join Date: Feb 2013
Posts: 70
|
I´m on v2.0.0.29 also
cause that is what comes with a hosted Centova service. I´m shocked that such a bug even exist all i know if i sell something to my customers i first test it ...a version where a link,button or important function dont work would never make it to my customers. ...aaarrggh. So...eeeh what other bugs exist in this version ? |
![]() |
![]() |
![]() |
#8 |
Join Date: Sep 2003
Posts: 27,873
|
this is the nature of bugs - if i waited to fix everything and release it... oh wait, i tried to do that after the build 29 release by holding back builds until i'd not had any newer bug reports and look at the shit i've gotten for that in addition to all of the other issues with getting releases out. every piece of software has bugs and on reflection i should have just done point releases every month or two with updates than what happened but what happened has happened and that's just how it goes.
if it failed 100% of the time then it would have been fixed before build 29 was released. however, as it's intermittent as i've tried to explain and the kick issue never appeared during our testing because of the reasons i'd explained previously. or to make it simpler, you need to rub your tummy, pat your head, jump on the spot and for the sun and moon to be in a specific alignment for the issue to appear. and this issue only appeared intermittently when people started using the v2 DNAS as no one wanted to use the beta builds and only started testing it when it was out of beta and due to that (as there's only so much which can be internally tested - if you can achieve 100% testing coverage and 0% bugs then you're a mythical being) then this wasn't caught. and based on 1 response back to the test build of the v2 DNAS i sent out 2 weeks back, it makes me seriously wonder if there's any point in even trying to get a fixed build released if those who explicitly said they wanted to help and test out updates just don't care. http://forums.winamp.com/showthread.php?p=2790357#known lists the main issues. and not that you'll believe it, but the following is the changelog between build 29 and what is part of those internal builds sent out:
|
![]() |
![]() |
![]() |
#9 |
Junior Member
Join Date: Sep 2013
Posts: 18
|
My word! nice bunch of fixes there 8D
/me goes away to get some food and re-read more thouroughly, but a quick search seems to indicate that the 'Kick' feature is probably fixed (can use IP address instead of just 'client ID') .. [posts merged] Great list of fixes Daz - thanks. I hate to ask the question, but is there a rough eta for a release with these fixes in it? Thanks Regards |
![]() |
![]() |
![]() |
#10 |
Join Date: Sep 2003
Posts: 27,873
|
i gave up trying to hold to any form of eta as all i get is abuse from a number of users about the dates not being met even when i gave the best eta at the time and was true with what i knew / had been agreed on but then things change and i'm just tired of getting it in the neck when it's not in my control.
|
![]() |
![]() |
![]() |
#11 |
Junior Member
Join Date: Sep 2013
Posts: 18
|
Fair do's
![]() |
![]() |
![]() |
![]() |
|
Tags |
kick, kicking, shoutcast v2 |
Thread Tools | Search this Thread |
Display Modes | |
|
|