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]: Unable to export issues when Plane is hosted in AWS GovCloud w/ S3 storage #5942

Open
1 task done
leedsjb opened this issue Nov 3, 2024 · 4 comments
Open
1 task done
Assignees
Labels
🐛bug Something isn't working

Comments

@leedsjb
Copy link

leedsjb commented Nov 3, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I create a Plane export I am unable to download the export from S3.

S3 returns the following error:

<Code>AuthorizationQueryParametersError</Code>
<Message>Error parsing the X-Amz-Credential parameter; the region 'us-east-1' is wrong; expecting 'us-gov-west-1'</Message>
<Region>us-gov-west-1</Region>
<RequestId>Redacted</RequestId>
<HostId>Redacted</HostId>

I believe this is because the boto3 defaults to us-east-1 when a region is not explicitely provided. Set the region here:

s3 = boto3.client(

Steps to reproduce

  1. Go to Settings -> Exports
  2. Create CSV Export
  3. Click Download

Environment

Production

Browser

Google Chrome

Variant

Self-hosted

Version

v1.4.0

@leedsjb leedsjb added the 🐛bug Something isn't working label Nov 3, 2024
@pablohashescobar
Copy link
Collaborator

@leedsjb, the endpoint url should contain the region. Can you please check if the provided endpoint url is correct?

@pushya22 pushya22 assigned pablohashescobar and unassigned vihar and pushya22 Nov 4, 2024
@leedsjb
Copy link
Author

leedsjb commented Nov 14, 2024

@pablohashescobar confirming the endpoint URL is set and correct. The URL set is: https://s3.us-gov-west-1.amazonaws.com.

@pablohashescobar
Copy link
Collaborator

@leedsjb, can you also please check if the provided AWS_REGION environment matches the region present in the endpoint url.

@leedsjb
Copy link
Author

leedsjb commented Nov 19, 2024

Hi Nikhil, yes, confirming the region is set using the AWS_REGION env var. Specifically, it is set to: us-gov-west-1 by setting the env.aws_region value in values.yaml in the Helm chart. Thank you. @pablohashescobar

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

4 participants