appwrite / appwrite/console

🐛 Bug Report: Console fails uploading big functions

Open
#1,496 1 comment 0 reactions 0 assignees View on GitHub
bug product / functions
Dominant language
Svelte
Stars
393
Forks
260
Avg merge
6h 53m
Merged PRs (30d)
24

Description

### 👟 Reproduction steps

1. Navigate to Console > Project > Function
2. Create a New Function or Create a New Deployment in an existing function
3. Create/Upload Manual
4. Select a `code.tar.gz` file with, say around `5MB` or `10MB` of size
5. Console crashes with this on Chrome -

![Image](https://github.com/user-attachments/assets/f8b7c4a7-6b8f-4621-9377-b6717f32cfed)

---
Notes :
1. Surprisingly, this works fine on Self-hosted @ 1.6.0
2. Using Postman, the function file was uploaded successfully but took some time.
3. On Safari, I once got a status code of `413: Payload too Large` and the page doesn't crash like Chrome.

### 👍 Expected behavior

Function uploaded successfully.

### 👎 Actual Behavior

Function upload failed.

### 🎲 Appwrite version

Appwrite Cloud

### 💻 Operating system

MacOS

### 🧱 Your Environment

_No response_

### 👀 Have you spent some time to check if this issue has been raised before?

- [x] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.