Skip to content

ipv6 - fatal crash when not enabled #2884

Closed as not planned
Closed as not planned
@webspes

Description

@webspes

Describe the bug

Host of the VM does not have IPv6 and container don't have IPv6. Everything appears to starts, but after finding the logs, the logs says this and no service (80, 81,443) even on IPv4:

data/logs/fallback_error.log

2023/05/04 22:27:45 [emerg] 4414#4414: socket() [::]:80 failed (97: Address family not supported by protocol)

It is fixed in nginx-builds 2 years ago it seems. The problem is that nginx tries to bind to ipv6, but fails.

I have no known workarounds. The docker-compose file says:

Uncomment this if IPv6 is not enabled on your host

DISABLE_IPV6: 'true'

However, this is not supported:
validating /home/docker-compose.yml: services.app Additional property DISABLE_IPV6 is not allowed

OS: Rocky Linux 9.1 lxc container running on ProxMox host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions