sitespeed.io: WebPageTest plugin doesn't work - code 404
Have you read the documentation?
- Yes, I’ve read the how to make a reproducable bug guide
- Yes, I’ve read the how to debug my script guide
URL
What are you trying to accomplish
I want to run sitespeed with WebPageTest plugin enabled, but unfortunately I have this: {"name":"WPTAPIError","code":404,"message":"Not Found"}
I set proper API key.
What browser did you use?
Other
How to reproduce
docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:26.1.0-webpagetest -b chrome --mobile -d 1 -n 1 -c 3g --webpagetest.key <REAL_KEY_HERE> --webpagetest.runs 1 --plugins.add /webpagetest https://www.onet.pl
Relevant log output
Chromium 97.0.4692.20 Ubuntu 20.04
Mozilla Firefox 105.0
[2023-02-27 11:55:50] INFO: Versions OS: linux 5.10.104-linuxkit nodejs: v16.16.0 sitespeed.io: 26.1.0 browsertime: 16.17.0 coach: 7.1.2
[2023-02-27 11:55:50] INFO: Sending url https://www.onet.pl to test on https://www.webpagetest.org
[2023-02-27 11:55:51] INFO: Running tests using Chrome - 1 iteration(s)
[2023-02-27 11:55:52] INFO: Testing url https://www.onet.pl iteration 1
[2023-02-27 11:56:03] ERROR: Could not run test for WebPageTest {"name":"WPTAPIError","code":404,"message":"Not Found"}
at Object.<anonymous> (/webpagetest/node_modules/webpagetest/lib/helper.js:213:25)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/webpagetest/node_modules/webpagetest/lib/webpagetest.js:14:15)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/webpagetest/analyzer.js:5:21)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
[2023-02-27 11:56:04] INFO: Take after page complete check screenshot
[2023-02-27 11:56:05] INFO: Take cumulative layout shift screenshot
[2023-02-27 11:56:06] INFO: Take largest contentful paint screenshot
[2023-02-27 11:56:09] INFO: Get visual metrics from the video
[2023-02-27 11:56:15] INFO: https://www.onet.pl 205 requests, TTFB: 288ms, firstPaint: 424ms, firstVisualChange: 500ms, FCP: 424ms, DOMContentLoaded: 1.23s, LCP: 662ms, CLS: 0, TBT: 668ms, Load: 3.00s, speedIndex: 1.10s, visualComplete85: 2.04s, lastVisualChange: 4.50s
[2023-02-27 11:56:15] INFO: The server responded with a 401 status code for https://www.onet.pl/api/okonto/me?fields=userId%2Clogin%2Cav...
[2023-02-27 11:56:18] INFO: HTML stored in /sitespeed.io/sitespeed-result/www.onet.pl/2023-02-27-11-55-50
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (8 by maintainers)
Hi @Comeonautomaten thanks of sharing, it seems there was a bug then at the WebPageTest side.