我的电脑在公司代理后面。访问使用 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网络?
注意:如果系统不在代理后面,则相同的代码工作正常。所以代码没有问题,但是如何在火店中设置代理信息?
根据您使用的框架,Firestore 将通过端口 443 访问googleapis.com
下的多个域。
如果您是代理正在检查https流量,那么您很可能必须将https://*.googleapis.com/
列入白名单。