且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Magento 502坏网关,只能在可配置的产品上

更新时间:2023-11-30 12:38:10

(由于低点无法评论)



无论如何,我们也遇到了这个问题以及可配置的产品,结果是我们的产品价格规则中的一个问题。我们正在运行企业版,Magento为我们提供了一个补丁。我不知道CE版本是否有支持小组可用。



我会检查您的购物车规则,并尝试确定其中一个是否是一次禁用规则的罪魁祸首。


I am receiving a 502 bad gateway error but only on configurable products. Below is the ngnix log.

We are running Magento 1.9.1.0 with all plugins disabled and this error still occurs with the default theme.

2015-01-23 11:49:21 UTC 2015/01/23 11:49:21 [error] 5393#0: *14926882 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 123.45.678.912, server: mywebsite.co.uk, request: "POST /checkout/cart/add/uenc/aHR0cDovL2Rldi50b3dlci1oZWFsdGguY28udWsvY2lyY3VsYXRpb24tcHJvLmh0bWw,/product/762/form_key/R7HvodwFx4M1C0hR/ HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm-usernm.sock:", host: "dev.mywebsite.co.uk", referrer: "http://dev.mywebsite.co.uk/product.html"

The PHP errors are as follows...

child 15937 exited on signal 11 (SIGSEGV) after 29.994150 seconds from start

child 16194 started

(Unable to comment due to low points)

Anyway, we had this issue as well with configurable products, and it turned out to be an issue with one of our product price rules. We are running Enterprise edition, and Magento provided us with a patch. I'm not sure if the CE version has a support team available or not though.

I would check your shopping cart rules and try determining if one of them is the culprit by disabling the rules one at a time.