See Matt.ias.be's blog post https://ma.ttias.be/nginx-and-php-fpm-upstream-timed-out-failed-110-connection-timed-out-or-reset-by-peer-while-reading/ for some tips on debugging. Can be tough sometimes though. In my Kubernetes / Docker case it was the wrong fastcig_pass in nginx config and the wrong container port. See https://imwz.io/docker-nginx-502-bad-gateway/by rhand - Nginx Mailing List - English
Realized GD was still not processing. Had it on imagemagick post memory update. So issue not solved and better logging still needed. Also error 500 with Imagick with larger images by the way. So the question how to let PHP FPM show better errors or get nginx to display useful data still stands.by rhand - How to...
Well, I found out it was a lack of memory and or execution or time out time. So now laravel.ini has date.timezone=UTC display_errors=Off log_errors=On ; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit memory_limit = 512M ; Maximum allowed size for uploaded files. ; http://php.net/upload-max-filesize upload_max_filesize = 40M ; Sets max size of postby rhand - How to...
Did you ever work out how to show error with temporary filename Giuliano? Having a similar Ajax post error (error 500). An error using PHP FPM and GD Library for image manipulation. And with latter things hang on resizing. Only an error 500 is given and I need more.by rhand - Php-fpm Mailing List - English
Been posting about it here https://github.com/Intervention/image/issues/926 . I am using Laradock with PHP-FPM and Nginx. Each time I use the GD library to manipulate images with Laravel and Image Intervention I get an error 500 before or on start of using a resize method. I get no other useful errors at all besides that error 500. According to php info and some other checks the GD Library isby rhand - How to...