phar-io/phive

Issue with getting a release

alexandra-default opened this issue · 2 comments

As a duplicate for #321, I can report that I recently run into the same issue.

wget -O phive.phar https://phar.io/releases/phive.phar returns a 404 error, and curl reports about protocol error:

➜  ~ curl -v https://phar.io/releases/phive.phar
*   Trying 188.94.27.6...
* TCP_NODELAY set
* Connected to phar.io (188.94.27.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):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=phar.io
*  start date: Nov 13 04:52:49 2021 GMT
*  expire date: Feb 11 04:52:48 2022 GMT
*  subjectAltName: host "phar.io" matched cert's "phar.io"
*  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 0x7f817d80d600)
> GET /releases/phive.phar HTTP/2
> Host: phar.io
> User-Agent: curl/7.64.1
> Accept: */*
> 
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
* http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [not found], value: []
* HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
* stopped the pause stream!
* Connection #0 to host phar.io left intact
curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
* Closing connection 0

Last time is was reported as a DNS issue: #321 (comment)

Could you please have a look?
Thank you for your attention.

Should work again. Sorry for the inconvenience.

Yup, can confirm that it's resolved.

Thank you so much for super quick fix!