makeplane / makeplane/plane

[bug]: HeadObject operation: Bad Request while uploading any image or artefact to issues

Open
#4,975 1 comment 0 reactions 2 assignees View on GitHub

@srinivaspendem is already working on this.

Since Jul 1, 2024.

🐛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

Have configured plane over S3 using the steps mentioned here

But while uploading any image or artefact to issue, getting below errror:

api-1  | An error occurred (400) when calling the HeadObject operation: Bad Request
api-1  | ERROR 2024-06-18 12:26:24,205 exception_logger 25 273656705968456 An error occurred (400) when calling the HeadObject operation: Bad Request
api-1  | ERROR 2024-06-18 12:26:24,212 log 25 273656626534728 Internal Server Error: /api/workspaces/test-workspace/projects/d9398df5-8455-4b06-8f4b-aba3615c8afe/issues/c0c5aa71-43de-4ff0-8964-4e6c5772ea0e/issue-attachments/
Steps to reproduce
  1. Configure plane using steps here, https://docs.plane.so/self-hosting/methods/docker-compose
  2. Configure S3 as below:
# DATA STORE SETTINGS
USE_MINIO=0
AWS_REGION=ap-south-1
AWS_ACCESS_KEY_ID=xxxxx
AWS_SECRET_ACCESS_KEY=xxxxx
AWS_S3_ENDPOINT_URL=https://xxxxxx.ap-south-1.amazonaws.com/
AWS_S3_BUCKET_NAME=xxxx-plane-
MINIO_ROOT_USER=access-key
MINIO_ROOT_PASSWORD=secret-key
BUCKET_NAME=lead-plane-jira
FILE_SIZE_LIMIT=5242880
  1. Open plane.so, and upload any image to any issue to reproduce the bug
Environment

Production

Browser

Google Chrome

Variant

Cloud

Version

v0.21.0

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.