Description
[REQUIRED] Step 2: Describe your environment
- Firebase Component: firebase-bom-30.4.1 (latest)
[REQUIRED] Step 3: Describe the problem
This is related to the following bugs:
#1258
firebase/flutterfire#5546
#3436
invertase/react-native-firebase#2715
I have a production app using Realtime Database Android SDK and there are what seem to be increasing instances of users being unable to access RTDB using WiFi (probably having affected at least 20% of users).
Device has internet connectivity, but simply cannot connect to Firebase. This is affecting devices from Lollipop up through Android 10.
I have tested also with Firestore writes, and the same problem occurs - it's not isolated to RTDB.
When using a mobile hotspot, connection to Firebase is always instantaneous.
In the past, a router reset has solved it. However, sometimes the router reset didn't work, and instead we had to use a dedicated separate 2.4GHz router with DHCP disabled, plugged into their main router.
Now in recent weeks, I've found cases where even the second router workaround doesn't work and now my only possible workaround is to either fully migrate away from the Android SDK and simply hit the Firebase API using HTTP requests, or to migrate away from Firebase entirely.
Are any other users of the Android SDK facing similar issues? Are ISPs clamping down more in recent months / weeks for some reason? Is there any other workaround I'm missing?
Can the team either update the Tubesock library which this seems to be built on or can they update the Android SDK to fall back on http requests or long polling (like the JS SDK) when websockets fails?
Thank you.