makeplane / makeplane/plane

[bug]: Unable to export issues when Plane is hosted in AWS GovCloud w/ S3 storage

Open
#5,942 12 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

🐛bug
Dominant language
TypeScript
Stars
59.6k
Forks
5.8k
Avg merge
1d 22h
Merged PRs (30d)
49

Description

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: https://github.com/makeplane/plane/blob/c68658d877ba0af93044fbcda7a43d779b1ddf5f/apiserver/plane/bgtasks/export_task.py#L111

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.