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
Timeouts with 1.12.2 on cloud function #3944
Comments
@neelance thanks for letting us know. Any chance you can share more information? Which calls timeout for you? Do you use the bundled chromium instance or a custom one? If custom, than which version? |
I'm using the bundled chromium with |
I am having issues with timeouts with Node 8 and 1.12.2 as well. |
I'm also getting timeouts when upgrading from 1.11.0 to 1.12.2 |
Look like issue after bugfix: After few loads of same page I got timeouts on
Same code works perfectly fine on v1.11.0 |
@aslushnikov Unfortunately I'm still seeing this with 1.15.0. |
That's right, but this time it is not freezing, just throwing an timeout. In my case I was using |
This still applies. |
I'm having the same timeout problem in GCF. I've written logs into every step inside and outside handler (global variables initialisation, steps inside function handler, ...) and when a timeout in GCF occurs, nothing shows up in log related to the execution id that timeouts. I think it may have something to do with restoring the state of the function container between calls, but I'm not sure. @aslushnikov I think you should reopen this issue |
I've experienced this same issue in GCF on every version from 1.12 - 1.19, as @barbolo described, all using the bundled version of Chromium. 1.11 is the latest version that still works but it currently has a high severity vulnerability according to |
I just managed to avoid the issue by not reusing the browser across function invocations. I was keeping the browser as a global variable and only initialized it once. I used |
@aslushnikov Can we please reopen this issue, since it is not solved yet? |
Not sure if it was the same issue (goto wasn't loading the page), but, upgrading to 2.0.0 seems to have fixed things for me. |
I switched to chrome-aws-lambda and it fixed timeouts for me. |
We are using Puppeteer on a Firebase Cloud Function to automatically render PDFs. I upgraded to Puppeteer 1.12.2 and the cloud function started to run into 60s timeouts as soon as there are multiple concurrent requests. Some additional logging shows that some invocations are even hanging at the very beginning of the function. With 1.11.0 everything is fine. I know that this is not much information for reproducing this issue, but I wanted to make you aware anyways. We're staying with the older version for now. Feel free to close.
The text was updated successfully, but these errors were encountered: