-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]throw an err :Navigating frame was detached in aws lambda #206
Comments
You'll need to update to 119.0.2 to get the new libs package. |
I'm just in the process of migrating from an ancient chrome-aws-lambda and seeing the same error with |
I've also seen this issue, we're currently seeing issues with libnss3 which may have been updated in the latest node:16 AWS lambda runtime image. If you're bundling your own code in a docker image and running that on lambda, can you try the following in your Dockerfile:
Reverting back to an older node:16 version that hasn't updated libnss3 for us, works. |
We're also seeing the same with latest |
I had the same issue and have been on it for the entire day. it seems to be something related with the browser data being created in the
|
Potentially related (with fix): #229 (comment) |
chromium Version:116
puppeteer / puppeteer-core Version:21.1.0
Node.js Version:16
Lambda / GCF Runtime: public.ecr.aws/lambda/nodejs:16
page.goto(url, { waitUntil: 'networkidle0' })
threw the following exception:2023-12-20T01:39:55.514Z 4e30b7ef-9859-4639-a518-b05b3e9cf52f ERROR Error: Navigating frame was detached
at LifecycleWatcher.#onFrameDetached (/var/task/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/puppeteer/common/LifecycleWatcher.js:106:47)
at /var/task/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:1:269
at Array.map ()
at Object.emit (/var/task/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:1:252)
at Frame.emit (/var/task/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js:88:22)
at FrameManager.#removeFramesRecursively (/var/task/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js:394:15)
at /var/task/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/puppeteer/common/FrameManager.js:90:46
at onceHandler (/var/task/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/puppeteer/common/EventEmitter.js:99:13)
at /var/task/node_modules/.pnpm/[email protected]/node_modules/puppeteer-core/lib/cjs/third_party/mitt/index.js:1:269
at Array.map ()
but when i use the base image public.ecr.aws/lambda/nodejs:16.2023.11.10.17 , it works well.
The text was updated successfully, but these errors were encountered: