[bug]: Export download links are still signed for us-east-1 when AWS_S3_ENDPOINT_URL is set (follow-up to #7199)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 84/100
調査の方向性
apps/api/plane/bgtasks/export_task.pyを読み、S3クライアントの設定を、issueでリージョンを渡しているとされているplane/settings/storage.pyと比較してください。設定済みのAWSリージョンをエンドポイントクライアントに追加し、関連するエクスポートタスクのテストを実行して、生成されるダウンロードリンクが設定済みのリージョンを使用することを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues
Current behavior
Issue exports (CSV/JSON/XLSX) finish with status "completed" and the file is uploaded to S3, but the download link
fails with HTTP 400:
<Code>AuthorizationQueryParametersError</Code>
<Message>Error parsing the X-Amz-Credential parameter; the region 'us-east-1' is wrong; expecting 'ap-southeast-1'</Message>
#7199 reported this and was closed, but on current master (and v1.5.0/v1.5.1)
apps/api/plane/bgtasks/export_task.py only passes region_name in the branch without an endpoint:
if settings.AWS_S3_ENDPOINT_URL:
s3 = boto3.client(
"s3",
endpoint_url=settings.AWS_S3_ENDPOINT_URL,
aws_access_key_id=settings.AWS_ACCESS_KEY_ID,
aws_secret_access_key=settings.AWS_SECRET_ACCESS_KEY,
config=Config(signature_version="s3v4"),
) # no region_name -> boto3 falls back to us-east-1
The self-host compose always sets AWS_S3_ENDPOINT_URL (it defaults to http://plane-minio:9000 when empty), so
everyone using AWS S3 outside us-east-1 takes this branch. Uploads still work because botocore's S3 region redirect
retries them; presigned URLs are created without a request, so they keep the wrong region.
Expected behavior
Add region_name=settings.AWS_REGION to the endpoint_url client as well (as plane/settings/storage.py already does).
Steps to reproduce
- Self-hosted,
USE_MINIO=0,AWS_REGION=ap-southeast-1,AWS_S3_ENDPOINT_URL=https://s3.ap-southeast-1.amazonaws.com. - Export issues from Settings → Exports.
- Open the download link → 400 (
X-Amz-Credentialcontains/us-east-1/s3/).
Workaround: set AWS_DEFAULT_REGION on the worker service.
Environment
Production
Variant
Self-hosted
Version
v1.5.0 (code unchanged on master as of 2026-11-27)
- 主要言語
- TypeScript
- スター
- 63k
- フォーク
- 6.5k
- 平均マージ
- 2日 16時間
- マージ済み PR(30日)
- 70
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
makeplane/plane のほかの issue
-
[bug]: Comment external_id is deduplicated per project instead of per work item対応中かも @MishraTanishq619 が 21 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
makeplane/plane#10195 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votes対応中かも @ghazy2001 が 29 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
makeplane/plane#10111 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
makeplane/plane#10082 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[bug]: Email notifications show a broken avatar for users without a profile photo対応中かも @gurnoorpannu が 44 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
makeplane/plane#10009 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
makeplane/plane の issue をすべて見る
似ている issue
-
enhancement status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
dongdongbh/Mindwtr#1625 ·
メンテナーはふだん 1 日以内に返信
-
area/ui-schema good first issue type/bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
duckdb/duckdb-wasm#2335 ·
メンテナーはふだん 1 日以内に返信