Cloud functions timeout on page.goto()

陌路散爱 提交于 2019-12-10 11:19:09

问题


I run tests with puppeteer in cloud functions. If I run test on local machine all is fine. If I run tests in cloud functions emulator it's fine as well. But when I deploy my function to the cloud all tests stuck on
page.goto('https://...')
and function fails by timeout, which in my case is 3 minutes.


回答1:


The problem was in puppeteer. I downgraded from the version 1.13.0 to 1.11.0 and now everything works fine. See the discussion here



来源:https://stackoverflow.com/questions/55274130/cloud-functions-timeout-on-page-goto

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!