我的计算机位于公司代理后面。访问使用 Firebase Firestore 的网站时,它未连接到 Firebase 服务器。我在控制台中收到以下错误。
[2018-09-21T10:09:15.854Z] @firebase/firestore: Firestore (5.4.1): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
如何在代理后面使用 Firestore Web?
注意:如果系统不在代理后面,相同的代码可以正常工作。所以代码没有问题,但是如何在 firestore 中设置代理信息?
根据您使用的框架,Firestore 将访问以下多个域googleapis.com
通过端口 443。
如果您的代理正在检查 https 流量,那么您很可能必须将其列入白名单https://*.googleapis.com/
.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)