Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: Calls to AWS while using MinIO #4248

Open
1 task done
paul1278 opened this issue Apr 19, 2024 · 0 comments
Open
1 task done

[bug]: Calls to AWS while using MinIO #4248

paul1278 opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels
🐛bug Something isn't working

Comments

@paul1278
Copy link
Contributor

paul1278 commented Apr 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants