Skip to main content
PyPI

PyPI Backends are unavailable.

Partial outage Lasted 53m · started · PyPI's page

Level
confirmed
Worst impact
Partial outage
Components
pypi.org - Backends, files.pythonhosted.org - Redirects, files.pythonhosted.org - Redirects Backends
Down Index
27of 100

What to do

  • Check whether you use PyPI pypi.org - Backends, files.pythonhosted.org - Redirects, files.pythonhosted.org - Redirects Backends. Check your stack

    Paste a package.json, lockfile, Terraform or a list of domains at down.guide/stack to see every provider you depend on.
  • Confirm your retries, queues and scheduled jobs caught up after the 53m it lasted.

    Anything that failed between 2022-10-24 14:51 UTC and 2022-10-24 15:44 UTC may need a replay.
  • Subscribe to PyPI's feed to hear about the next one first. RSS feed

    https://down.guide/feed?provider=pypi works in Slack (/feed subscribe), Discord feed bots and any RSS reader.

Updates from PyPI 4

  1. investigating

    The backend that hosts PyPI and associated services is experiencing a major outage, we are investigating.

    provider

  2. monitoring

    We have identified and resolved the reason for the outage and are monitoring to ensure it remains stable.

    provider

  3. resolved

    This incident has been resolved.

    provider

  4. postmortem

    ## Summary The cluster that hosts PyPI’s backends as well as multiple ancillary services experienced an outage during maintenance that interrupted access to services over HTTPS. ## Details From 2022-10-24 14:43 UTC until 2022-10-24 15:03 UTC, PyPI’s backends were not accessible over HTTPS. This interfered with our CDNs ability to fetch pages, made uploads to [uploads.pypi.org](http://uploads.pypi.org) impossible, and interrupted other services such as our legacy file redirect service. PyPI services run as deployments in a Kubernetes cluster and are exposed via Ingress with the AWS Elastic Load Balancer \(ELB\) integration. The TLS certificate that this load balancer uses is managed via Amazon’s Certificate Manager \(ACM\). When initially deploying our Kubernetes cluster, the Ingress managed ELB was configured to use an existing ACM TLS certificate. Earlier today, regular maintenance of our Kubernetes cluster required a rolling restart of all nodes in the cluster to distribute upgrades and new configurations to all nodes. During this rolling restart as the Kubernetes API server hosts were deployed, Kubernetes validated and refreshed the Ingress configurations we had previously defined. Since the most recent rolling upgrade, an additional hostname was needed for PyPI’s Ingress. PyPI administrators created a new ACM TLS certificate including that hostname and updated the Ingress managed ELB to use this new certificate. As a result, the new Kubernetes API servers were unable to find the previous ACM TLS certificate and disabled the HTTPS listener for the Ingress configuration that serves PyPI and associated services as they came online. Once identified, the PyPI admins updated the Ingress configuration to point to the new ACM TLS certificate and Kubernetes restored the HTTPS listener on the Ingress managed ELB, restoring access to all services. ## Mitigation We will investigate mechanisms by which the hostnames needed on ACM TLS certificates for PyPI’s Ingress configurations can be managed via Kubernetes resources rather than manually via the AWS console. By managing resources all via the Kubernetes API, drift between desired state and reality will be less likely to occur and surface during similar maintenance in the future.

    provider

Reports count in aggregate; nothing about you is shown.

Corrections

None so far.

Something wrong on this page? Report an error or send us a note. Every fix is listed here.

Questions about DWN-f4e758b13d

Is PyPI still down?

No, this incident was resolved 2022-10-24 15:44 UTC. For PyPI's live state, see https://down.guide/pypi.

How long did it last?

53m, from 2022-10-24 14:51 UTC to 2022-10-24 15:44 UTC, by the times PyPI posted.

What was affected?

PyPI named pypi.org - Backends, files.pythonhosted.org - Redirects, files.pythonhosted.org - Redirects Backends.

What caused it?

PyPI hasn't published a root cause. If it does, it shows here.

Where does this come from?

PyPI's official status page, https://status.python.org, quoted verbatim. down.guide's own probes, reports and social counts are labeled as ours.