Skip to content

🐛 Bug Report: Storage rate limit while uploading big file  #6881

@joern-h

Description

@joern-h

👟 Reproduction steps

Upload a big file (1GB) to a Storage Bucket
I use sdk-for-flutter which uploads files in 5MB chunks

👍 Expected behavior

It should upload the file without rate limiting.

Uploading the file from the Appwrite console works.

👎 Actual Behavior

Upload will be rate limited:

Client log:

Error: AppwriteException: general_rate_limit_exceeded, Rate limit for the current endpoint has been exceeded. Please try again after some time. (429)

Server log:

appwrite  | [Error] Timestamp: 2023-10-11T08:59:29+00:00
appwrite  | [Error] Method: POST
appwrite  | [Error] URL: /v1/storage/buckets/:bucketId/files
appwrite  | [Error] Type: Appwrite\Extend\Exception
appwrite  | [Error] Message: Rate limit for the current endpoint has been exceeded. Please try again after some time.
appwrite  | [Error] File: /usr/src/code/app/controllers/shared/api.php
appwrite  | [Error] Line: 169

🎲 Appwrite version

Version 1.4.x

💻 Operating system

Linux

🧱 Your Environment

Appwrite 1.4.5
Flutter SDK: 11.0.0

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

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingproduct / storageFixes and upgrades for the Appwrite Storage.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions