Firebase函数:不清楚“连接错误” [英] Firebase Functions: Unclear "connection error"

查看:176
本文介绍了Firebase函数:不清楚“连接错误”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


$ b

函数执行花费了**** ms,完成了与状态:'连接错误'



这种情况不一致,但我不能完全缩小问题的范围。我不相信错误是在我的应用程序,因为它不显示错误打印输出。而我自己与Firebase在运行这个云功能时的连接并没有被切断。



任何想法为什么Firebase随着连接错误而随机地使云执行失败? >

解决方案

我认为这可能是太多的同步Firebase数据库连接:/ https://groups.google.com/forum/#!topic/firebase-talk/4RjyYIDqMVQ


I am getting this error every so many runs with my HTTP Firebase Cloud Function:

Function execution took ****ms, finished with status: 'connection error'

It happens inconsistently but I can't quite narrow down what the problem is. I don't believe the error is in my app as it's not showing an error printout. And my own connection with firebase while running this cloud function isn't cutting out.

Any ideas why Firebase randomly fails cloud function executions with "connection error"?

解决方案

I think it might be too many simultaneous firebase database connections :/ https://groups.google.com/forum/#!topic/firebase-talk/4RjyYIDqMVQ

这篇关于Firebase函数:不清楚“连接错误”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