This is a curl bug (a strange one), where curl fails to fall back to IPv4 if there’s an IPv6 entry in /etc/hosts that doesn’t respond.
You can force it to use IPv4 via the -4 option.
This is a curl bug (a strange one), where curl fails to fall back to IPv4 if there’s an IPv6 entry in /etc/hosts that doesn’t respond.
You can force it to use IPv4 via the -4 option.