Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Getting "502 Bad Gateway Nginx" Rate Topic   - - - - -

 
  • s_kumar
  • Newbie
  • Members
  • Join Date: 08-Aug 21
  • 10 posts

Posted 02 July 2022 - 06:06 AM #1

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



 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3943 posts

Posted 04 July 2022 - 11:00 AM #2

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.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation