GoogleChrome / GoogleChrome/lighthouse-ci

Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests.

Open
#855 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.1k
Forks
716
PR merge metrics
No merged PRs in 30d

Description

Started a web server with "npm run start"...
[06:29:05 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=112&linesState=112) WARNING: Timed out waiting for the server to start listening.
[06:29:05 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=113&linesState=113) Ensure the server prints a pattern that matches /listen|ready/i when it is ready.
[06:29:05 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=114&linesState=114) Running Lighthouse 1 time(s) on https://qa-pub-iwc.akqa.technology/us/en/home.html
[06:30:56 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=115&linesState=115) Run #1...failed!
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=116&linesState=116) Error: Lighthouse failed with exit code 1
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=117&linesState=117) at ChildProcess. (/usr/lib/node_modules/@lhci/cli/src/collect/node-runner.js:120:21)
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=118&linesState=118) at ChildProcess.emit (node:events:513:28)
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=119&linesState=119) at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=120&linesState=120) {
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=121&linesState=121) "lighthouseVersion": "9.3.0",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=122&linesState=122) "requestedUrl": "https:/google.com",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=123&linesState=123) "finalUrl": "https://google.com",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=124&linesState=124) "fetchTime": "2022-12-21T06:29:08.671Z",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=125&linesState=125) "gatherMode": "navigation",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=126&linesState=126) "runtimeError": {
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=127&linesState=127) "code": "FAILED_DOCUMENT_REQUEST",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=128&linesState=128) "message": "Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Details: net::ERR_CERT_DATE_INVALID)"
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=129&linesState=129) },
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=130&linesState=130) "runWarnings": [
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=131&linesState=131) **"Lighthouse was unable to reliably load the page you requested. Make sure you are testing the correct URL and that the server is properly responding to all requests. (Details: net::ERR_CERT_DATE_INVALID)"
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?**buildTab=log&focusLine=132&linesState=132) ],
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=133&linesState=133) "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/107.0.5304.110 Safari/537.36",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=134&linesState=134) "environment": {
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=135&linesState=135) "networkUserAgent": "",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=136&linesState=136) "hostUserAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/107.0.5304.110 Safari/537.36",
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=137&linesState=137)
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=138&linesState=138) "benchmarkIndex": 722.5,
[06:31:07 ](http://vmci-iwc-app2:8111/buildConfiguration/Lighthouse_LighthouseQa_Qa/4548?buildTab=log&focusLine=139&linesState=139) "credits": {}

Contributor guide

Open the contributing guide

Research direction

Reproduce the CI run using “npm run start” and the Lighthouse target URL shown in the log. Inspect the server-start timeout and the @lhci/cli/src/collect/node-runner.js failure, especially the net::ERR_CERT_DATE_INVALID result; done means the configured page loads reliably and the Lighthouse run succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
ci-cd, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.