squeaky-pl / portable-pypy

Portable 64 bit x86 PyPy binaries for many Linux distributions.
Other
478 stars 38 forks source link

Unable to download xz-5.2.3.tar.gz #57

Closed SemenMartynov closed 4 years ago

SemenMartynov commented 7 years ago

from _builddeps: wget http://tukaani.org/xz/xz-5.2.3.tar.gz -O - | tar xz

$ wget http://tukaani.org/xz/xz-5.2.3.tar.gz -O - | tar xz
--2017-07-27 01:28:05--  http://tukaani.org/xz/xz-5.2.3.tar.gz
Resolving tukaani.org (tukaani.org)... 84.34.147.45
Connecting to tukaani.org (tukaani.org)|84.34.147.45|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://tukaani.org/xz/xz-5.2.3.tar.gz [following]
--2017-07-27 01:28:05--  https://tukaani.org/xz/xz-5.2.3.tar.gz
Connecting to tukaani.org (tukaani.org)|84.34.147.45|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://sourceforge.net/projects/lzmautils/files/xz-5.2.3.tar.gz/download [following]
--2017-07-27 01:28:05--  https://sourceforge.net/projects/lzmautils/files/xz-5.2.3.tar.gz/download
Resolving sourceforge.net (sourceforge.net)... 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:443... connected.
Unable to establish SSL connection.

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
SemenMartynov commented 7 years ago

Sometimes it works, but sometimes doesn't

