radiocicletta / morganfreeman

A simple analytics for icecast servers
15 stars 5 forks source link

getting errors in console ... Failed update #6

Closed romeor closed 8 years ago

romeor commented 9 years ago

-- MARK -- Failed update: HTTP Error 401: Authentication Required -- MARK -- Failed update: HTTP Error 401: Authentication Required -- MARK -- Failed update: HTTP Error 401: Authentication Required

but i'm using the login and password of admin user that works from Web browser

what should I do about them ?

leofiore commented 9 years ago

can you please attach the icecast version are you monitoring?

romeor commented 9 years ago

Hi,

sure. Its Icecast 2.4.2

leofiore commented 8 years ago

Hi,

are you providing the correct realm for the authentication? If you don't know what is the realm of your icecast server, you can identify it by using something like curl -s -i http://stream.priyom.org:8000/admin/ | grep WWW-Authenticate | sed -e 's/.*://' via CLI. the resulting string contains the realm that you will specify with the -r option

./frosty.py -h <hostname> -u <username> -w <password> -b <bindport> -r <INSERT REALM HERE>

romeor commented 8 years ago

Hey!

Seems like this way it works. Thanks.

leofiore commented 8 years ago

Sweet. I'm closing it and mark it as a consequence of #7 .