|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Posts: 5
|
wierd problem (60)
Hi guys
First of all I want to let you know that I been using shoutcast for the last year and a half, I've using it with IIS, single modem, apache single modem, IIS Binary modem + router, Apache binary modem + router, well ever since is been working just fine plain playlist or live cast. Well, 2 weeks ago I buogh 2 new computers and I install everything just normal, I ran a test locally it work just fine, then on a live server, and still working fine, but when I Upload everyting to my website I'm getting a Operation timed out (60), at first I thougt it was bcuz my port whenrn't open but yes they r open then I look in to my router setting and port are as well open, now, this only hapen on my website the same script on my local machines are the same in my website same setting. So why am I getting this Operation timed out (60) ? Can this be a problem with my PHP script? Can this be because my PHP version are different from the one I have on my local machine? The Following URL's are for testing only. Live server "my website" http://media.dangerousboy.com/onfly1/list1.php [Time out error] Local server "Testing site" http://68.48.217.61:85/onfly1/list1.php [Working] both are using the same PHP script.... |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Dec 2005
Location: Atlantic Beach
Posts: 8,140
|
could be.... if the server is local to you, then go to www.canyouseeme.org and have that website check to see if it can contact your server on what ever port you are having communications run through.
If the site throws an error, then well you know know it is a port forwarding problem. If the site is able to open a line on that port, then you know you have a problem with one of your php scripts. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2006
Posts: 5
|
thank you this is the result
Success: I can see your service on 68.48.217.61 on port (8000) so my shoutcast server is workin fine... |
|
|
|
|
|
#4 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
Operation timed out (60)
is not a error from the shoutcast server, but an error on the server running your php script. thanks for warning us if we go to your website it plays audio loud ~ D ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Sep 2006
Posts: 5
|
Well, I'm sorry that my website "plays audio loud", I suggest you to use a low volumen on you speakers at all times.
but that wasn't my question. now based on your answer, you r saying that the problem is thee server where the PHP is executed. on the e.g. I left u can see that boths PHP scripts are the same hosted in a different server but boths are pointing to the same webcast server. |
|
|
|
|
|
#6 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
dude I cant see the content of the php scripts based on your links! the web server runs the scripts and converts the output to html. php which is PreHttpProcessor, does the processing entirely on the web server, not the web browser like what java scripts do.
Also I could name a script and name is listl1.php but you wouldnt know whats in the content usless I gave you the script as apossed to a link. also the link with the ip address does this "&canta=korn & ramstein - freak on a leash rammstein remix&djs=32" so... again no of your issues have anything to do with shoutcast, but someones php script that you have... shoutcast being the stream server and the DSP that goes with winamp is what we really can help you with. Some of us know a bit about php , myself included, but cant debug anything without the actuall scripts themself. ~D ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Sep 2006
Posts: 5
|
uh! that makes sense...
well just for the record --------------------- heres the script --------- code: |
|
|
|
|
|
#8 |
|
Forum King
Join Date: Feb 2006
Location: Earth Circa sometime.
Posts: 3,297
|
pay attention to this line
fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n"); most the time php waits up to 60 seconds to complete a connection, and I bet timed out (60) means just that it didnt connect to the source address on the correct port, or the password is jacked up. make sure you have your adminpassword set and not the stream password, inside config_radio.php even a bad password will result in a timeout. ~D ~ According to the ship's log we're down to our last 3000 vomit bags.It'll never be enough. ![]() search the forums! don't PM me on how-to, or ask me to setup you system. you do it so you learn. |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Sep 2006
Posts: 5
|
well, much thank you for your help.
it looks like the script is fine and the port to my shoutcast are working if u go to my IP http://68.48.217.61:8000 u will that is up and running and if u open it with ur winamp u also will lisent to the music "crapy music", so the php script and the shoutcast is not the problem at all, it's my web hosting I don't know but somehow it is, they are using PHP 4.4.4 same version aas I have locally same setting... why I can't make it work on my hosting aarrggg!!! if we have the same stuff!, also I found this topic u can see that the problem has to do with the way the URL is requested... http://forums.winamp.com/showthread....16#post1794916 anyway... thank you very much for ur help |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|