Skip to content

Failed to get source from registry #1400

Closed
@hh9527

Description

@hh9527

I use cargo fetch --verbose and got:

Downloading bitflags v0.1.1
unable to get packages from source


Caused by:
  Failed to download package `bitflags v0.1.1` from https://crates.io/api/v1/crates/bitflags/0.1.1/download

Caused by:
  Failed to verify the checksum of `bitflags v0.1.1`

And use curl -v https://crates.io/api/v1/crates/bitflags/0.1.1/download, and got following result:

* Hostname was NOT found in DNS cache
*   Trying 127.0.0.1...
* Connected to 127.0.0.1 (127.0.0.1) port 8880 (#0)
* Establish HTTP proxy tunnel to crates.io:443
> CONNECT crates.io:443 HTTP/1.1
> Host: crates.io:443
> User-Agent: curl/7.35.0
> Proxy-Connection: Keep-Alive
> 
< HTTP/1.0 200 Connection established
< Connection: close
< 
* Proxy replied OK to CONNECT request
* successfully set certificate verify locations:
*   CAfile: none
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server key exchange (12):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using ECDHE-RSA-AES128-GCM-SHA256
* Server certificate:
*    subject: OU=GT87339749; OU=See www.rapidssl.com/resources/cps (c)14; OU=Domain Control Validated - RapidSSL(R); CN=crates.io
*    start date: 2014-11-06 11:11:23 GMT
*    expire date: 2015-11-09 14:30:14 GMT
*    subjectAltName: crates.io matched
*    issuer: C=US; O=GeoTrust Inc.; CN=RapidSSL SHA256 CA - G3
*    SSL certificate verify ok.
> GET /api/v1/crates/bitflags/0.1.1/download HTTP/1.1
> User-Agent: curl/7.35.0
> Host: crates.io
> Accept: */*
> 
< HTTP/1.1 302 Found
< Connection: keep-alive
* Server nginx is not blacklisted
< Server: nginx
< Date: Tue, 10 Mar 2015 12:48:03 GMT
< Transfer-Encoding: chunked
< Location: https://crates-io.s3-us-west-1.amazonaws.com/crates/bitflags/bitflags-0.1.1.crate
< Set-Cookie: cargo_session=--3c156d7a3629aa08a1a0d538832f99ea30835cc8; HttpOnly; Secure; Path=/
< Strict-Transport-Security: max-age=31536000
< Via: 1.1 vegur
< 
* Connection #0 to host 127.0.0.1 left intact

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions