Getting "502 Bad Gateway Nginx"

Hi All

We are using Nginx + PHP FPM.

Getting "502 Bad gateway Nginx" in Website Front end and in admin panel in after 2 to 3 hours.

I checked in Nginx Logs and Found below.

2022/07/02 05:37:57 [error] 18533#18533: *105091 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 122.168.360.48, server: example.com, request: "GET /index.php?dispatch=product_features.view_all HTTP/1.1", upstream: "fastcgi://127.0.0.1:9730", host: "www.example.com", referrer: "https://www.example.com/page-url/"

I checked in Nginx Logs and found below.

I see this error in Nginx server logs every time a Website shows "502 Bad Gateway".

We are using 4 core CPU,16GB RAM

Can you guide where is problem

Regards

Hi All

We are using Nginx + PHP FPM.

Getting "502 Bad gateway Nginx" in Website Front end and in admin panel in after 2 to 3 hours.

I checked in Nginx Logs and Found below.

2022/07/02 05:37:57 [error] 18533#18533: *105091 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 122.168.360.48, server: example.com, request: "GET /index.php?dispatch=product_features.view_all HTTP/1.1", upstream: "fastcgi://127.0.0.1:9730", host: "www.example.com", referrer: "https://www.example.com/page-url/"

I checked in Nginx Logs and found below.

I see this error in Nginx server logs every time a Website shows "502 Bad Gateway".

We are using 4 core CPU,16GB RAM

Can you guide where is problem

Regards

Hello!

Recently we have added the new service at the Marketplace, Webserver configuration. In case you will purchase this service, we will set up the server for you, and will help you to resolve possible server-side issues.

Thank you.