mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-26 07:25:51 +03:00
[GH-ISSUE #931] Cannot upload a file larger than 2.5 MB #657
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#657
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mmomjian on GitHub (Dec 22, 2023).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/931
I am running healthchecks.io in a docker container. PING_BODY_LIMIT does not seem to allow the uploading of any files larger than 2.5 MB.
The smaller files do get uploaded to S3, and appear in the list of pings. The larger files that error out never appear as a ping. I tried disabling S3 and I still get a hard cap at around 2.5 MB. Please let me know what logs or information could be helpful to figuring out this issue.
Steps to reproduce:
Run healthchecks.io in a docker container.
docker compose.yaml
Create two dummy files of 2.5 and 2.7 MB, and try to attach each one as a log
@cuu508 commented on GitHub (Dec 22, 2023):
Thanks for the report and the thorough investigation.
When I tried to reproduce the issue, I got this error report in email:
And, indeed, the default value for DATA_UPLOAD_MAX_MEMORY_SIZE is 2.5MB
https://docs.djangoproject.com/en/5.0/ref/settings/#data-upload-max-memory-size
Rather than exposing another setting as an env variable, I'm thinking perhaps in settings.py we could do