FIX: The gateway did not receive a timely response from the upstream server or application.

Kali ini ketemu masalah baru setelah menggunakan PHP-FPM terkait cetak halaman ke file PDF sebanyak 87 halaman. Setelah error kemaren di .htaccess juga, malam ini errornya:

The gateway did not receive a timely response from the upstream server or application.

Solusinya dengan menaikkan Timeout pada file httpd.conf Apache menjadi 600. Eh, sebenarnya memang tidak tertera di file tersebut sih. Selain itu, sebelum menaikkan Timeout ini, di file php.ini juga ditambahkan nilai max_execution_time 600.

Setelah melakukan perubahan pada kedua file ini, lalukan restart Apache dan PHP-FPM nya:

service apache24 restart

service php-fpm restart

Comments

Popular posts from this blog

OpenVPN 2.2.2 Build

Perintah Dasar di Terminal Linux

Kaffeine H.264 Error Solution