ncbi / sra-tools

SRA Tools
Other
1.14k stars 249 forks source link

Cannot use prefetch v.3.1.1 on GCP #963

Closed taltman closed 3 months ago

taltman commented 3 months ago

I installed SRA Toolkit v3.1.1 on a GCP Compute instance. I tried to use prefetch on an SRA accession, but it errors out (see below).

I also tried to use wget from the same session on the same URL, and it also errors out (see below).

I did run vdb-config -i and set up GCP to accept charges, report identity, and even uploaded a certificate. Any ideas of what I'm doing wrong would be greatly appreciated.

Thank you,

~Tomer


~$ prefetch --progress --max-size=100G SRR27189706
2024-08-29T19:00:40 prefetch.3.1.1: 1) Resolving 'SRR27189706'...
2024-08-29T19:00:40 prefetch.3.1.1: Current preference is set to retrieve SRA Lite files with simplified base quality scores
2024-08-29T19:00:42 prefetch.3.1.1 int: self NULL while reading file within network system module - cannot open remote file: https://storage.googleapis.com/sra-pub-zq-104/SRR27189706/SRR27189706.lite.1
2024-08-29T19:00:43 prefetch.3.1.1: 1) Downloading 'SRR27189706.lite'...
2024-08-29T19:00:43 prefetch.3.1.1:  SRA Lite file is being retrieved
2024-08-29T19:00:43 prefetch.3.1.1:  Downloading via HTTPS...
2024-08-29T19:00:47 prefetch.3.1.1:  HTTPS download failed
2024-08-29T19:00:47 prefetch.3.1.1 int: self NULL while reading file within network system module - 1) failed to download 'SRR27189706.lite'
$ srapath SRR27189706
https://storage.googleapis.com/sra-pub-zq-104/SRR27189706/SRR27189706.lite.1
$ wget $(srapath SRR27189706)
--2024-08-29 19:03:47--  https://storage.googleapis.com/sra-pub-zq-104/SRR27189706/SRR27189706.lite.1
Resolving storage.googleapis.com (storage.googleapis.com)... 108.177.11.207, 108.177.12.207, 74.125.26.207, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|108.177.11.207|:443... connected.
HTTP request sent, awaiting response... 400 Bad Request
2024-08-29 19:03:48 ERROR 400: Bad Request.
durbrow commented 3 months ago

Please email sra@ncbi.nlm.nih.gov with this problem.

This isn't a problem with the toolkit but with how something is configured at NCBI or at Google.