Skip to content

mirrors are attempted to ipv6 and fails, wget waits too long for retry #2086

Description

@tlaurion

Tested with ./docker_local_dev.sh

modified flake.nix

           # Git configuration for safe directory access.
           echo -e '[safe]\n\tdirectory = *\n' > /root/.gitconfig
+
+          # Prefer IPv4 over IPv6 for wget/curl downloads
+          echo "precedence ::ffff:0:0/96  100" > /etc/gai.conf
+
+          # Set shorter timeout for wget
+          echo "timeout = 10" >> /etc/wgetrc
         '';
       };

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions