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

Unable to download the dataset and checkpoint. #194

Open
ZERONE182 opened this issue Jun 5, 2024 · 1 comment
Open

Unable to download the dataset and checkpoint. #194

ZERONE182 opened this issue Jun 5, 2024 · 1 comment

Comments

@ZERONE182
Copy link

When I use the SAS token to download the resource,

export SAS="?sv=2021-10-04&st=2024-04-03T07%3A48%3A36Z&se=2025-04-04T07%3A48%3A00Z&sr=c&sp=rl&sig=TcaroWm0i9P2heueVCRbrUgTRX4SBbN%2BmpqlA3087JY%3D"
wget "https://ai4scienceasiaedp.blob.core.windows.net/dig/dig/catalyst-adsorption/train.zip$SAS" -O train.zip

I get the error:

--2024-06-05 15:13:12--  https://ai4scienceasiaedp.blob.core.windows.net/dig/dig/catalyst-adsorption/train.zip?sv=2021-10-04&st=2024-04-03T07%3A48%3A36Z&se=2025-04-04T07%3A48%3A00Z&sr=c&sp=rl&sig=TcaroWm0i9P2heueVCRbrUgTRX4SBbN%2BmpqlA3087JY%3D
Resolving ai4scienceasiaedp.blob.core.windows.net (ai4scienceasiaedp.blob.core.windows.net)... 20.60.153.1
Connecting to ai4scienceasiaedp.blob.core.windows.net (ai4scienceasiaedp.blob.core.windows.net)|20.60.153.1|:443... connected.
HTTP request sent, awaiting response... 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
2024-06-05 15:13:13 ERROR 403: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature..

and when I use curl to test the token:

curl -v "https://ai4scienceasiaedp.blob.core.windows.net/dig/dig/catalyst-adsorption/train.zip?sv=2021-10-04&st=2024-04-03T07%3A48%3A36Z&se=2025-04-04T07%3A48%3A00Z&sr=c&sp=rl&sig=TcaroWm0i9P2heueVCRbrUgTRX4SBbN%2BmpqlA3087JY%3D"

It still return error message:

*   Trying 20.60.153.1...
* TCP_NODELAY set
* Connected to ai4scienceasiaedp.blob.core.windows.net (20.60.153.1) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /usr/lib/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (OUT), TLS change cipher, Client hello (1):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Unknown (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS Unknown, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=WA; L=Redmond; O=Microsoft Corporation; CN=*.blob.core.windows.net
*  start date: Apr 13 00:11:00 2024 GMT
*  expire date: Apr  8 00:11:00 2025 GMT
*  subjectAltName: host "ai4scienceasiaedp.blob.core.windows.net" matched cert's "*.blob.core.windows.net"
*  issuer: C=US; O=Microsoft Corporation; CN=Microsoft Azure RSA TLS Issuing CA 04
*  SSL certificate verify ok.
* TLSv1.3 (OUT), TLS Unknown, Unknown (23):
> GET /dig/dig/catalyst-adsorption/train.zip?sv=2021-10-04&st=2024-04-03T07%3A48%3A36Z&se=2025-04-04T07%3A48%3A00Z&sr=c&sp=rl&sig=TcaroWm0i9P2heueVCRbrUgTRX4SBbN%2BmpqlA3087JY%3D HTTP/1.1
> Host: ai4scienceasiaedp.blob.core.windows.net
> User-Agent: curl/7.58.0
> Accept: */*
> 
* TLSv1.3 (IN), TLS Unknown, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS Unknown, Unknown (23):
< HTTP/1.1 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
< Content-Length: 519
< Content-Type: application/xml
< Server: Microsoft-HTTPAPI/2.0
< x-ms-request-id: dc33d3f4-201e-0039-5a17-b7a1f7000000
< x-ms-error-code: AuthenticationFailed
< Date: Wed, 05 Jun 2024 07:08:34 GMT
< 
<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:dc33d3f4-201e-0039-5a17-b7a1f7000000
Time:2024-06-05T07:08:34.2786724Z</Message><AuthenticationErrorDetail>Signature did not match. String to sign used was rl
2024-04-03T07:48:36Z
2025-04-04T07:48:00Z
/blob/ai4scienceasiaedp/dig



2021-10-04
c






* Connection #0 to host ai4scienceasiaedp.blob.core.windows.net left intact
</AuthenticationErrorDetail></Error>#     

It seems that the SAS token is invalid now, could you please update the SAS token?

@ZERONE182 ZERONE182 changed the title Unable to download dataset and checkpoint. Unable to download the dataset and checkpoint. Jun 5, 2024
@yfukasawa
Copy link

same here. It worked in May 2024, but now we hit 403 error. Any progress?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants