mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #340] 413 (Payload Too Large) #181
Reference in New Issue
Block a user
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 @Extroonie on GitHub (Jan 9, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/340
Problem
It seems like I cannot upload files larger than 1 MB.
Dufs config:
Log
Environment:
@sigoden commented on GitHub (Jan 10, 2024):
Every file uploading generates a
PUTrequest log, but your log shows that dufs didn't receive anyPUTrequests at all, which means dufs didn't receive the upload request at all.Please open the browser console (F12) to debug and see what's going on. @Extroonie
@Extroonie commented on GitHub (Jan 10, 2024):
Hi, this is what's happening:
@sigoden commented on GitHub (Jan 10, 2024):
Dufs never raise 413 error. are you using proxy service above dufs? @Extroonie
@Extroonie commented on GitHub (Jan 10, 2024):
Yes, cloudflare, @sigoden.
@sigoden commented on GitHub (Jan 10, 2024):
https://community.cloudflare.com/t/request-entity-too-large-413/509332/4
@Extroonie commented on GitHub (Jan 10, 2024):
The file I'm trying to upload is 17 MB.
Edit 1: I have also verified that the upload size limit is 100 MB through the cloudflare dashboard:
Edit 2: It seems like I can't upload a 1 MB file either:
@sigoden commented on GitHub (Jan 10, 2024):
dufs did not receive the request, which was blocked by cloudflare,
I'm not familiar with cloudflare. You have to figure it out yourself.
@Extroonie commented on GitHub (Jan 10, 2024):
I see. Thanks!
Edit: I fixed it by setting
client_max_body_size 100M;in ngnix underserver.@P4r4n01dB34r commented on GitHub (Jun 10, 2025):
Hi @sigoden!
I am getting the same error and i am proxying dufs behind cloudflare tunnel, and from the logs as for you the put request does not appear if i upload a file that is large than 100MB, there are some solutions to this problem?
Thank you