Skip to content

WooCommerce wc-api failure #941

@headwalluk

Description

@headwalluk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions