Firebase Firstore Doc.Get does not let angular universal to resolve
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 25/100
Rechercherichtung
Reproduziere das Timeout-Problem beim serverseitigen Rendern mit Angular Universal unter Verwendung einer Cloud Function und firebase-admin Firestore, wobei Collection-Abfragen mit collection('collectionPath').doc('docId').get() verglichen werden. Verfolge den Aufruf-Stack rund um den Vorgang zum Abrufen des Dokuments; das Problem ist behoben, wenn SSR HTML zurückgibt, ohne dass ein Timeout auftritt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
I'm reporting for the first time so if I'm making some mistake let me know.
The thing is that I'm working on an angular app that uses angular universal and firebase as backend. When hosting, i use a cloud function to Server-Side Render the website for SEO and preview, as usual.
But, it took me 4 weeks to discover what was wrong with my code, at some point, the ssr just stopped working. The request to ssr function always times out.
Then last week I've been rewriting the WHOLE app, and testing it step by step, until i notice a bug that happens when working with angular and firebase-admin (firestore, to be more precise)
When I insert a firestore.collection('collectionPath').doc('docId').get() the ssr part of the app just stopped working. There's something inside this that holds angular to return the html response. I've been conducting lots of testing, indeed, the get request works normally.
I've followed the whole callstack and there's something that holds angular in place preventing the returning.
I make two more requests at the same time, the first was a query, taht worked perfectly. When i inserted the doc().get(), it stopped working. I'm not able to give you more details because I'm noob in this kind of thing, but if you beed any additional let me know.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.8k
- Forks
- 423
- Ø Merge
- 17 Std. 8 Min.
- Gemergte PRs (30 T.)
- 14
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus firebase/firebase-admin-node
-
Password policy violation is reported as `auth/internal-error` instead of a specific error codeEvtl. vergeben @lahirumaramba hat das vor 13 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
firebase/firebase-admin-node#3265 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 22/100
firebase/firebase-admin-node#3288 ·
Maintainer antworten meist innerhalb von 1 Tag
-
getToken() replays a failed token refresh to later callers while a valid token is cachedEvtl. vergeben @GUMBOKIM hat das vor 67 Tagen übernommen. Offen
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 35/100
firebase/firebase-admin-node#3234 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[email protected] stable dependency tree fails npm audit via Storage uuid and Firestore google-gaxEvtl. wieder frei @lahirumaramba hat das vor 42 Tagen übernommen, und es ist kein Pull Request offen. Offen
firebase/firebase-admin-node#3221 · 3 Kommentare · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Misleading error message for THIRD_PARTY_AUTH_ERROR: raw "OAuth 2 access token" text surfaced instead of the APNs-specific messageEvtl. vergeben @milcho0604 hat das vor 69 Tagen übernommen. Offenapi: messaging
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 70/100
firebase/firebase-admin-node#3215 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in firebase/firebase-admin-node
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
mobile-next/mobile-mcp#526 ·
Maintainer antworten meist innerhalb von 1 Tag
-
e2e-failure ready-to-code
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 73/100
redhat-developer/rhdh-plugin-export-overlays#4470 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag