linuxserver / docker-healthchecks

GNU General Public License v3.0
177 stars 38 forks source link

[BUG] uwsgi doesn't listen on ipv6 #122

Closed jdeluyck closed 2 months ago

jdeluyck commented 2 months ago

Is there an existing issue for this?

Current Behavior

When starting the Healthchecks container in a docker network that is dualstack (ipv4/ipv6), it only listens on ipv4. The container is not reacheable over ipv6.

# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       
tcp        0      0 0.0.0.0:2525            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:8000            0.0.0.0:*               LISTEN     

This is due to /app/healthchecks/uwsgi.conf containing

http-socket = :8000

instead of

http-socket = [::]:8000

Expected Behavior

The container should

Steps To Reproduce

  1. Start the container in a dualstack network
  2. Try to connect over ipv6 from another docker container into it

Environment

- OS: Fedora Server 40
- How docker service was installed: from OS, podman.

CPU architecture

x86-64

Docker creation

Using Quadlets.

Container logs

-- nothing useful --
github-actions[bot] commented 2 months ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.