Microsoft hosted Agent Ubuntu VMs – Python Dependency Installation Failure
Our Azure DevOps pipeline running on Microsoft-hosted Ubuntu agents is unable to establish outbound HTTPS connections to the public Python package repositories.
The following endpoints consistently time out:
https://files.pythonhosted.org/
Our diagnostics confirm:
DNS resolution is successful.
General HTTPS connectivity works (Google returns HTTP 200).
Both IPv4 requests time out; IPv6 connections fail.
No HTTP/HTTPS proxy is configured.
The issue occurs on both host-level and Docker-based requests.
The issue persists across Ubuntu 22.04 and 24.04 and both BuildKit and legacy Docker builders.
Please investigate outbound network routing/connectivity from Microsoft-hosted Ubuntu agents to PyPI and Python package hosting infrastructure.