Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

debugging unworking directory listing

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
ardya



Joined: 22 Mar 2009
Posts: 20

PostPosted: Sat May 21, 2011 10:53 pm    Post subject: debugging unworking directory listing Reply with quote

Hi folks, I get the following in error.log:

[2011-05-21 18:26:52] INFO yp/send_to_yp YP touch on http://dir.xiph.org/cgi-bin/yp-cgi failed: SID does not exist. Check your firewall, your server may be unreachable from outside.

The encoder is ogg and is set for public, icecast.xml has the directory settings uncommented, listeners can stream from the configured port (8000).

What is this SID?
Do I need to have some other port(s) opened in the firewall as well as the stream port?

Thanks
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun May 22, 2011 12:25 am    Post subject: Reply with quote

Glad to see that someone is referring to the logs for errors.

SID is the session id, a unique handle the directory gives to reference the stream. You are allocated one during the add phase and the 'touch' updates require it. The fact that the SID is dropped would tend to indicate that the details are not being touched for a period of time.

From what I can tell it seems to get validated so the details are correct but they do expire after a while so if these touches are delayed or the connection dies then these sorts of things can occur. Check to see if you are referring to directories that are inactive then check to see the frequency of the updates as that may indicate some issue.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ardya



Joined: 22 Mar 2009
Posts: 20

PostPosted: Sun May 22, 2011 3:17 am    Post subject: Reply with quote

I restarted icecast, and it showed up in the directory, then disappeared again.
The change I'd made prior to restarting was to remove the bind address statement as I'd discovered in tcpdump that the requests to dir.xiph.org were not coming from the same IP as was configured in icecast.xml's bind address.

Odd, I just checked the directory, and it shows...will let 5-10 min elapse and see if it still shows before I submit this...

Prog Palace Radio [0 listeners]
Raising the Prog Metal Horns

...and it disappeared again...

> It looks to be a 2.3.2 server can you confirm whether the stream is staying connected?

Not sure what you mean by this, you mean the source providing the audio or clients connected to icecast?
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun May 22, 2011 2:42 pm    Post subject: Reply with quote

It looks like the directory could not access your server for quite a while then there was a change in the <hostname> (about 04:10 GMT), then it started to work. It seems to stay connected for a number of hours but then drops and reconnects (the first reconnect being around 07:35 GMT then 12:05 GMT), whether those match up with any source client or icecast restarts is hard to say, but should give you something for comparison.


karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ardya



Joined: 22 Mar 2009
Posts: 20

PostPosted: Sun May 22, 2011 3:14 pm    Post subject: Reply with quote

Thanks Karl, I'll look into the logs and see if source disconnects correspond with the times you mention.
Back to top
View user's profile Send private message
ardya



Joined: 22 Mar 2009
Posts: 20

PostPosted: Sun May 22, 2011 4:01 pm    Post subject: Reply with quote

Ok, source disconnects correspond, hostname change was also made last night, server shows up in directory listings, thanks Karl, seems problem is solved.
Back to top
View user's profile Send private message
ardya



Joined: 22 Mar 2009
Posts: 20

PostPosted: Fri Jul 29, 2011 4:56 am    Post subject: debugging unworking directory listing Reply with quote

Hmm its happening again, and I have the correct hostname set in icecast.xml,
rdb.ardynet.com, no blocks in the firewall can be reached from remote location, stream works....
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jul 29, 2011 3:51 pm    Post subject: Reply with quote

looks like check-up for the stream was failing for a while, just couldn't access your icecast stream so was being dropped. The details look valid and has seemed to resolve itself, been working for the last 2 hours. Hard to say what the exact failure was, a connection just could not be made, maybe a DNS or remote access failure is possible, but I don't have that detail to say for sure.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ardya



Joined: 22 Mar 2009
Posts: 20

PostPosted: Fri Jul 29, 2011 4:04 pm    Post subject: Reply with quote

Ok, thanks for looking into it Karl
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber