I'm using Google Cloud Functions to:
- Watch for a new Firebase entry
- Download a file that's referenced in the Firebase entry
- Generate a thumbnail based on that file.
- Upload the thumbnail to the cloud bucket.
Unfortunately I'm getting ECONNRESET
errors repeatedly on step 4, and the only way to fix it seems to be to redeploy the function. Any ideas how to further debug this?
Edit:
It seems like many times when this happens, when I try to deploy the function again, it errors, and I have to run the deploy twice. Is something hanging or something?
See Question&Answers more detail:os