Skip to content
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

version 33 stop working on lambda from 2 day #66

Open
neno76 opened this issue May 3, 2024 · 2 comments
Open

version 33 stop working on lambda from 2 day #66

neno76 opened this issue May 3, 2024 · 2 comments

Comments

@neno76
Copy link

neno76 commented May 3, 2024

Version arn:aws:lambda:eu-central-1:764866452798:layer:chrome-aws-lambda:33 stop working from 2 days in our aws enviroment.

ERROR An error occurred while prerendering... Error: Protocol error: Connection closed. Most likely the page has been closed.
at t.assert (/var/task/handler.js:14:940695)
at pe.close (/var/task/handler.js:14:835909)
at g (/var/task/handler.js:2:20392)
at t.default (/var/task/handler.js:2:18277)
at s.cb (/var/task/handler.js:2:13765)
at Object. (/var/task/handler.js:2:45070)

The issues seam the same of puppeteer-core and @sparticuz/chromium version... but why the issues is now in a oldest version ? Is this version updated in the last 2 days ?

@neno76
Copy link
Author

neno76 commented May 3, 2024

I fixed the issue in my production environment, the rendering lambda function use auto update runtime but the last runtime for node16 arn:aws:lambda:eu-central-1::runtime:6821b9edbc91e06f7bfdfbf3387aa97c2df9c7bc80959c565b8c35a8421333ed
broken puppeteer-core and @sparticuz/chromium, so for fast fix change the runtime to manual il lambda and use the two days old arn:aws:lambda:eu-central-1::runtime:0163909785ec2e11db2b64bb2636ada67bb348dd5764aa83e7eb011bc0f365d8 for me
You can find the previous version in cloudwat with a search for INIT_START on your lambda log

@krewetka
Copy link

For others if they find themself here -> main issue is here and going to older image is recommended solution until some fix is done -> Sparticuz/chromium#271 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants