@firebase/firestore:Firestore (7.17.2):无法到达 Cloud Firestore 后端。后端10秒内没有响应

Aro*_*edi 5 javascript firebase google-cloud-firestore

我的带有 firebase 的 ReactJs Web 应用程序运行得非常好,我能够从集合中获取条目并将其显示在我的 Web 应用程序中,但是当我第二天尝试运行该应用程序时,一切似乎都崩溃了。我无法获取文件。我在下面附上了详细的日志:

[2020-08-08T09:09:13.740Z]  @firebase/firestore: Firestore (7.17.2): FirestoreClient Initializing. user= null
logger.ts:115 [2020-08-08T09:09:13.746Z]  @firebase/firestore: Firestore (7.17.2): MemoryPersistence Starting transaction: Get next mutation batch
logger.ts:115 [2020-08-08T09:09:13.752Z]  @firebase/firestore: Firestore (7.17.2): MemoryPersistence Starting transaction: Get next mutation batch
logger.ts:115 [2020-08-08T09:09:13.759Z]  @firebase/firestore: Firestore (7.17.2): MemoryPersistence Starting transaction: Allocate target
logger.ts:115 [2020-08-08T09:09:13.762Z]  @firebase/firestore: Firestore (7.17.2): MemoryPersistence Starting transaction: Execute query
logger.ts:115 [2020-08-08T09:09:13.768Z]  @firebase/firestore: Firestore (7.17.2): IndexFreeQueryEngine Using full collection scan to execute query: Query(target=Target(posts, orderBy: [__name__ (asc)]); limitType=F)
logger.ts:115 [2020-08-08T09:09:13.776Z]  @firebase/firestore: Firestore (7.17.2): Connection Creating WebChannel: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel {"httpSessionIdParam":"gsessionid","initMessageHeaders":{"X-Goog-Api-Client":"gl-js/ fire/7.17.2","Content-Type":"text/plain"},"messageUrlParams":{"database":"projects/instagram-clone-fa27a/databases/(default)"},"sendRawJson":true,"supportsCrossDomainXhr":true,"internalChannelParams":{"forwardChannelRequestTimeoutMs":600000},"forceLongPolling":false,"httpHeadersOverwriteParam":"$httpHeaders"}
logger.ts:115 [2020-08-08T09:09:13.843Z]  @firebase/firestore: Firestore (7.17.2): Connection Opening WebChannel transport.
logger.ts:115 [2020-08-08T09:09:13.847Z]  @firebase/firestore: Firestore (7.17.2): Connection WebChannel sending: {"database":"projects/instagram-clone-fa27a/databases/(default)","addTarget":{"query":{"structuredQuery":{"from":[{"collectionId":"posts"}],"orderBy":[{"field":{"fieldPath":"__name__"},"direction":"ASCENDING"}]},"parent":"projects/instagram-clone-fa27a/databases/(default)/documents"},"targetId":2}}
index.js:1 [2020-08-08T09:09:23.776Z]  @firebase/firestore: Firestore (7.17.2): 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.
    [2020-08-08T09:09:24.918Z]  @firebase/firestore: Firestore (7.17.2): PersistentStream close with error: FirebaseError: [code=unavailable]: The operation could not be completed
    logger.ts:115 [2020-08-08T09:09:24.924Z]  @firebase/firestore: Firestore (7.17.2): OnlineStateTracker Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: FirebaseError: [code=unavailable]: The operation could not be completed
    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.
Run Code Online (Sandbox Code Playgroud)

我的互联网连接运行良好,并且我确信互联网不是问题。有人可以建议我一个解决方案吗?这会有很大的帮助。