[bug]: Unable to export issues when Plane is hosted in AWS GovCloud w/ S3 storage
Open
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
- Go to Settings -> Exports
- Create CSV Export
- Click Download
Environment
Production
Browser
Google Chrome
Variant
Self-hosted
Version
v1.4.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.