[root@2c31cfc1b057 src]# wget http://tukaani.org/xz/xz-5.2.3.tar.gz -O - | tar xz
--2017-07-27 00:22:53--  http://tukaani.org/xz/xz-5.2.3.tar.gz
Resolving tukaani.org... 84.34.147.45
Connecting to tukaani.org|84.34.147.45|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://tukaani.org/xz/xz-5.2.3.tar.gz [following]
--2017-07-27 00:22:53--  https://tukaani.org/xz/xz-5.2.3.tar.gz
Connecting to tukaani.org|84.34.147.45|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://sourceforge.net/projects/lzmautils/files/xz-5.2.3.tar.gz/download [following]
--2017-07-27 00:22:53--  https://sourceforge.net/projects/lzmautils/files/xz-5.2.3.tar.gz/download
Resolving sourceforge.net... 216.34.181.60
Connecting to sourceforge.net|216.34.181.60|:443... connected.
Unable to establish SSL connection.

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
[root@2c31cfc1b057 src]# wget http://tukaani.org/xz/xz-5.2.3.tar.gz -O - | tar xz
--2017-07-27 00:22:58--  http://tukaani.org/xz/xz-5.2.3.tar.gz
Resolving tukaani.org... 84.34.147.45
Connecting to tukaani.org|84.34.147.45|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://tukaani.org/xz/xz-5.2.3.tar.gz [following]
--2017-07-27 00:22:58--  https://tukaani.org/xz/xz-5.2.3.tar.gz
Connecting to tukaani.org|84.34.147.45|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://sourceforge.net/projects/lzmautils/files/xz-5.2.3.tar.gz/download [following]
--2017-07-27 00:22:58--  https://sourceforge.net/projects/lzmautils/files/xz-5.2.3.tar.gz/download
Resolving sourceforge.net... 216.34.181.60
Connecting to sourceforge.net|216.34.181.60|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/lzmautils/xz-5.2.3.tar.gz?r=&ts=1501114979&use_mirror=10gbps-io [following]
--2017-07-27 00:22:59--  https://downloads.sourceforge.net/project/lzmautils/xz-5.2.3.tar.gz?r=&ts=1501114979&use_mirror=10gbps-io
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://10gbps-io.dl.sourceforge.net/project/lzmautils/xz-5.2.3.tar.gz [following]
--2017-07-27 00:23:00--  https://10gbps-io.dl.sourceforge.net/project/lzmautils/xz-5.2.3.tar.gz
Resolving 10gbps-io.dl.sourceforge.net... 185.152.64.70
Connecting to 10gbps-io.dl.sourceforge.net|185.152.64.70|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1490665 (1.4M) [application/x-gzip]
Saving to: `STDOUT'

100%[==========================================================================================================================================================================>] 1,490,665   3.09M/s   in 0.5s    

2017-07-27 00:23:00 (3.09 MB/s) - written to stdout [1490665/1490665]

[root@2c31cfc1b057 src]# 
SemenMartynov commented 7 years ago
[root@f36ad3b8c7b5 src]# openssl s_client -connect sourceforge.net:443 -prexit
CONNECTED(00000003)
write:errno=104
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 247 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 0 bytes and written 247 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
---
[root@f36ad3b8c7b5 src]#
[root@f36ad3b8c7b5 src]#
[root@f36ad3b8c7b5 src]#
[root@f36ad3b8c7b5 src]# openssl s_client -connect sourceforge.net:443 -prexit
CONNECTED(00000003)
depth=2 C = US, O = GeoTrust Inc., CN = GeoTrust Global CA
verify return:1
depth=1 C = US, O = GeoTrust Inc., CN = GeoTrust SSL CA - G3
verify return:1
depth=0 C = US, ST = California, L = San Diego, O = "SourceForge Media, LLC", OU = sourceforge.net, CN = *.sourceforge.net
verify return:1
---
Certificate chain
 0 s:/C=US/ST=California/L=San Diego/O=SourceForge Media, LLC/OU=sourceforge.net/CN=*.sourceforge.net
   i:/C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G3
 1 s:/C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G3
   i:/C=US/O=GeoTrust Inc./CN=GeoTrust Global CA
---
Server certificate
-----BEGIN CERTIFICATE-----
MIIGGTCCBQGgAwIBAgIQDIQwLdqKeU954Zm6X3lqdzANBgkqhkiG9w0BAQsFADBE
MQswCQYDVQQGEwJVUzEWMBQGA1UEChMNR2VvVHJ1c3QgS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lZ2FsMB0GA1UdJQQWMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAfBgNVHSME
GDAWgBTSb/eW9IU/cjwwfSPahXibo3xafDBXBggrBgEFBQcBAQRLMEkwHwYIKwYB
BQUHMAGGE2h0dHA6Ly9nbi5zeW1jZC5jb20wJgYIKwYBBQUHMAKGGmh0dHA6Ly9n
bi5zeW1jYi5jb20vZ24uY3J0MIIBAwYKKwYBBAHWeQIEAgSB9ASB8QDvAHYA3esd
K3oNT6Ygi4GtgWhwfi6OnQHVXIiNPRHEzbbsvswAAAFY+Q4cuQAABAMARzBFAiEA
iUWBLxZe9Zx4sftXOVPYqhhyD9BEr4noXuMgVZfrxWoCIAQcFbRLX1E6IcRS/0Sz
fksaMkRDYlCKn8wpd+0xycOtAHUA7ku9t3XOYLrhQmkfq+GeZqMPfl+wctiDAMR7
iXqo/csAAAFY+Q4dAQAABAMARjBEAiBtfLHeuQjG3fcg/OZVInD0LKwvkm4dcdF0
x0a2hVnUxgIgHWAaoCd7j57TPvde3Tywvcb+Z5LeIfchSGlUCKlATE0wDQYJKoZI
hvcNAQELBQADggEBAFnW+6Ru+IsAqLqNnawV1lHbGVZe3zGbj/vJOWFLwVjIQV/Z
8ymbMzWw2FNdTz3/cdszpyPyBMIVuQ09sbWm0TBk/CWMC4LH1JrA3qbooI7qRYz4
JhZDsv/GSSbu4Z5AF8SqQTLFkNDm7axfFX3+eAWcpM46Frs8jsEugZNG/sbcPuks
5sV5szIcBueIYXhxcPwIqIZsn6rX+ySjkCNrbGi/6Km74x/RCu0s/KcgkMiJwguw
5xJY+UO3yM/kGajKGrIXk0Jnj3NMER+/a39YS3LNtd0+/R76S6WGApkcYXHEyGSq
uLvuwzkSGOX5QeBS+vYvDxaAIfRCCNLf1d3R+sU=
-----END CERTIFICATE-----
subject=/C=US/ST=California/L=San Diego/O=SourceForge Media, LLC/OU=sourceforge.net/CN=*.sourceforge.net
issuer=/C=US/O=GeoTrust Inc./CN=GeoTrust SSL CA - G3
---
No client certificate CA names sent
Server Temp Key: ECDH, prime256v1, 256 bits
---
SSL handshake has read 3212 bytes and written 397 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-SHA
    Session-ID: DB9AA590F6272B220AF6498D87A21EAA88DCEB886CF9ADA55A166A55D55B3F59
    Session-ID-ctx: 
    Master-Key: 40578CAD2A10C6E06095428CCD3513E400C770A754371FD31EF1AF0245BCC222D3B098DA61DE7FC3ABA0702AFD4F077E
    Key-Arg   : None
    Krb5 Principal: None
    PSK identity: None
    PSK identity hint: None
    Start Time: 1501115229
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)
---

^C
[root@f36ad3b8c7b5 src]# 
SemenMartynov commented 7 years ago

I got it. We use an old wget, which sometimes tries to use deprecated protocols...

SemenMartynov commented 6 years ago

Last couple of days I observe strange problems with sourceforge... I can't get XZ Utils and some other projects: try to open https://tukaani.org/xz/xz-5.2.3.tar.gz

squeaky-pl commented 4 years ago

closing as upstream does this now.