Title: Intermittent 502 errors
Last modified: January 5, 2022

---

# Intermittent 502 errors

 *  Resolved [pog21](https://wordpress.org/support/users/pog21/)
 * (@pog21)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/intermittent-502-errors-2/)
 * Hi,
 * Some customers on the site have been shown a 502 error page when checking out
   with Stripe. The page states:
 * “The page request was cancelled because it took too long to complete”
 * The main problem is, customers are retrying the checkout and then subsequently
   being ordering twice (obviously the initial submission did get through eventually).
 * The stripe docs state that a 5xx is caused by an error with their servers, but
   suggests there are ways to mitigate against it (e.g. idempotency keys). Is this
   something that the plugin should be doing or is there nothing we can do until
   Stripe fix whatever issue they’re having?
    -  This topic was modified 4 years, 6 months ago by [pog21](https://wordpress.org/support/users/pog21/).
      Reason: Punctuation
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fintermittent-502-errors-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [pog21](https://wordpress.org/support/users/pog21/)
 * (@pog21)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/intermittent-502-errors-2/#post-15222399)
 * It looks like the error may be originating on the server, so I’m going to close
   this until we can determine where this is coming from! 🙂

Viewing 1 replies (of 1 total)

The topic ‘Intermittent 502 errors’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

## Tags

 * [timeout](https://wordpress.org/support/topic-tag/timeout/)

 * 1 reply
 * 1 participant
 * Last reply from: [pog21](https://wordpress.org/support/users/pog21/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/intermittent-502-errors-2/#post-15222399)
 * Status: resolved