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 

Having trouble connecting fallback mount..
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Sun Jul 06, 2008 10:33 pm    Post subject: Having trouble connecting fallback mount.. Reply with quote

I had this working fine last week Ive changed nothing in the config file & now when I try to connect the fallback stream to icecast server I keep getting 'Invalid password, Authentication required (401)'

Does anyone have a clue as to why this might be happening now when I had it working fine last week?
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 Jul 06, 2008 10:43 pm    Post subject: Reply with quote

no
Back to top
View user's profile Send private message Send e-mail Visit poster's website
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Sun Jul 06, 2008 11:09 pm    Post subject: Reply with quote

does a fallback mount require a seperate password to be specified in the config file?
Back to top
View user's profile Send private message
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Sun Jul 06, 2008 11:20 pm    Post subject: Reply with quote

<icecast>
<limits>
<sources>3</sources>
</limits>

<hostname>215.160.143.209</hostname>
<mount>
<mount-name>/listen</mount-name>
<password>******</password>
<max-listeners>100</max-listeners>
<fallback-mount>/archive</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<public>1</public>
<bitrate>128</bitrate>

<hidden>1</hidden>
<burst-size>65536</burst-size>
<mp3-metadata-interval>4096</mp3-metadata-interval>

<on-connect>/home/icecast/bin/source-start</on-connect>
<on-disconnect>/home/icecast/bin/source-end</on-disconnect>
</mount>
<authentication>
<source-password>******</source-password>
<admin-user>admin</admin-user>
<admin-password>******</admin-password>
</authentication>
<listen-socket>
<port>8000</port>
</listen-socket>
<fileserve>1</fileserve>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>
<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>

</icecast>

Can anyone see in my code why icecast server would be rejecting connection from my fallback mount? /listen mount is connecting fine /archive mount is being rejected.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jul 07, 2008 12:39 am    Post subject: Reply with quote

seeing that there's no <mount> for /archive, the auth would be "source" for username and whatever you have for <source-password>

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



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jul 07, 2008 6:53 am    Post subject: Reply with quote

I added <username>source</username> in the authentication section & its working, thanksyou thankyou! Very Happy
Back to top
View user's profile Send private message
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jul 07, 2008 7:24 am    Post subject: Reply with quote

Agggg, it has stopped working again. Same error 'Invalid password, authentication required'

I dont understand why this is happening. Sad

I added this to config file

<icecast>
<limits>
<sources>3</sources>
</limits>

<hostname>215.160.143.209</hostname>

<mount>
<mount-name>/listen</mount-name>
<password>******</password>
<max-listeners>100</max-listeners>
<fallback-mount>/archive</fallback-mount>
<fallback-override>1</fallback-override>
<fallback-when-full>1</fallback-when-full>
<public>0</public>
<bitrate>128</bitrate>
<hidden>0</hidden>
<burst-size>65536</burst-size>
<mp3-metadata-interval>4096</mp3-metadata-interval>
<on-connect>/home/icecast/bin/source-start</on-connect>
<on-disconnect>/home/icecast/bin/source-end</on-disconnect>
</mount>

<authentication>
<username>source</username>
<source-password>******</source-password>
<admin-user>admin</admin-user>
<admin-password>******</admin-password>
</authentication>

<listen-socket>
<port>8000</port>
</listen-socket>

<fileserve>1</fileserve>
<paths>
<logdir>./logs</logdir>
<webroot>./web</webroot>
<adminroot>./admin</adminroot>
<alias source="/" dest="/status.xsl"/>
</paths>

<logging>
<accesslog>access.log</accesslog>
<errorlog>error.log</errorlog>
<loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
</logging>

</icecast>
Back to top
View user's profile Send private message
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jul 07, 2008 7:33 am    Post subject: Reply with quote

Its working again, this is nuts.
Back to top
View user's profile Send private message
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jul 07, 2008 8:53 am    Post subject: Reply with quote

now its stopped working again. The problem is only occuring with the fallback (/archive) mount. The /listen mount works fine all the time.

If I stop the fallback stream after Ive managed to get it going & then try to restart it, it starts giving me the 'Invalid password, Authentication required' error.

Ive noticed also that when this starts happening icecast server stops showing all stats, they all sit on 0. Yet when the fallback (/archive) mount is successfully connected Icecast server shows stats for both the /listen & /archive mounts as normal.
Back to top
View user's profile Send private message
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jul 07, 2008 9:07 am    Post subject: Reply with quote

This is the error log. The archive fallback deffinately has the right password. Does anyone know what else could be causing this password error?

[2008-07-07 10:01:24] INFO connection/connection.c Source logging in at mountpoint "/archive"
[2008-07-07 10:01:24] INFO connection/connection.c Source (/archive) attempted to login with invalid or missing password
[2008-07-07 10:01:34] INFO connection/connection.c Source logging in at mountpoint "/archive"
[2008-07-07 10:01:34] INFO connection/connection.c Source (/archive) attempted to login with invalid or missing password
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jul 07, 2008 10:22 am    Post subject: Reply with quote

The tag you added is not an icecast tag so it would not of made a difference. I can only suggest that you make sure icecast is up to date but I don't see any other reason why that message would appear unless the source client really is sending the wrong user/pass on those occasions. Only the username is logged in access log.

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



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jul 07, 2008 12:36 pm    Post subject: Reply with quote

Ahhh, I have entered the password lots of times, it is deffiantely right.
This is terrible, today was our big day for moving station to new server & now this Sad

Is there any other setting for icecast that is similar to fallback? That I may use in a similar fashion, therefor bypassing the problem of server rejecting archive mount connection.
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon Jul 07, 2008 1:00 pm    Post subject: Reply with quote

Why are you entering the password lots of times, you should just do it once and the reconnection is automatic?

We've had no other reports of random source client auth rejection, and we have no way of knowing what has changed on your system to cause apparent behaviour. You haven't said the version you are on, which source client you are using or whether you are adding the /archive mount tags or what the packet dumps are of the connection. maybe there is an issue with the password you have specified (although that would affect it all the time)

The xml looks ok, but unless you give more information then no further progress can be made. And no, all source clients required authentication

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



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jul 07, 2008 1:42 pm    Post subject: Reply with quote

Im using the newest version of Icecast server on a windows 2003 server with server 2003 firewall enabled.
The source client is Simplecast.

The source client for /listen mount is on a different pc. The fallback mount (/archive) is an instance of simplecast running on the same server as Icecast, using localhost as the ip address to connect with icecast server.

Im thiking this may be a windows server 2003 firewall issue blocking the /archive attempt to connect to Icecast server. Although I dont understand how when they are both behind the firewall.

Maybe, although they are both behind the firewall, the source client sends an outbound request to Icecast server which is then blocked by the firewall?
I dont know, I just clutching at straws here.
Back to top
View user's profile Send private message
peepo



Joined: 15 Dec 2007
Posts: 88

PostPosted: Mon Jul 07, 2008 6:34 pm    Post subject: Reply with quote

Ive turned off the firewall & so far so good. Probably not the best thing to do but what could I do Crying or Very sad
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
Goto page 1, 2  Next
Page 1 of 2

 
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