On Sat, May 03, 2025 at 10:57:39PM -0400, Noah Meyerhans wrote:
> There shouldn't be any name resolution involved here at all.  My guess
> is that something is not recognizing the scoped link-local address as an
> IP address, and is treating it as a hostname that needs to be resolved
> in DNS.  Which is obviously going to fail.  I haven't looked deeply
> enough to determine whether this is cloud-init or a lower-level http
> client.

"requests" quotes the whole url, so undoes the fixup for "%25" to "%".

urllib3 then does not de-quote the hostname, so "%25" is given to
"getaddrinfo".

Bastian

-- 
The sight of death frightens them [Earthers].
                -- Kras the Klingon, "Friday's Child", stardate 3497.2

Reply via email to