【问题标题】:Firebase Firestore Web NOT working behind corporate proxyFirebase Firestore Web 不在公司代理后面工作
【发布时间】:2018-09-21 10:24:39
【问题描述】:

我的计算机位于公司代理后面。访问使用 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中设置代理信息?

【问题讨论】:

标签: firebase proxy google-cloud-firestore


【解决方案1】:

根据您使用的框架,Firestore 将通过端口 443 访问googleapis.com 下的多个域。

如果您的代理正在检查 https 流量,那么您很可能必须将 https://*.googleapis.com/ 列入白名单。

【讨论】:

    猜你喜欢
    • 2015-04-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-10-04
    • 2014-10-28
    • 1970-01-01
    • 2019-06-30
    • 2023-01-24
    相关资源
    最近更新 更多