[bug]: Export download links are still signed for us-east-1 when AWS_S3_ENDPOINT_URL is set (follow-up to #7199)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 84/100
Línea de trabajo
Lee apps/api/plane/bgtasks/export_task.py y compara la configuración de su cliente S3 con plane/settings/storage.py, que, según el issue, pasa la región. Añade la región de AWS configurada al cliente del endpoint, ejecuta después las pruebas pertinentes del export task y verifica que los enlaces de descarga generados usen la región configurada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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)
- Lenguaje dominante
- TypeScript
- Estrellas
- 63k
- Forks
- 6.5k
- Merge medio
- 2 d 16 h
- PR fusionados (30 d)
- 70
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de makeplane/plane
-
[bug]: Comment external_id is deduplicated per project instead of per work itemPosiblemente ocupada @MishraTanishq619 la tomó hace 21 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
makeplane/plane#10195 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Missing optional chaining on actor_details and reaction_items in apps/space reactions and votesPosiblemente ocupada @ghazy2001 la tomó hace 29 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
makeplane/plane#10111 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
makeplane/plane#10082 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[bug]: Email notifications show a broken avatar for users without a profile photoPosiblemente ocupada @gurnoorpannu la tomó hace 44 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
makeplane/plane#10009 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de makeplane/plane
Issues similares
-
enhancement status:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
dongdongbh/Mindwtr#1625 ·
Los mantenedores suelen responder en 1 día
-
area/ui-schema good first issue type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
duckdb/duckdb-wasm#2335 ·
Los mantenedores suelen responder en 1 día