lfs with minio fails with big files #12214

Open
opened 2025-11-02 10:02:18 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @Zokormazo on GitHub (Dec 16, 2023).

Description

I'm using gitea 1.21.2 with lfs backed in wasabi using minio storage. Pushing small files up to 100mb is working as expected, but bigger ones are failng and git push stuck uploading forever. Logs are showing a content length and body length mismatch, not sure if that's expected

Gitea Version

1.21.2

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/Zokormazo/a6be870ce28ae80d6fefd79aff06be9d

Screenshots

No response

Git Version

No response

Operating System

rhel 8

How are you running Gitea?

rootless container

Database

PostgreSQL

Originally created by @Zokormazo on GitHub (Dec 16, 2023). ### Description I'm using gitea 1.21.2 with lfs backed in wasabi using minio storage. Pushing small files up to 100mb is working as expected, but bigger ones are failng and `git push` stuck uploading forever. Logs are showing a content length and body length mismatch, not sure if that's expected ### Gitea Version 1.21.2 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist https://gist.github.com/Zokormazo/a6be870ce28ae80d6fefd79aff06be9d ### Screenshots _No response_ ### Git Version _No response_ ### Operating System rhel 8 ### How are you running Gitea? rootless container ### Database PostgreSQL
GiteaMirror added the type/bug label 2025-11-02 10:02:18 -06:00
Author
Owner

@KN4CK3R commented on GitHub (Dec 16, 2023):

Some kind of proxy between Gitea and the storage which cancels the connection?

@KN4CK3R commented on GitHub (Dec 16, 2023): Some kind of proxy between Gitea and the storage which cancels the connection?
Author
Owner

@Zokormazo commented on GitHub (Dec 17, 2023):

Nope, I can upload 1gb+ files using public.ecr.aws/aws-cli/aws-cli container from the same host without issues

@Zokormazo commented on GitHub (Dec 17, 2023): Nope, I can upload 1gb+ files using `public.ecr.aws/aws-cli/aws-cli` container from the same host without issues
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12214