Tuesday, August 14, 2018

Re: python files moved

On 2018/08/14 16:03, s_graf@telus.net wrote:
> When building php I get the following error which causes a multi minute
> timeout. From a wget request it looks like the web site has moved. This
> happens on many files and causes quite a slowdown in building a port.

If we point too far into the redirection chain for pypi we're more likely
to have failures next time they change things, the pypi.io ones seems a
more stable endpoint.

> ===> Checking files for py-six-1.11.0
>
> >> Fetch https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz
>
> ftp: SSL write error: handshake failed: Operation timed out
>
> >> Fetch https://ftp.openbsd.org/pub/OpenBSD/distfiles/six-1.11.0.tar.gz
>
> six-1.11.0.tar.gz 100%
> |********************************************************| 29860 00:00
>
>
>
> With wget:
>
>
>
> op1bsdtest2# wget https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz
>
> --2018-08-14 15:57:26--
> https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz
>
> Resolving pypi.io (pypi.io)... 151.101.0.223, 151.101.64.223,
> 151.101.128.223, ...
>
> Connecting to pypi.io (pypi.io)|151.101.0.223|:443... connected.

It's rather odd that ftp(1) times out and wget succeeds. Does ftp -d
throw any light on it?

No comments:

Post a Comment