Cloud Functions For Firebase Timeout
Simple cloud function to get database data is not working. getusermessage() is not working Error: Function execution took 60002 ms, finished with status: 'timeout' Index.JS for
Solution 1:
You didn't say which of your three functions is timing out, but I'll take a guess at which one. Your HTTPS function getUserMessage
isn't generating a response to the client. Cloud Functions will wait for 60 seconds (by default) for it to generate a response, and if it doesn't, it will kill the function and leave that message in the log.
Every code path in an HTTPS function should generate some response to the client.
Post a Comment for "Cloud Functions For Firebase Timeout"