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

vdb-config AWS configuration challenge #3

Open
tweep opened this issue Feb 26, 2022 · 3 comments
Open

vdb-config AWS configuration challenge #3

tweep opened this issue Feb 26, 2022 · 3 comments

Comments

@tweep
Copy link

tweep commented Feb 26, 2022

Hi there,
I'm using prefetch version 3.0.0. and I'm trying to download some dbGAP data. within vdb-config, I have selected

  • remote access (main tab)
  • accept charges (aws tab)

I also read trough https://github.com/ncbi/sra-tools/wiki/04.-Cloud-Credentials which describes, how the AWS IAM credentials can be retrieved. I've tried to format the credentials in various ways, ie pointing to to the downloaded csv file, changing read permissions etc -- however when I try to run prefetch it fails with this error:

2022-02-26T02:12:17 prefetch.3.0.0 int: file unauthorized while opening file within network system module - cannot open remote file: https://sra-ca-run-odp.s3.amazonaws.com/sra/phs001963.c1/SRR15467117/SRR15467117

Interestingly, when deselecting the "accept charges" option in AWS tab of vdb-config, the download works OK.
This seems to indicate that the authentication with the AWS IAM credentials is the issue here. I'm trying to use AWS as I prefer to download directly from S3, rather than via the slower https.

Questions:

  • Can you please update the documentation on how to configure the AWS credentials file used by vdb-config and provide an example format ? ( the standard AWS credentials format seems to not work for me )
  • The vdb-config ui does not allow to select specific files - how will the config identify the correct file ? does it have to be named in a certain way ? (would be great if the Amazon cloud credentials page gets updated)
  • Does the IAM user, which I am using, require certain permissions ?
@skripche
Copy link

skripche commented Mar 2, 2022

Did you select "report cloud instance identity"?

Were you using an NGC file or JWT cart to access the dbGaP data?

@zhangguy
Copy link

zhangguy commented Sep 7, 2022

Did you select "report cloud instance identity"?

Were you using an NGC file or JWT cart to access the dbGaP data?

I encountered the same error as the original poster, no matter "report cloud instance identity" is checked or not. I tried both NGC file and the JWT cart file and got the same error. I'm using the latest version of sratools. Right now I can only download from the sra repo but not from the s3. Could you help? Thanks

@stineaj
Copy link
Collaborator

stineaj commented Sep 14, 2022

@zhangguy please write to sra@ncbi.nlm.nih.gov to open a ticket. We will want to ask you to provide some additional details for the exact commands and configuration you are using and some of the output may provide more info than I am comfortable asking you to post in a public forum.

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

4 participants