Skip to content

Cannot resolve IPv6 #145

@shastaxc

Description

@shastaxc

I'm running in Kubernetes with image docker.io/qgis/qgis-server:3.44.10.

Every request that comes in first tries to resolve localhost to an IPv6 address (which fails), then falls back to an IPv4 address (which succeeds). I was able to fix it by overwriting this file https://github.com/qgis/qgis-docker/blob/main/server/conf/qgis-server-nginx.conf#L92

Changing localhost to 127.0.0.1 forces it to skip the IPv6 resolution step. I think this should be the default value in this config instead of localhost. The landing page config file has the same issue (/etc/nginx/qgis.d/landing-page.conf).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions