magroot Posted June 2, 2009 Share Posted June 2, 2009 hello,my server shows me 502 Gateway Error when customer is trying to login into the shopping cart.What can be the problem? Cookies? POST method?i was looking for that problem in the other threads...but with no luckThank you for your replies Link to comment Share on other sites More sharing options...
Patric Posted June 2, 2009 Share Posted June 2, 2009 Did you activate SSL ? Link to comment Share on other sites More sharing options...
magroot Posted June 2, 2009 Author Share Posted June 2, 2009 nope, no SSL was activated Link to comment Share on other sites More sharing options...
maxmin Posted June 2, 2009 Share Posted June 2, 2009 I think you need to change the access permission to your website root directory (usually public_html or whatever directory your store website is in if your server is on a Linux/UNIX) to 755. Link to comment Share on other sites More sharing options...
magroot Posted June 3, 2009 Author Share Posted June 3, 2009 Maxmin, i do not think, it can be the problem...if i set 755 to the whole directory it will not workbesides i talked to hosting company, they advised to decrease the length of cookies - it also didn't help Link to comment Share on other sites More sharing options...
magroot Posted June 3, 2009 Author Share Posted June 3, 2009 btw, i think i was doing smth wrong with cookies.Can someone advice on how to make length of cookies less?thank you Link to comment Share on other sites More sharing options...
iSlayter Posted June 24, 2009 Share Posted June 24, 2009 nginx? Link to comment Share on other sites More sharing options...
nirm Posted October 23, 2009 Share Posted October 23, 2009 Apparently Prestahop on login sends back a 5kb cookie header which is too big for ngix server to process so it causes a 502 bad gateway.My host says the only option is to reduce cookie length or move to an Apache server Link to comment Share on other sites More sharing options...
Recommended Posts