Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.

emulator timeout #319

Open
alizaidi606 opened this issue Mar 19, 2019 · 0 comments
Open

emulator timeout #319

alizaidi606 opened this issue Mar 19, 2019 · 0 comments

Comments

@alizaidi606
Copy link

alizaidi606 commented Mar 19, 2019

Node js functions emulator timeouts before execution complete even after setting functions timeout to 9 mins

Environment details

  • OS: Windows 10
  • Node.js version: 6.16.0
  • npm version: 3.10.10
  • @google-cloud/functions-emulator version: 1.0.0-beta.5

Steps to reproduce

  1. create a cloud function with simple code that runs after 2 min of the function's start. Can use the code from this link the one about timeout https://cloud.google.com/functions/docs/concepts/exec

  2. deploy the function by using below command
    functions deploy <function-name> --entry-point=<function-handler> --trigger-http --timeout=540s

  3. call the function either by the postman or from the browser

When I call this function from the postman it gives the following error after 1 min or so
"Could not get any response", while postman's timeout is infinity
while the same functions run perfectly when deployed to google cloud

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

No branches or pull requests

1 participant