# Release attachment size limit

**URL:** <https://forum.gitea.com/t/release-attachment-size-limit/2268>\
**Category:** General\
**Created:** [June 25, 2020, 3:35pm UTC](https://forum.gitea.com/t/release-attachment-size-limit/2268 "2020-06-25T15:35:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stu1811](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@stu1811](https://forum.gitea.com/u/stu1811)\
**Post date:** [June 25, 2020, 3:35pm UTC](https://forum.gitea.com/t/release-attachment-size-limit/2268/1 "2020-06-25T15:35:37Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![siyouluo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/siyouluo/32/1415_2.png) [@siyouluo](https://forum.gitea.com/u/siyouluo)\
**Post date:** [July 5, 2021, 3:02pm UTC](https://forum.gitea.com/t/release-attachment-size-limit/2268/2 "2021-07-05T15:02:40Z")

</div>

Have you solved the problem？

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [July 10, 2021, 1:31am UTC](https://forum.gitea.com/t/release-attachment-size-limit/2268/3 "2021-07-10T01:31:32Z")

</div>

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