connect() to unix:/run/php/php7.4-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream

Posted on Leave a commentPosted in Uncategorized

You have magento >=2.3.5 running in nginx server and your customer might face 502 error from time to time. Not always but from time to time. You check your error log for nginx and find this “4746#4746: *1502011 connect() to unix:/run/php/php7.4-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream” . So what you do […]

upstream sent too big header while reading response header from upstream nginx

Posted on Leave a commentPosted in Magento 2

You might have experienced this when you have a Nginx server for Magento >=2.3.5 onwards. You have a very easy solution for this just add this to your nginx conf usually you can find this configuration under this path /etc/nginx/nginx.conf http { fastcgi_buffers 16 16k;. fastcgi_buffer_size 32k.; proxy_buffer_size 128.k; proxy_buffers 4 256k;. proxy_busy_buffers_size 256k;   Just […]