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

ds003645 Cannot retrieve data from S3 #3030

Open
effigies opened this issue Apr 22, 2024 · 0 comments
Open

ds003645 Cannot retrieve data from S3 #3030

effigies opened this issue Apr 22, 2024 · 0 comments
Labels

Comments

@effigies
Copy link
Contributor

What went wrong?

datalad clone https://github.com/openneurodatasets/ds003645.gitcd ds003645datalad get sub-002/anat/sub-002_mod-T1w_defacemask.nii.gz
get(error): sub-002/anat/sub-002_mod-T1w_defacemask.nii.gz (file) [HttpExceptionRequest Request {                             
host                 = "openneuro.org.s3.amazonaws.com"
port                 = 80
secure               = False
requestHeaders       = [("Date","Mon, 22 Apr 2024 18:14:21 GMT"),("Authorization","<REDACTED>")]
path                 = "/ds003645/sub-002/anat/sub-002_mod-T1w_defacemask.nii.gz"
queryString          = ""
method               = "GET"
proxy                = Nothing
rawBody              = False
redirectCount        = 10
responseTimeout      = ResponseTimeoutDefault
requestVersion       = HTTP/1.1
proxySecureMode      = ProxySecureWithConnect
}
(StatusCodeException (Response {responseStatus = Status {statusCode = 404, statusMessage = "Not Found"}, responseVersion = HTTP/1.1, responseHeaders = [("x-amz-request-id","BJDYKTAS1P9WJTAG"),("x-amz-id-2","wKUKRGVpaLvB++p0lcQgGlcIwAyYPAoXdgQ8ZSF2+fj40zG7q34JRmvSk1lR8B5TlCVY35MW/O9TIIeCZ1UOXQ=="),("Content-Type","application/xml"),("Transfer-Encoding","chunked"),("Date","Mon, 22 Apr 2024 18:14:21 GMT"),("Server","AmazonS3")], responseBody = (), responseCookieJar = CJ {expose = []}, responseClose' = ResponseClose, responseOriginalRequest = Request {
host                 = "openneuro.org.s3.amazonaws.com"
port                 = 80
secure               = False
requestHeaders       = [("Date","Mon, 22 Apr 2024 18:14:21 GMT"),("Authorization","<REDACTED>")]
path                 = "/ds003645/sub-002/anat/sub-002_mod-T1w_defacemask.nii.gz"
queryString          = ""
method               = "GET"
proxy                = Nothing
rawBody              = False
redirectCount        = 10
responseTimeout      = ResponseTimeoutDefault
requestVersion       = HTTP/1.1
proxySecureMode      = ProxySecureWithConnect
}
}) "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>ds003645/sub-002/anat/sub-002_mod-T1w_defacemask.nii.gz</Key><RequestId>BJDYKTAS1P9WJTAG</RequestId><HostId>wKUKRGVpaLvB++p0lcQgGlcIwAyYPAoXdgQ8ZSF2+fj40zG7q34JRmvSk1lR8B5TlCVY35MW/O9TIIeCZ1UOXQ==</HostId></Error>")]

And fetching with aws:

aws s3 sync --no-sign-request s3://openneuro.org/ds003645 ds003645-download/
/data/support via 🅒 default on ☁️  cjmarkie@stanford.edu took 5s ls -l ds003645-download 
total 0

Expected behavior

Should be downloadable

How to reproduce

No response

Desktop

  • OS:
  • Browser:
  • Version:

Phone

  • Device:
  • OS:
  • Browser:
  • Version:

Additional information

No response

@effigies effigies added the bug label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant