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

Pipeline conflicts with user AWS configuration #355

Open
klmr opened this issue Apr 30, 2020 · 2 comments
Open

Pipeline conflicts with user AWS configuration #355

klmr opened this issue Apr 30, 2020 · 2 comments

Comments

@klmr
Copy link

klmr commented Apr 30, 2020

I’ve got a default AWS configuration at $HOME/.aws/config which includes the following:

[default]
region = us-east-1

This causes Sarek to fail when it’s trying to download the iGenomes data. The error message is:

The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-west-1' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: EFD0047C3BC01410; S3 Extended Request ID: MMiKH3WnN3XQ8ZdtQN48D6lriG36JRv7cbMm5yuNv8cNqHpwhfB5XFUJvZt4pY6qX1ZsOQoPGMg=)

-- Check script '/home/konrad/.nextflow/assets/nf-core/sarek/main.nf' at line: 268 or see '.nextflow.log' file for more details

Removing the default AWS profile fixes the issue, but should not be necessary: Sarek should explicitly set its own AWS profile (including a region) to avoid conflicts with system profiles.

(This is using Sarek at rev b952fe2b3fcd3541237c9f4a9f27e1852f537967 with no user configuration, launched as nextflow run nf-core/sarek --input samples.)

@maxulysse maxulysse transferred this issue from nf-core/sarek Apr 30, 2020
@maxulysse maxulysse changed the title Sarek conflicts with user AWS configuration Pipeline conflicts with user AWS configuration Apr 30, 2020
@maxulysse
Copy link
Member

Hi @klmr, I transferred your issue here.
It has been reported with nf-core, and we're working on addressing it.
We talked about that on our slack yesterday (https://nfcore.slack.com/archives/CE7FBAMRP/p1588157967036100) and we are thinking of a way to make it clearer for the users.

@ewels
Copy link
Member

ewels commented Mar 1, 2022

Note that I'm being hassled by AWS people to mirror iGenomes to other regions, so that should help when I finally get to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

3 participants