#[Errno 99] error while attempting to bind on address ('::1', 8800, 0, 0): address not available

6 messages · Page 1 of 1 (latest)

fringe pelican
#

Hello,
I am trying to run spotdl (version 4.2.1) in a rootless docker-compose environment (Fedora Linux 37).
My according part of the yaml contains:

spotdl:
    image: "spotdl/spotify-downloader"
    volumes:
      - /home/docker/spotdl/music:/music
    command:
      - web
    ports:
      - 8089:8800

I even tried to run the container directly but got the same error.
I assume this could be related to my rootless docker environment.
In general this is working great for several other containers like Grafana, InfluxDB etc.

Any idea how this could be solved?

Thanks!

abstract pythonBOT
#
spotDL Support

Please continue adding more information into this thread.
You should include the following information:

spotDL Version

Eg. 4.0.0

Operating System

Eg. Windows 22H2

The Command You Ran

Please include Spotify links.

Screenshots or Pasted Error Messages

Only send these if they are relevant.

To send pasted error messages use three backticks (```)
Here's info on how to use code blocks.

#

@fringe pelican

fringe pelican
#

Hello all,
I did some more investigation and as far as I know the problem seems to be that the webserver is litening by default on the IPv6-related interface "::1".
I don't use IPv6 adresses at all.
I can indeed pass both options "web --host 0.0.0.0" on the command line but I can't get this wotking using the yaml configuration option "command:"
Even if I add two commands to the yaml (no matter if in one line or in two lines) i seems only one is recognized by the starting container.
E.g. using

    command:
      - web
      - --host 0.0.0.0

or

    command:
      - web --host 0.0.0.0

both resulted in a attempt to download a song

docker-compose run spotdl
Creating docker_spotdl_run ... done
Processing query: web --host 0.0.0.0

Maybe someone has an idea..

Thanks!

rose silo
#

I got this to work today by doing a few things,

  1. I set up a new container network with some IP range (I forget)

  2. I set the host variable to an IP address in that range. That would theoretically be the IP address of the docker container (I think)

  3. I made sure to open a port for the container when running the command to start the container so it would route to the spotdl website