pltnk/docker-icecast2

Connection failed: could not write data to host: Connection refused in write()

lightness opened this issue ยท 3 comments

Hi!

First of all, thanks for docker-icecast2 and docker-liquidsoap ๐Ÿ‘๐Ÿป

I tried to run icecast2 and liquidsoap in docker, but faced with following error:

2024/05/21 15:12:29 [My_radio:3] Connecting mount autodj for source@icecast2.my...
2024/05/21 15:12:29 [My_radio:2] Connection failed: could not write data to host: Connection refused in write()

May be you have some ideas why it happened... Probably some kind of missconfiguration ๐Ÿ˜ญ

I've created a repo where you can reproduce the issue: https://github.com/lightness/radio

Please help ๐Ÿ™๐Ÿป

Hi, I am using pltnk's icecast and liquidsoap containers and can say "they work"! There is no issue here imho. You have heavily modified the suggested config. Why not start with the basic config to see that everything works and go from there? Just make sure that both containers are running on the same (self created) docker network

BTW big thanks to pltnk!! Will we see a release e.g. with Ubuntu 24.04 LTS?

@erikreimann
Thanks for reply!

I'm pretty new in this topic...
Could you be so kind to share basic config?

pltnk was kind enough to share the basic configuration here on Github in the readme files.

If you are new you first might want to try something more out of the box like https://www.azuracast.com/ ? It has a nice Docker installation method which includes both icecast2 and liquidsoap https://www.azuracast.com/docs/getting-started/installation/docker/