-
Notifications
You must be signed in to change notification settings - Fork 269
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
Firestore listeners stop receive updates - Java #896
Comments
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight. |
Hello everyone! Today in the morning we face this issue again.. the listener stop listen updates until i restart the server. `Resource resource = resourceLoader.getResource("classpath:firebase.json");
` i have 6 listeners, but in firestore graph show 7.. some times 5 or 8... this is very strange and causing big problems to our applications.. and stop random listener...so a order listener or billing listener stop ...we have a big problem.. @schmidt-sebastian can you help us please we are stuck in this situation. |
Can I work on this issue? |
Hi @lucazin , Sebastian is not long working inside the team, could you please let me know if you are still experiencing this issue when upgrade to the latest version of Java admin SDK? |
Hello! Yes I'm still facing this problem with firestore. The only workaround was stop using and back to real-time database because firestore was detach listeners in my springboot application after some time and gives me a big problem, because when listerner stop I can receive real-time update and all data inside firestore still blocked because my springboot can't consume this data because listener was down. Thanks! |
Hi @lucazin , I tried to reproduce this problem on my side but everything works fine. Could you provide us a minimum repo app and enable the debug log? Thank you! |
Did you try create a simple springboot server app. And attach more than 5 listeners same time? Unfortunately the repo is private production app.. But simple logic is, listening 5 paths in firestore to receive demands information. after a while the listener is not alive anymore and for working again have to restart. Running in aws ec2. |
Hi @lucazin , Unfortunately we cannot further investigate without a repo. Can you try it without springboot to see if it is working? |
Java Spring Boot 3.0.2
Firestore Listeners ( 7 )
Region FireStore - Sao paulo
Region Server - Sao Paulo AWS
Issue related : googleapis/google-cloud-java#3514
googleapis/java-firestore#1511
I have this kind of problem @schmidt-sebastian
i have 7 listeners, but always disconnecting some listeners and stop registering information in database. Im using Java.
What i have to do..to stop this behavior..?? because its intermitent situation.
I have to move to realtime database? or have some config extra to fix that? Because when i restart the server the listener back again..
Again, we are having a strange behavior of listeners. We have 7 listeners active and some time just 6..just 5.. and back to 7 ..but with this behavior we can put our plataform in production stage.
im using this
https://firebase.google.com/docs/admin/setup#java
implementation 'com.google.firebase:firebase-admin:9.2.0'
##########################
the problem is higher workload .. i check three times the workload and if we see the listener drop when the workload if high. the clock below each graph show us.. everytime have a peak drop listener.
now..i dont know what to do.. :(
Can someone help me?
The text was updated successfully, but these errors were encountered: