pltnk / docker-icecast2

Dockerfile for running icecast2 in a container.
https://hub.docker.com/r/pltnk/icecast2
MIT License
8 stars 5 forks source link

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

Open lightness opened 1 month ago

lightness commented 1 month ago

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 🙏🏻

erikreimann commented 1 month ago

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?

lightness commented 1 month ago

@erikreimann Thanks for reply!

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

erikreimann commented 1 month ago

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/