# Managed by Ansible (roles/signal_api) # # Prefer IPv4 over IPv6 in getaddrinfo. # # chat.signal.org resolves to AWS Global Accelerator dualstack addresses, and # DNS returns the AAAA records first. This container has NO IPv6 address at all, # and this host's IPv6 path is unreliable anyway - the same edge that made # Google's IPv6 endpoint return a confident 404 for the Go tarball. # # signal-cli would connect to the AAAA address, fail, and report # Link request error: Connection closed! # while the phone showed a bare "network error" - a failure with no obvious # cause on either end. # # This line flips the precedence so IPv4-mapped addresses sort first, which is # the standard glibc fix. It does NOT disable IPv6; it only changes the order. precedence ::ffff:0:0/96 100