You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
runTestAndWait() often causes 429 Too Many Requests errors #197
I noticed that runTestAndWait() has recently started to throw 429 errors. It seems to be caused by the polling the function performs.
Related: I tried to set a high number for the pollResults option (we used the default, which shouldn't cause 429 either imo :)), but it doesn't seem to do anything, the status updates (e.g., Waiting at the front of the queue...) are printed at the same-ish interval regardless of what I configure.
Testing is in progress, please be patient
Waiting at the front of the queue...
Waiting at the front of the queue...
Waiting at the front of the queue...
Waiting at the front of the queue...
Waiting at the front of the queue...
Waiting at the front of the queue...
Waiting at the front of the queue...
Waiting at the front of the queue...
Test Started 5 seconds ago
Test Started 19 seconds ago
Error
at Object.<anonymous> (/home/ubuntu/git/bsl-sites/bsl-speedtestmonitor/node_modules/webpagetest/lib/helper.js:213:25)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (/home/ubuntu/git/bsl-sites/bsl-speedtestmonitor/node_modules/webpagetest/lib/webpagetest.js:14:12)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) {
name: 'WPTAPIError',
code: 429,
message: 'Too Many Requests'
}
This looks more like a support issue. I would suggest logging a ticket with WebPageTest support at support@webpagetest.org. When submitting your ticket, please include the following information:
IP Address
User Agent
Time when the issue occurred
Endpoint called
Additionally, please confirm if you are passing the key in the headers.
Yeah, but it looks like I deleted the emails I exchanged with support...
If I remember correctly, pollResults is not the correct parameter to tweak this, you have to set poll instead (we've set it to 20 and that seems to work fine)
Activity
AatibMeer commentedon Sep 30, 2024
Hello there,
This looks more like a support issue. I would suggest logging a ticket with WebPageTest support at support@webpagetest.org. When submitting your ticket, please include the following information:
Additionally, please confirm if you are passing the key in the headers.
xdevnull commentedon Oct 1, 2024
I have the same issue. It might be related to this recent changes catchpoint/terraform-provider-catchpoint@0d40632
rejhgadellaabsl commentedon Oct 7, 2024
@AatibMeer I missed your reply. I've just reached out to support. Thanks!
levipadre commentedon Feb 17, 2025
Hi @rejhgadellaabsl. Were you able to solve this? I have the same issue.
rejhgadellaabsl commentedon Feb 18, 2025
Yeah, but it looks like I deleted the emails I exchanged with support...
If I remember correctly,
pollResultsis not the correct parameter to tweak this, you have to setpollinstead (we've set it to20and that seems to work fine)levipadre commentedon Feb 18, 2025
Thank you @rejhgadellaabsl, I will try it. I appreciate your help.