Rate Limit Issue
-
We are getting the following error on our website.
Invalid response body from API: Rate Limited: Too Many Requests (HTTP response code was 429, json_last_error() was 4)
I have contact stripe and they said the issue is not from their end. I have also contacted hosting company and they have said to contact the plugin provider.below is the response from my hosting provider
While I can see the 429 error appearing on the site, we are not seeing this from the backend at all. The request to our own servers is getting a 200 OK response:
May 16 10:44:12 l7lb10.lhr.stackcp.net haproxy[22268]: 185.146.164.254:29856 [16/May/2023:10:44:10.933] proxyfroml4~ standard_apache_backend/web108.hosting.stackcp.net 0/0/0/1258/1258 200 1538 – – —- 1098/1098/42/0/0 0/0 {www.adreamdemo8.co.uk|GB|48254||like Gecko) Chrome/111.0.0.0 Safari/537.36 OPR/97.0.0.0|standard} “POST /?wc-ajax=checkout HTTP/1.1”
However, checking the Console Log as we do so, we do find something quite interesting:
{“result”:”failure”,”messages”:”<ul class=\”woocommerce-error\” role=\”alert\”>\n\t\t\t<li>\n\t\t\tInvalid response body from API: Rate Limited: Too Many Requests (HTTP response code was 429, json_last_error() was 4)\t\t<\/li>\n\t<\/ul>\n”,”refresh”:false,”reload”:false}
This API call is being blocked, presumably by an external source. Rather than our side blocking the plugin, I actually think this is the other way around – that we are being blocked instead. Our own requests are sending fine, but the 429 is being returned afterwards.
If you could reach out to the plugin developer and bring this forward, to see what they suggest? If it helps, we do have a list of our own external IPs which i can send you.
The topic ‘Rate Limit Issue’ is closed to new replies.