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

Debugging - function execution attempt timed out #273

Open
neilghosh opened this issue Sep 14, 2018 · 0 comments
Open

Debugging - function execution attempt timed out #273

neilghosh opened this issue Sep 14, 2018 · 0 comments

Comments

@neilghosh
Copy link

Thanks for stopping by to let us know something could be better!

Please run down the following list and make sure you've tried the usual "quick
fixes":

If you are still having issues, please be sure to include as much information as
possible:

Environment details

  • OS: Mac OSx
  • Node.js version: v6.14.4
  • npm version:3.10.10
  • @google-cloud/functions-emulator version: 1.0.0-beta.5

Steps to reproduce

  1. Deploy any function with http trigger
    functions deploy myFunction --trigger-topic mytopic --entry-point setStatus
  2. Start debug mode functions inspect myFunction --pause
  3. add a debug point in first line of the function Google Chrome at chrome://inspect
  4. call the background function
    functions call myFunction --data='{"data":"eyJp..."}'
  5. control stops at the breakpoint but after a minute or so it crashes with the following message in console.
    ExecutionId: d3a5ff97-4ea1-4416-97e7-b6ac08043bd8
    Error: { error:
    { code: 500,
    status: 'INTERNAL',
    message: 'function execution attempt timed out' } }

Is there a way I could increase the timeout because debugging can take several minutes. any workaround?

Following these steps will guarantee the quickest resolution possible.

Thanks!

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