plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Calls to AWS while using MinIO

Open paul1278 opened this issue 10 months ago • 0 comments

Is there an existing issue for this?

  • [x] 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

paul1278 avatar Apr 19 '24 19:04 paul1278