anacronw/multer-s3

Larger files fail silently

aug2uag opened this issue · 3 comments

I've encountered an issue where larger file sizes (⪆ 25MB) silently fail. This issue was reported several times elsewhere by others for example here, [issue #69], another, and there are more.

The params are missing AWS ContentLength property. I tested this and verified adding ContentLength resolved my issue.

Update: this seemed to have solved my issue on localhost yet it turned out my issues in staging were related to web proxy configs that have been sorted out. Feel free to close this issue. I'll get around to testing my staging instance without the ContentLength in params and will report back if there are any findings.

@aug2uag Can you please elaborate which configs you updated? I'm running into the same issue.

@elirichey it depends on your webproxy (whether you use one), for me on NGINX it was related to proxy_pass and experimenting with settings related there