makeplane / makeplane/plane

[bug]: Calls to AWS while using MinIO

Open
#4,248 2 comments 4 reactions 2 assignees View on GitHub

Nobody has claimed this yet.

⚙️backend 🏠self-hosted 🐛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

I am using MinIO and not AWS, but as soon as I open the page https://mydomain/profile (or actually the API-call /api/project-covers/), Plane wants to talk to AWS and also includes settings inside the URL like AWS_S3_BUCKET_NAME. I noticed this because of my DNS-server reporting requests to this domain.

The relevant parts of my .env :

USE_MINIO=1
AWS_REGION=
AWS_ACCESS_KEY_ID=access-key
AWS_SECRET_ACCESS_KEY=secret-key
AWS_S3_ENDPOINT_URL=http://plane-minio:9000
AWS_S3_BUCKET_NAME=uploads
BUCKET_NAME=uploads

The domain which is called is uploads.s3.amazonaws.com, which looks like the hard-coded value here

It would be better to use the value of AWS_S3_ENDPOINT_URL there, since the uploads cannot be found on AWS.

Steps to reproduce

Monitor your DNS traffic and go to /profile, you will see the outgoing DNS-requests.

Environment

Production

Browser

None

Variant

Self-hosted

Version

v0.18-dev

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.