Answer the question
In order to leave comments, you need to log in
Why did 504 Gateway Timeout start appearing (Perl site)?
There is one ancient site with a self-written Perl engine. About a month ago, a problem appeared: in the admin panel, it is possible to upload up to 3 images to a product. When loading one, everything goes smoothly, but if you try to load 2-3 files, it gives:
504 Gateway Timeout
The gateway did not receive a timely response from the upstream server or application.
Apache/2.2.22 (Fedora) Server at domain.com Port 80
[error] [client x.x.x.x] (70007)The timeout specified has expired: Error reading request entity data, referer: http://domain.com/adm/products.mod?saved=1&id=1176&job=edit_item
...} elsif ($job eq 'save_item') {
...
# Редиректимся на страницу редактирования
# чтоб 'F5' не вызывал операцию сохранения повторно
http_redirect(AdmURL($mod, id=>$id, job=>'edit_item', saved=>1));
} elseif {...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question