You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently works most of the time. I added logging, but it occasionally errors with " runtime.unhandledpromiserejection" when closing the browser. Usually, when the lambda is getting triggered multiple times
Error:
{ "errorType": "Runtime.UnhandledPromiseRejection", "errorMessage": "Error: Protocol error (IO.close): Target closed.", "reason": { "errorType": "Error", "errorMessage": "Protocol error (IO.close): Target closed.", "message": "Protocol error (IO.close): Target closed.", "stack": [ "Error: Protocol error (IO.close): Target closed.", " at /opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:217:63", " at new Promise ()", " at CDPSession.send (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:216:16)", " at Readable.read [as _read] (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js:281:30)", " at runMicrotasks ()", " at processTicksAndRejections (internal/process/task_queues.js:95:5)" ] }, "promise": {}, "stack": [ "Runtime.UnhandledPromiseRejection: Error: Protocol error (IO.close): Target closed.", " at process. (/var/runtime/index.js:35:15)", " at process.emit (events.js:412:35)", " at process.emit (domain.js:475:12)", " at processPromiseRejections (internal/process/promises.js:245:33)", " at processTicksAndRejections (internal/process/task_queues.js:96:32)" ] }
Steps to Reproduce
The text was updated successfully, but these errors were encountered:
c
Environment
chrome-aws-lambda
Version: 10.1.0puppeteer
/puppeteer-core
Version:Current Behavior
Currently works most of the time. I added logging, but it occasionally errors with " runtime.unhandledpromiserejection" when closing the browser. Usually, when the lambda is getting triggered multiple times
Error:
{ "errorType": "Runtime.UnhandledPromiseRejection", "errorMessage": "Error: Protocol error (IO.close): Target closed.", "reason": { "errorType": "Error", "errorMessage": "Protocol error (IO.close): Target closed.", "message": "Protocol error (IO.close): Target closed.", "stack": [ "Error: Protocol error (IO.close): Target closed.", " at /opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:217:63", " at new Promise ()", " at CDPSession.send (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/Connection.js:216:16)", " at Readable.read [as _read] (/opt/nodejs/node_modules/puppeteer-core/lib/cjs/puppeteer/common/helper.js:281:30)", " at runMicrotasks ()", " at processTicksAndRejections (internal/process/task_queues.js:95:5)" ] }, "promise": {}, "stack": [ "Runtime.UnhandledPromiseRejection: Error: Protocol error (IO.close): Target closed.", " at process. (/var/runtime/index.js:35:15)", " at process.emit (events.js:412:35)", " at process.emit (domain.js:475:12)", " at processPromiseRejections (internal/process/promises.js:245:33)", " at processTicksAndRejections (internal/process/task_queues.js:96:32)" ] }
Steps to Reproduce
The text was updated successfully, but these errors were encountered: