Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WooCommerce wc-api failure #941

Open
headwalluk opened this issue Sep 24, 2020 · 0 comments
Open

WooCommerce wc-api failure #941

headwalluk opened this issue Sep 24, 2020 · 0 comments

Comments

@headwalluk
Copy link

Hi

On a WooCommerce callback from SagePay I'm seeing the following, but it's intermittent. Could be specific to the individual orders, but the error message is the same when it happens.

Execution Timeout Error >> CacheDirUtils.php on line 160

The referrer is https://live.sagepay.com/ and they are coming at us with a very long URL which is a payment confirmation callback. The long URL contains a token for the payment transaction in the query string.

The URL it's calling at our end is

GET /wc-api/WC_Gateway_Sagepay_Form/?crypt=

The whole URL is over 900 characters long and causes Comet Cache to timeout at over 30 seconds. I assume something's falling over but not getting into the error log.

I've tried adding ^/wc-api** to the URL exclusions but it didn't work.

WordPress 5.5.1
CometCache Version 170220
WooCommerce 4.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant