page.goto is stuck on some websites on firebase cloud functions
See original GitHub issueSteps to reproduce
Tell us about your environment:
- Puppeteer version: 1.13.0
- Platform / OS version: Google Cloud
- URLs (if applicable):
- Node.js version: 8
- 2GB
A bit more information:
- I tried literally all versions of puppeteer starting from 1.1.0 to 1.14.0
- the problem occurs only in google cloud (cloud functions). it works on any other cloud platform or locally.
- My website has ssl error.
What steps will reproduce the problem?
Please include code that reproduces the issue.
await.page.goto(“somewebsite.com”)
What is the expected result? Page expected to be loaded.
What happens instead? Instead I receive timeout in google cloud.
I didn’t share the code because there is no problem with running it locally or on AWS.
I am stuck on this for few weeks already. The website does not load ONLY on Google Cloud however it does load locally or in AWS lambda. The problem is that the error is not helpful at all, the page.goto is just timing out.
Navigation Timeout Exceeded
I was wondering if there is a proper way to debug this. Could it be OS issue? but then again, AWS and Google cloud are both Linux based?
Note: After opening a ticket on google cloud support, I was redirected to firebase support. Looks like its firebase related
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:12 (2 by maintainers)
Top GitHub Comments
I previously submitted a ticket to support and I no longer receive the error They mentioned my memory usage and suggested I increase from 512mb to 1GB In addition node 8 was previously in beta and recommended to run in node 6, I don’t think node 8 is beta anymore They also told me that node 8 and node 6 were running on a different linux OS behind scenes I also copied my function to a new one
I am having the exact same issues and this is my code - No idea what to do. Contacted firebase and they say they’re not puppeteer experts and so can’t help 😢