console icon indicating copy to clipboard operation
console copied to clipboard

🐛 Bug Report: Console fails uploading big functions

Open ItzNotABug opened this issue 1 year ago • 1 comments

👟 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


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?

ItzNotABug avatar Nov 06 '24 10:11 ItzNotABug

I am also unable to upload big files.

In my Microsoft edge, it doesn't crash, however, API doesn't return any response, and I get the error message 'Failed to fetch'.

I feel this is a backend issue, rather than client

pushkar707 avatar Dec 09 '24 16:12 pushkar707