#2724: Downloads from repo.osgeo.org interrupted
-------------------------+-------------------------------------------------
Reporter: juanluisrp | Owner: sac@…
Type: defect | Status: new
Priority: normal | Milestone: Unplanned
Component: Systems | Keywords: nexus, repo.osgeo.org, repository,
Admin | maven, connection
-------------------------+-------------------------------------------------
The Maven artifacts downloads from repo.osgeo.org are failing, at least
when the file size is big. The connection gets interrupted. For example:
{{{
curl -v https://repo.osgeo.org/repository/release/org/geoserver/web/gs-
web-app/2.20.3/gs-web-app-2.20.3.jar -o gs-web-app-2.20.3.jar
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Trying 140.211.15.6:443...
* Connected to repo.osgeo.org (140.211.15.6) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [228 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4038 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=nexus.osgeo.org
* start date: Jan 10 21:50:40 2022 GMT
* expire date: Apr 10 21:50:39 2022 GMT
* subjectAltName: host "repo.osgeo.org" matched cert's "repo.osgeo.org"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade:
len=0
* Using Stream ID: 1 (easy handle 0x7fab6080d600)
> GET /repository/release/org/geoserver/web/gs-web-app/2.20.3/gs-web-
app-2.20.3.jar HTTP/2
> Host: repo.osgeo.org
> user-agent: curl/7.77.0
> accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 200
< server: nginx/1.18.0
< date: Wed, 02 Mar 2022 09:21:41 GMT
< content-type: application/java-archive
< content-length: 107447694
< x-content-type-options: nosniff
< content-security-policy: sandbox allow-forms allow-modals allow-popups
allow-presentation allow-scripts allow-top-navigation
< x-xss-protection: 1; mode=block
< last-modified: Wed, 23 Feb 2022 23:54:12 GMT
< etag: "{SHA1{d086b48d0c373b37abf1b13b6065543962d9d5be}}"
< content-disposition: inline
< front-end-https: on
<
{ [7713 bytes data]
3 102M 3 4139k 0 0 163k 0 0:10:42 0:00:25 0:10:17
192k* HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
* stopped the pause stream!
4 102M 4 4319k 0 0 164k 0 0:10:38 0:00:26 0:10:12
191k
* Connection #0 to host repo.osgeo.org left intact
curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
}}}
or
{{{
curl -v https://repo.osgeo.org/repository/release/org/geonetwork-
opensource/web-app/3.10.3-0/web-app-3.10.3-0.war -o gn.war
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0* Trying 140.211.15.6:443...
* Connected to repo.osgeo.org (140.211.15.6) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
* CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [228 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [102 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [4038 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [300 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-RSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=nexus.osgeo.org
* start date: Jan 10 21:50:40 2022 GMT
* expire date: Apr 10 21:50:39 2022 GMT
* subjectAltName: host "repo.osgeo.org" matched cert's "repo.osgeo.org"
* issuer: C=US; O=Let's Encrypt; CN=R3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade:
len=0
* Using Stream ID: 1 (easy handle 0x7f7afa80f200)
> GET /repository/release/org/geonetwork-opensource/web-app/3.10.3-0/web-
app-3.10.3-0.war HTTP/2
> Host: repo.osgeo.org
> user-agent: curl/7.77.0
> accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0< HTTP/2 200
< server: nginx/1.18.0
< date: Wed, 02 Mar 2022 09:30:12 GMT
< content-type: application/java-archive
< content-length: 199722063
< x-content-type-options: nosniff
< content-security-policy: sandbox allow-forms allow-modals allow-popups
allow-presentation allow-scripts allow-top-navigation
< x-xss-protection: 1; mode=block
< last-modified: Tue, 11 May 2021 11:33:59 GMT
< etag: "{SHA1{a0bb8403b4049de9cd9ca08f80795d199e2584fa}}"
< content-disposition: inline
< front-end-https: on
<
{ [7713 bytes data]
2 190M 2 4087k 0 0 197k 0 0:16:27 0:00:20 0:16:07
243k* HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
* stopped the pause stream!
2 190M 2 4103k 0 0 198k 0 0:16:23 0:00:20 0:16:03
254k
* Connection #0 to host repo.osgeo.org left intact
curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2724>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.