-
Notifications
You must be signed in to change notification settings - Fork 875
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getDoc() is never resolved nor rejected #7911
Comments
@AnthonyLzq, I'm unable to reproduce this with Firebase v10.7.1 on Brave browser or Chrome. Can you enable debug logging for the Firestore package and send us the logs? Add this line during the setup to write Firestore SDK logs.
|
Hey @AnthonyLzq. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
I'm sorry I couldn't provide more context. I'll try to give you a minimal example today. |
Same issue here with addDoc. Im using 10.7.1 too. |
@luizfelmach, can you provide logs from the Firestore SDK that capture when the issue occurs for you?
|
I discovered that the environment variables were not working in Next.js even with NEXT_PUBLIC. So the problem wasn't in firebase. However, it would be interesting if firebase returned an error if it was unable to connect. I believe that a maxtimeout and return an error so that you don't spend hours trying to find the error. |
@luizfelmach, thanks for the follow up. That sounds like expected behavior for |
Okay. Sorry about that and thanks for the help. |
Hey @AnthonyLzq. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @AnthonyLzq if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Operating System
macOS 14.1.2 23B92 arm64
Browser Version
Brave on macOS (Chrome 120 on macOS (Sonoma))
Firebase SDK Version
10.7.1
Firebase SDK Product:
Firestore
Describe your project's tooling
Remix
Describe the problem
For some reason,
getDoc
function does not work when I usefireabse/firestore/lite
, but withoutlite
, it does.Steps and code to reproduce issue
When I try to do the following:
But if I change the code to use:
Instead of:
It works fine
The text was updated successfully, but these errors were encountered: