Warehouse: https://files.pythonhosted.org returns "504 Gateway Time-out" for many source files

Created on 16 Mar 2019  路  13Comments  路  Source: pypa/warehouse

Take https://pypi.org/project/esda/ for example.
The download link https://files.pythonhosted.org/packages/3e/84/bff39fdd34fc7f2dd3e0a1b7a6b92cea8ca17ce0ab9359a96ed301947cd6/esda-2.0.0.tar.gz on PyPI page is fetchable.
But the predictable link used in FreeBSD ports is https://files.pythonhosted.org/packages/source/e/esda/esda-2.0.0.tar.gz which is unfetchable (504 gateway timeout).
Not all of them are unreachable but it's around 80% failure to me.

My Platform

Tested on FreeBSD and Chrome (macOS).

Network telemetry

DNS Resolution

dig files.pythonhosted.org A
files.pythonhosted.org. 6   IN  CNAME   dualstack.r.ssl.global.fastly.net.
dualstack.r.ssl.global.fastly.net. 29 IN A  151.101.193.63
dualstack.r.ssl.global.fastly.net. 29 IN A  151.101.1.63
dualstack.r.ssl.global.fastly.net. 29 IN A  151.101.65.63
dualstack.r.ssl.global.fastly.net. 29 IN A  151.101.129.63
dig files.pythonhosted.org AAAA
files.pythonhosted.org. 28  IN  CNAME   dualstack.r.ssl.global.fastly.net.
dualstack.r.ssl.global.fastly.net. 29 IN AAAA   2a04:4e42::319
dualstack.r.ssl.global.fastly.net. 29 IN AAAA   2a04:4e42:200::319
dualstack.r.ssl.global.fastly.net. 29 IN AAAA   2a04:4e42:400::319
dualstack.r.ssl.global.fastly.net. 29 IN AAAA   2a04:4e42:600::319

Most helpful comment

Thanks for the reports. The infrastructure team identified the issue and corrected it, and is taking steps to prevent it from occurring again.

All 13 comments

Seems fixed. https://files.pythonhosted.org/packages/source/e/esda/esda-2.0.0.tar.gz can be downloaded now. Another package https://files.pythonhosted.org/packages/source/n/nvchecker/nvchecker-1.4.tar.gz is broken yesterday, and it's also fixed today.

Confirmed. All the failed downloads are OK now.

I am also seeing the same issue from a completely unconnected client; on both the above URLs and for example: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-0.28.0.tar.gz

Thanks. I'm able to reproduce this locally too. I've pinged the infrastructure team.

Thanks for the reports. The infrastructure team identified the issue and corrected it, and is taking steps to prevent it from occurring again.

Hi @mickours I'm not able to reproduce that. If you continue to see this, please open a new issue in https://github.com/pypa/pypi-support. (cf #7070)

Yes, this was a transient failure, it comes back a few minutes later...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nlhkabu picture nlhkabu  路  4Comments

NathanBnm picture NathanBnm  路  3Comments

ruohoruotsi picture ruohoruotsi  路  3Comments

zt2 picture zt2  路  4Comments

dstufft picture dstufft  路  3Comments