Jump to content

Customers seeing other customers cart


NeoIT

Recommended Posts

Hello and thanks in advance, willing to reward whoever is able to help.

In my web, since few days ago, customers in my store see others people cart. My first thought was cache issues so I tried flushing and disabling cache. I also updated all addons and Prestashop to the last stable version. 

When that happens, other customer see my cart. 

Example. Not always exactly the same.

Customer 1 has nothing in the cart, adds product AAA. Customer 2 has nothing in the cart, adds product BBB. 

Customer 1 checks and there's nothing in the cart. Customer 2 see AAA and BBB. 

Customer 1 adds again the product AAA and then he has 2 AAA and BBB. Clear the cart. Customer 2 during the time added BBB again and tries to checkout. Payment fails because the cart is emptied. Crash.

And even worse, if the cart is cleared while the other customer is in the payment gateway, the payment is accepted but PrestaShop doesn't show the order. 

 

These in proxy_error_log: 

Quote

2020/04/23 20:03:42 [error] 17090#0: *7871295 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 91.121.OBSCURED, server: bienestalia.com, request: "HEAD / HTTP/1.1", upstream: "https://193.70.OBSCURED:7081/", host: "www.bienestalia.com"
2020/04/23 20:03:42 [error] 17090#0: *7871307 connect() failed (111: Connection refused) while connecting to upstream, client: 84.126.OBSCURED, server: bienestalia.com, request: "POST /Backoffice/index.php/common/notifications?_token=OBSCUREDbVatEhg-_oASwYRvnA42-yIU&rand=1587665021364 HTTP/2.0", upstream: "https://193.70.OBSCURED:7081/Backoffice/index.php/common/notifications?_token=OBSCUREDVatEhg-_oASwYRvnA42-yIU&rand=1587665021364", host: "www.bienestalia.com", referrer: "https://www.bienestalia.com/Backoffice/index.php?controller=AdminOrders&id_order=217&vieworder&conf=11&token=OBSCURED2d3b1e11d23de0"
2020/04/23 20:31:14 [error] 27101#0: *7877256 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 92.190.OBSCURED, server: bienestalia.com, request: "GET /1429-small_default/i-health-pt3-termometro-infrarrojo-sin-contacto.jpg HTTP/2.0", upstream: "https://193.70.OBSCURED:7081/1429-small_default/i-health-pt3-termometro-infrarrojo-sin-contacto.jpg", host: "www.bienestalia.com", referrer: "https://www.bienestalia.com/pedido?token=OBSCURED0Y3139361E"
2020/04/23 20:31:14 [error] 27101#0: *7877256 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 92.190.OBSCURED, server: bienestalia.com, request: "GET /1429-home_default/i-health-pt3-termometro-infrarrojo-sin-contacto.jpg HTTP/2.0", upstream: "https://193.70.OBSCURED:7081/1429-home_default/i-health-pt3-termometro-infrarrojo-sin-contacto.jpg", host: "www.bienestalia.com", referrer: "https://www.bienestalia.com/pedido?token=OBSCURED0Y3139361E"
2020/04/23 21:03:56 [error] 10466#0: *7889564 peer closed connection in SSL handshake (104: Connection reset by peer) while SSL handshaking to upstream, client: 46.229.OBSCURED, server: bienestalia.com, request: "GET /zuecos-sanitarios-calzuro-modelo-s HTTP/1.1", upstream: "https://193.70.OBSCURED:7081/zuecos-sanitarios-calzuro-modelo-s", host: "www.bienestalia.com"

 

This in error_log:

Quote

[Fri Apr 24 14:04:22.099637 2020] [fcgid:warn] [pid 19793:tid 140110582425344] (32)Broken pipe: [client IPOBSCURED:57432] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: https://www.bienestalia.com/Backoffice/index.php/sell/catalog/products?_token=TOKENOBSCURED

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...