Skip to content

Error: The user aborted a request. #89

Description

@NicoloCipiti

Can't run the Lighthouse action anymore. Here's the log:

Run Shopify/lighthouse-ci-action@v1.2.2
  with:
    access_token: ***
    store: ***
    lhci_min_score_performance: 0.7
    lhci_min_score_accessibility: 0.9
    theme_root: .
/usr/bin/docker run --name aa65adf313[2](https://github.com/Hoculus/Hoculus-SHTH-CT2025/actions/runs/14172595334/job/39699640174?pr=72#step:4:2)ee1f340b0ba29a94506eaf2fe_bee222 --label 21aa65 --workdir /github/workspace --rm -e "INPUT_ACCESS_TOKEN" -e "INPUT_STORE" -e "INPUT_PASSWORD" -e "INPUT_LHCI_MIN_SCORE_PERFORMANCE" -e "INPUT_LHCI_MIN_SCORE_ACCESSIBILITY" -e "INPUT_PRODUCT_HANDLE" -e "INPUT_COLLECTION_HANDLE" -e "INPUT_THEME_ROOT" -e "INPUT_PULL_THEME" -e "INPUT_LHCI_GITHUB_APP_TOKEN" -e "INPUT_LHCI_GITHUB_TOKEN" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_A
==============================
Configuring shopify CLI
Will run Lighthouse CI on https://***
==============================
Creating development theme
╭─ error ──────────────────────────────────────────────────────────────────────╮
│                                                                              │
│  The user aborted a request.                                                 │
│                                                                              │
╰──────────────────────────────────────────────────────────────────────────────╯
AbortError: The user aborted a request.
    at abort (file:///.node/lib/node_modules/@shopify/cli/dist/chunk-7TDJWEEF.js:17571:2[3](https://github.com/Hoculus/Hoculus-SHTH-CT2025/actions/runs/14172595334/job/39699640174?pr=72#step:4:3))
    at EventTarget.abortAndFinalize (file:///.node/lib/node_modules/@shopify/cli/dist/chunk-7TDJWEEF.js:17579:11)
    at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)
    at EventTarget.dispatchEvent (node:internal/event_target:721:26)
    at abortSignal (node:internal/abort_controller:369:10)
    at Timeout._onTimeout (node:internal/abort_controller:126:7)
    at listOnTimeout (node:internal/timers:569:17)
    at process.processTimers (node:internal/timers:512:7)
==============================
Configuring Lighthouse CI
Fetching product handle
Using null
Fetching collection handle
Using home-page
==============================
Running Lighthouse CI
✅  .lighthouseci/ directory writable
✅  Configuration file found
✅  Chrome installation found
⚠️   GitHub token not set
Healthcheck passed!
Getting a new page...
Getting preview cookie...
ProtocolError: Protocol error (Page.navigate): Cannot navigate to invalid URL
    at <instance_members_initializer> (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:86:1[4](https://github.com/Hoculus/Hoculus-SHTH-CT2025/actions/runs/14172595334/job/39699640174?pr=72#step:4:4))
    at new Callback (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:90:16)
    at CallbackRegistry.create (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/common/CallbackRegistry.js:22:26)
    at Connection._rawSend (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Connection.js:80:26)
    at CdpCDPSession.send (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/CDPSession.js:66:33)
    at navigate (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:1[5](https://github.com/Hoculus/Hoculus-SHTH-CT2025/actions/runs/14172595334/job/39699640174?pr=72#step:4:5)9:51)
    at CdpFrame.goto (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:13[7](https://github.com/Hoculus/Hoculus-SHTH-CT2025/actions/runs/14172595334/job/39699640174?pr=72#step:4:7):17)
    at CdpFrame.<anonymous> (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/util/decorators.js:9[8](https://github.com/Hoculus/Hoculus-SHTH-CT2025/actions/runs/14172595334/job/39699640174?pr=72#step:4:9):27)
    at CdpPage.goto (/.node/lib/node_modules/puppeteer/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:592:43)
    at module.exports (/github/workspace/setPreviewCookies.js:18:14)

The github token is correctly set and worked properly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions