
When trying to open a video I have uploaded to appwrite it get a 502 bad gateway error. The file is an MP4,

What's the response body? Anythjng in the Appwrite container logs?

Ahh I got it thank you! I just looked at logs. I did not know how till you told me to look it up.

The problem was no perms

I got this error in logs now Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 448676210 bytes) in /usr/src/code/vendor/utopia-php/storage/src/Storage/Compression/Algorithms/GZIP.php on line 41
[2023-11-27 01:49:45 *1723.5] ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 448676210 bytes) in /usr/src/code/vendor/utopia-php/storage/src/Storage/Compression/Algorithms/GZIP.php on line 41

I have increased the file limit size in the .env and it uploaded fine but cant view

Hmmm interesting...you have compression enabled on the bucket?

yes I do

GZip

I compressed the file and got it to work but that might be a problem in the future

@Steven

What do you mean?

I compressed the video file before uploading it and it worked but if I upload a larger video later it might become a problem

I meant in Appwrite, did you enable gzip on the bucket settings?

I do have it enabled

how big is the file?

it was like 400mb

i think we have a problem with these endpoints...can you create a github issue?

I can do you just want me to use the logs for the issue?

Recommended threads
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Hi im using vvs studio to make a charact...
my game involves magic , leveling up aka "phase" max phase is 30 each 10 20 30 theres awakening 1 2 3 i want to make a character builder so that players can fig...
