Firebase consistently timing out when deploying functions: Server Error. read ECONNRESET

310 views
Skip to first unread message

Evan Miller

unread,
Oct 3, 2018, 10:21:02 AM10/3/18
to Firebase Google Group
For the past few weeks now I've been having issues almost every single time I try to deploy cloud functions in my Ubuntu Virtual Machine. Nothing has changed in my environment, yet one day this started happening and consistently happens almost every single time since. From the only thing I've found online, it appears the deployment is somehow timing out due to network connectivity. I've done numerous speed tests both on my VM and host OS and I'm measuring around 60/6Mbps up/downstream, so I don't think that's the issue. Every time it times out, it seems to time out on a different function, although sometimes it does manage to complete.

The terminal log is pasted below. If there is anything else useful I can provide, please let me know and I will gladly do so. I've replaced the project and function names.

=== Deploying to '<project>'...

i  deploying functions
i  functions: ensuring necessary APIs are enabled...
✔  functions: all necessary APIs are enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (72.87 KB) for uploading
✔  functions: functions folder uploaded successfully
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
i  functions: updating function <function>...
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
✔  functions[<function>]: Successful update operation. 
⚠  functions[<function>]: Deployment error.
Server Error. read ECONNRESET

Functions deploy had errors. To continue deploying other features (such as database), run:
    firebase deploy --except functions

Error: Functions did not deploy properly.


This has become a huge issue, I'm really hoping somebody can help!

bill....@hallsteninnovations.com

unread,
Oct 20, 2018, 12:44:50 AM10/20/18
to Firebase Google Group
Can you try deploying from a different network? Asking this happened on my home network...it did not work -- well like 1 of 100 times :) 
But yet when I use my mobile hotspot to deploy it works good+fast.

A work around, but still, this behavior makes me lose much trust in the platform. 
Reply all
Reply to author
Forward
0 new messages