Release attachment size limit

I’m trying to upload a binary to a release but it’s quote large (4GB iso) and I get “TypeError: NetworkError when attempting to fetch resource.” I tried experimenting with different file sizes to figure out largest file I could upload and it’s 245 MB. If I try a 246MB file I get “Error: Internal Server Error”. I’m doing all of these over the swagger interface.

Here’s a snippet from my app.ini

[attachment]
ALLOWED_TYPES = "*/*"
MAX_FILES=10
MAX_SIZE=5000

Edit: gitea 1.12.1 and go 1.14.4

Have you solved the problem?

Note, that a reverse proxy may be imposing limitations on upload file size before it reaches gitea