Azure / azure-sdk-for-rust

This repository is for active development of the *unofficial* Azure SDK for Rust. This repository is *not* supported by the Azure SDK team.
MIT License
685 stars 232 forks source link

Error message filtering for 403 response from docker IMDS endpoint should be relaxed #1585

Open christothes opened 6 months ago

christothes commented 6 months ago

There seems to be some variation between the error messages being returned by the 403 response from IMDS in docker. Our error handling should be adjusted to match the error message more loosely.

We've seen it as either of these two: "A socket operation was attempted to an unreachable network" "A socket operation was attempted to an unreachable host"

see original issue here: https://github.com/Azure/azure-sdk-for-net/issues/38218#issuecomment-1894644498