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

BUG - Error Downloading from Collaboratory in Google Cloud #341

Open
egarciarivera opened this issue Nov 15, 2022 · 0 comments
Open

BUG - Error Downloading from Collaboratory in Google Cloud #341

egarciarivera opened this issue Nov 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@egarciarivera
Copy link

Description

I am trying to download BAM and FASTQ files from ICGC into a GCP instance and I'm getting a download error. It's requesting that I do so from within an EC2 instance in AWS. Is there anyway to download data into a GCP VM?

Expected Behaviour

Download BAM/FASTQ file, e.g. object: c511b0d5-8bd4-5ff8-ac5a-bbd1f201d480

Actual Behaviour

Get the following error with the default conf endpoints:

ERROR: Command error: java.io.IOException: Amazon S3 error: FORBIDDEN: If you are trying to connect to the AWS S3 Repository, you need to be running ths ICGC client on an EC2 VM instance<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>6H1J6ZMZ9VYJD0KH</RequestId><HostId>yLU9TtyCQjjNzuiDdZpvM6NFJT8qsrPhQFqzeYzHtQnm9sQvFwtsmZTEpobpnQAUXYucnxP+5X4=</HostId></Error>

If I change to metadata.url=https://api.platform.icgc-argo.org/storage-api; storage.url=https://api.platform.icgc-argo.org/storage-api I get the following:

ERROR: Entity not found: java.io.IOException: Storage client error: No file found with the provided ObjectId: c511b0d5-8bd4-5ff8-ac5a-bbd1f201d480

The access token is configured correctly in the conf file and has the right scopes for all repositories.

Steps to Reproduce

Downloaded client (score-client-5.8.1)
Edit conf to include access token
Ran: /bin/score-client download --output-dir data --object-id c511b0d5-8bd4-5ff8-ac5a-bbd1f201d480

Your Environment

  • Version used: score-client-5.8.1
  • Environment name and version (e.g. Chrome 39, node.js 5.4): GCP VM ; openjdk 11.0.16 2022-07-19
  • Operating System and version (desktop or mobile): Ubuntu 20.04

Appreciate the help with this.

@egarciarivera egarciarivera added the bug Something isn't working label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant