[Icecast] Icecast2, ezstream and reverse proxy

"Thomas B. Rücker" thomas at ruecker.fi
Fri May 23 08:59:36 UTC 2014

On 05/21/2014 10:51 PM, David Hendry wrote:
> Ezstream is working well locally with Icecast2 on port 8000 on a Debian Wheezy platform. However, I use a reverse proxy (Pound) to pass all requests from the Internet for x.mysite.com to backend localhost:8000 i.e. my Icecast2 server.

The short answer is: don't put Icecast behind a reverse proxy.

>  This works fine, i.e. x.mysite.com brings up the Icecast2 Status page. My problem is with the ezstream xml configuration <url></url> setting which must have a port number, and if I put <url>x.mysite.com:8000</url> icecast2 does not get the stream. If I use NAT on my router to bypass the reverse proxy, x.mysite.com:8000 goes straight to Icecast2 and everything works; but I don't want to do it this way. Do you have any ideas as to what I can do to get  ezstream working with icecast2 and my reverse proxy?

You are trying to put non-HTTP traffic through a HTTP reverse proxy, I'm
not the least surprised that this fails.
There /might/ be a slim chance to get things working better if you
switch to Icecast 2.4.0 AND use a source client that uses PUT instead of
SOURCE. But only if the reverse proxy supports PUT.

Your reverse proxy might still have problems with the long-lived TCP
connections and other things specific to Icecast.



More information about the Icecast mailing list