Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conda 安装不能正常显示进度 #182

Closed
skyzh opened this issue Apr 23, 2021 · 2 comments
Closed

conda 安装不能正常显示进度 #182

skyzh opened this issue Apr 23, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@skyzh
Copy link
Member

skyzh commented Apr 23, 2021

看起来是开启 gzip 导致的问题,需要学校 s3 关闭 gzip 压缩。

curl -v https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/anaconda/cloud/bioconda/linux-64/2pg_cartesian-1.0.1-0.tar.bz2 -H 'Accept-Encoding: gzip, deflate'
> GET /899a892efef34b1b944a19981040f55b-oss01/anaconda/cloud/bioconda/linux-64/2pg_cartesian-1.0.1-0.tar.bz2 HTTP/1.1
> Host: s3.jcloud.sjtu.edu.cn
> User-Agent: curl/7.76.1
> Accept: */*
> Accept-Encoding: gzip, deflate
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: openresty/1.13.6.1
< Date: Fri, 23 Apr 2021 02:57:58 GMT
< Content-Type: application/octet-stream
< Transfer-Encoding: chunked
< Connection: keep-alive
< Last-Modified: Fri, 05 Mar 2021 15:47:47 GMT
< ETag: W/"ff57096ecae1a6e9635197a0a2a7ef45"
< x-amz-meta-clone-backend: s3-v1
< x-amz-meta-clone-checksum: 4af3c111a042368a757a0cf7882d080ec890c4f2eb9500fa7b170ca4ad8fd900
< x-amz-meta-clone-checksum-method: sha256
< x-amz-meta-clone-last-modified: 1521047469
< x-amz-request-id: tx0000000000000058b2e37-00608237b6-41d8da9-zone-00864d
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT, PATCH
< Access-Control-Allow-Headers: content-type,x-amz-server-side-encryption,range,x-amz-user-agent,x-amz-copy-source,x-amz-content-sha256,x-amz-date,authorization,x-amz-acl,etag,content-encoding,x-requested-with
< Content-Encoding: gzip
<
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
* Failure writing output to destination
* Failed reading the chunked-encoded stream
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, close notify (256):
curl -v https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/anaconda/cloud/bioconda/linux-64/2pg_cartesian-1.0.1-0.tar.bz2
> GET /899a892efef34b1b944a19981040f55b-oss01/anaconda/cloud/bioconda/linux-64/2pg_cartesian-1.0.1-0.tar.bz2 HTTP/1.1
> Host: s3.jcloud.sjtu.edu.cn
> User-Agent: curl/7.76.1
> Accept: */*
>
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Server: openresty/1.13.6.1
< Date: Fri, 23 Apr 2021 02:58:25 GMT
< Content-Type: application/octet-stream
< Content-Length: 3000055
< Connection: keep-alive
< Accept-Ranges: bytes
< Last-Modified: Fri, 05 Mar 2021 15:47:47 GMT
< ETag: "ff57096ecae1a6e9635197a0a2a7ef45"
< x-amz-meta-clone-backend: s3-v1
< x-amz-meta-clone-checksum: 4af3c111a042368a757a0cf7882d080ec890c4f2eb9500fa7b170ca4ad8fd900
< x-amz-meta-clone-checksum-method: sha256
< x-amz-meta-clone-last-modified: 1521047469
< x-amz-request-id: tx0000000000000058aceb2-00608237d1-41d9925-zone-00864d
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, PUT, PATCH
< Access-Control-Allow-Headers: content-type,x-amz-server-side-encryption,range,x-amz-user-agent,x-amz-copy-source,x-amz-content-sha256,x-amz-date,authorization,x-amz-acl,etag,content-encoding,x-requested-with
<
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
* Failure writing output to destination
* Closing connection 0
* TLSv1.2 (OUT), TLS alert, close notify (256):
@skyzh skyzh added the bug Something isn't working label Apr 23, 2021
@skyzh
Copy link
Member Author

skyzh commented Apr 23, 2021

在 s3 测设置 Content-Type 即可解决。最近将会更新 metadata。

@skyzh
Copy link
Member Author

skyzh commented Apr 23, 2021

Fixed in sjtug/mirror-clone#82

之后将增量全部重传,以更新所有文件的 metadata。

@skyzh skyzh closed this as completed Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant