Skip to content

Bug: 'acquireContextId failed' on certain pages #100

Open
@gustavfridell

Description

@gustavfridell

Hi,

When using the patches with Puppeteer (both 24.8.1), this page https://www.gbl.com/en consistently gets the following error. I have the same issue both on Mac and Linux.

error: [rebrowser-patches] acquireContextId failed (tryAgain = true, tryCount = 3), errorMessage: N/A
      at acquireContextId (/[path]/node_modules/puppeteer-core/lib/esm/puppeteer/cdp/ExecutionContext.js:496:27)

491 |             await this.#client.send('Runtime.disable');
492 |             this.#client.off('Runtime.executionContextCreated', executionContextCreatedHandler);
493 |         }
494 |         if (!contextId) {
495 |             if (!tryAgain || tryCount >= 3) {
496 |                 throw new Error(`[rebrowser-patches] acquireContextId failed (tryAgain = ${tryAgain}, tryCount = ${tryCount}), errorMessage: ${errorMessage}`);

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