Skip to content

Failing with net::ERR_ABORTED after upgrade to v13.1.0 #16962

@peterhirn

Description

@peterhirn

FAQ

URL

What happened?

I'm running lighthouse via playwright using this package: https://github.com/abhinaba-ghosh/playwright-lighthouse

This is running in a GitLab pipeline using the docker image mcr.microsoft.com/playwright:v1.59.1-noble against a page with an invalid HTTPS certificate (private PKI).

After upgrading from v13.0.3 to v13.1.0 lighthouse consistently fails with net::ERR_ABORTED

"runtimeError": {
    "code": "FAILED_DOCUMENT_REQUEST",
    "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_ABORTED)",
    "errorStack": "LighthouseError: FAILED_DOCUMENT_REQUEST\n    at getNetworkError (file:///builds/my-project/node_modules/.pnpm/lighthouse@13.1.0/node_modules/lighthouse/core/lib/navigation-error.js:54:14)\n    at getPageLoadError (file:///builds/my-project/node_modules/.pnpm/lighthouse@13.1.0/node_modules/lighthouse/core/lib/navigation-error.js:168:24)\n    at _computeNavigationResult (file:///builds/my-project/node_modules/.pnpm/lighthouse@13.1.0/node_modules/lighthouse/core/gather/navigation-runner.js:146:7)\n    at gatherFn (file:///builds/my-project/node_modules/.pnpm/lighthouse@13.1.0/node_modules/lighthouse/core/gather/navigation-runner.js:297:23)\n    at Runner.gather (file:///builds/my-project/node_modules/.pnpm/lighthouse@13.1.0/node_modules/lighthouse/core/runner.js:211:25)\n    at navigationGather (file:///builds/my-project/node_modules/.pnpm/lighthouse@13.1.0/node_modules/lighthouse/core/gather/navigation-runner.js:303:21)\n    at navigation (file:///builds/my-project/node_modules/.pnpm/lighthouse@13.1.0/node_modules/lighthouse/core/index.js:58:24)\n    at lighthouse (file:///builds/my-project/node_modules/.pnpm/playwright-lighthouse@4.0.0_lighthouse@13.1.0_playwright-core@1.59.1/node_modules/playwright-lighthouse/src/task.js:83:15)\n    at playAudit (file:///builds/my-project/node_modules/.pnpm/playwright-lighthouse@4.0.0_lighthouse@13.1.0_playwright-core@1.59.1/node_modules/playwright-lighthouse/src/audit.js:68:35)\n    at lighthouse (file:///builds/my-project/e2e/lighthouse.ts:13:5)\n    at file:///builds/my-project/e2e/lighthouse.ts:56:5\n    at /builds/my-project/node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/worker/workerMain.js:326:9\n    at /builds/my-project/node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/worker/testInfo.js:320:11\n    at TimeoutManager.withRunnable (/builds/my-project/node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/worker/timeoutManager.js:75:14)\n    at TestInfoImpl._runWithTimeout (/builds/my-project/node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/worker/testInfo.js:318:7)\n    at /builds/my-project/node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/worker/workerMain.js:324:7\n    at WorkerMain._runTest (/builds/my-project/node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/worker/workerMain.js:297:5)\n    at WorkerMain.runTestGroup (/builds/my-project/node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/worker/workerMain.js:203:9)\n    at process.<anonymous> (/builds/my-project/node_modules/.pnpm/playwright@1.59.1/node_modules/playwright/lib/common/process.js:73:22)",
    "artifactKey": "PageLoadError"
  },
  "runWarnings": [
    "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_ABORTED)"
  ],
  ...
}

What did you expect?

What have you tried?

No response

How were you running Lighthouse?

Other

Lighthouse Version

13.1.0

Chrome Version

No response

Node Version

No response

OS

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions