Microsoft hosted Agent Ubuntu VMs – Python Dependency Installation Failure

Gokul Sandar Muthuramalingam 0 Reputation points
2026-11-20T12:16:33.62+00:00

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.

Azure DevOps
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.