Hello,
I have set up a server as follows :
nginx reverse proxy ? varnish ? nginx ? php-fpm ? symfony with apiplatform
All routes work fine, except one that returns a zip file (below 300 MB) and
returns a 503 error most of the time.
Even if the zip is 1 MB, it returns errors, which is weird because I have
other routes that return JSON responses of more than 3 MB and works fine.
There are no specific headers or cookies, it's only a PHP controller that
returns a zip file, nothing fancy.
I've tried increasing workspace_backend to 2 MB, but it only makes the
error occur less often.
The following logs are about a zip file of around 1 MB
*Error log :*
https://pastebin.com/ye0KGV4M
*Success log* (on the same route/response) *:*
https://pastebin.com/KUvwQLKQ
Thank you,
Kevyn.
I have set up a server as follows :
nginx reverse proxy ? varnish ? nginx ? php-fpm ? symfony with apiplatform
All routes work fine, except one that returns a zip file (below 300 MB) and
returns a 503 error most of the time.
Even if the zip is 1 MB, it returns errors, which is weird because I have
other routes that return JSON responses of more than 3 MB and works fine.
There are no specific headers or cookies, it's only a PHP controller that
returns a zip file, nothing fancy.
I've tried increasing workspace_backend to 2 MB, but it only makes the
error occur less often.
The following logs are about a zip file of around 1 MB
*Error log :*
https://pastebin.com/ye0KGV4M
*Success log* (on the same route/response) *:*
https://pastebin.com/KUvwQLKQ
Thank you,
Kevyn.