Skip to content

PyPI search broken — returns “0 projects” but project pages work #7117

@santoshphilip

Description

@santoshphilip

My Platform

I'm getting "0 projects for 'requests'" on all search queries at https://pypi.org/search.
This happens for every package, even well-known ones like requests, numpy, etc.

What I’ve tested:

  • Browsers: Brave, Opera, Safari on (macOS) and Safari on (iOS)
  • Devices: MacBook, iPhone
  • Networks: 1 Wi-Fi network, mobile LTE (T-Mobile)
  • VPN: Netherlands (ProtonVPN)
  • DNS changes: Google (8.8.8.8)
  • Despite that, search returns 0 results for everything.

Direct package URLs work fine, e.g.:

Location: California, USA

ISPs tested: Sonic.com
Please let me know if there’s a CDN edge or cache issue I’m hitting.

Fastly Debug


DNS Resolution

$ dig pypi.org A
$ dig pypi.org AAAA
$ dig files.pythonhosted.org A
$ dig files.pythonhosted.org AAAA

Traceroutes / IPv4

$ traceroute pypi.org
$ traceroute files.pythonhosted.org

Traceroutes / IPv6 (If available)

$ traceroute6 pypi.org
$ traceroute6 files.pythonhosted.org

HTTPS Requests / IPv4

$ curl -vvv -I --ipv4 https://pypi.org/pypi/pip/json
$ curl -vvv -I --ipv4 https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz

HTTPS Requests / IPv6 (If available)

$ curl -vvv -I --ipv6 https://pypi.org/pypi/pip/json
$ curl -vvv -I --ipv6 https://files.pythonhosted.org/packages/ae/e8/2340d46ecadb1692a1e455f13f75e596d4eab3d11a57446f08259dee8f02/pip-10.0.1.tar.gz

TLS Debug / IPv4

$ echo -n | openssl s_client -4 -connect pypi.org:443
$ echo -n | openssl s_client -4 -connect files.pythonhosted.org:443

TLS Debug / IPv6 (If available)

$ echo -n | openssl s_client -6 -connect pypi.org:443
$ echo -n | openssl s_client -6 -connect files.pythonhosted.org:443

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportUsers asking for help using PyPI

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions