invertase / react-native-firebase

🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
https://rnfirebase.io
Other
11.53k stars 2.19k forks source link

Unable to query database from physical ios device #244

Closed v-ahuja closed 6 years ago

v-ahuja commented 6 years ago

I'm unable to query the Firebase realtime database on an actual device but everything works fine on the simulator. Notably, in the xcode logs, I see the following when running on the simulator:

2017-07-12 22:37:06.336 resiShare[46538:2864996] Setting up RNFirebase instance 2017-07-12 22:37:06.461 resiShare[46538:2864996] Setting up RNFirebaseMessaging instance

but i don't see these when running on the device

Environment

  1. Target Platform (e.g. iOS, Android): iOS
  2. Development Operating System (e.g. macOS Sierra, Windows 10): macOS Sierra
  3. Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant):
  4. React Native version (e.g. 0.45.1): 0.45.1
  5. RNFirebase Version (e.g. 2.0.2): 2.0.3
v-ahuja commented 6 years ago

This is my Podfile

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'resiShare' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for resiShare
  pod 'Firebase/Core'
  pod 'RNFirebase', :path => '../node_modules/react-native-firebase'
  pod 'Firebase/Auth'
  pod 'Firebase/Storage'
  pod 'Firebase/Database'
  pod 'Firebase/RemoteConfig'
  pod 'Firebase/Messaging'
  pod 'Fabric'
  pod 'Crashlytics'

  pod "Yoga", :path => "../node_modules/react-native/ReactCommon/yoga"
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
  'BatchedBridge', # Required For React Native 0.45.0+
  'Core',
  # Add any other subspecs you want to use in your project
  ]

  # pod "Yoga", :path => "../node_modules/react-native/ReactCommon/yoga"
  # pod 'React', :path => '../node_modules/react-native', :subspecs => [
  #   'BatchedBridge', # Required For React Native 0.45.0+
  #   'Core',
  #   # Add any other subspecs you want to use in your project
  # ]
  # pod 'RNFirebase', :path => '../node_modules/react-native-firebase'

  target 'resiShareTests' do
    inherit! :search_paths
    # Pods for testing
  end

end

target 'resiShare-tvOS' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for resiShare-tvOS

  target 'resiShare-tvOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

end
egunsoma commented 6 years ago

I experienced the same issue a day ago, I have a query method with once on my app start, and it works fine on simulator, but on not resolving (or throwing error) on real device or Android emulator.

Anybody facing similar bug?

v-ahuja commented 6 years ago

@chrisbianca any advice?

egunsoma commented 6 years ago

Any update @vahuja13 ? Have you managed to solve the issue? For me Android works fine, only iPhones and iPad behaves like this.

egunsoma commented 6 years ago

I'm having the following lines in the log:

2017-07-15 12:15:19.292098+0200 skrechy[1017:268692] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2017-07-15 12:15:19.300741+0200 skrechy[1017:268692] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service

Do you see the same?

v-ahuja commented 6 years ago

hey, no, i've absolutely no clue about this, but I don't see that log. Did u see that while debugging in xcode?

egunsoma commented 6 years ago

Yes, but I also see what you have posted:

2017-07-15 13:49:05.265176+0200 skrechy[1126:288442] Setting up RNFirebase instance
2017-07-15 13:49:05.265619+0200 skrechy[1126:288442] Setting up RNFirebaseMessaging instance

So maybe we have different problem with the same effect.

egunsoma commented 6 years ago

BTW I've downgraded to v1, and the problem is not present anymore, this maybe a bug with the v2 database module, we should create a sandbox version of it isolate the bug.

v-ahuja commented 6 years ago

Hey, im going to try downgrading to v1 and see if im still affected. Will get back.

v-ahuja commented 6 years ago

yeah, building with v1 failed for me :(

egunsoma commented 6 years ago

Have you reinstalled npm and the pods also?

v-ahuja commented 6 years ago

yeah, i did an npm update and a pod update.

v-ahuja commented 6 years ago

It looks like v1 requires FirebaseCrash. Could you please post your Podfile that you used with v1 RNFirebase? Thanks! Need to step out for a bit, so I'll try it out in a couple of hours.

egunsoma commented 6 years ago

Sure here it is:

# platform :ios, '9.0'

target 'awesomeAppName' do
  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
  # use_frameworks!

  # Pods for awesomeAppName
  pod 'Firebase/Auth'
  pod 'Firebase/Analytics'
  pod 'Firebase/Core'
  pod 'Firebase/Crash'
  pod 'Firebase/Database'
  pod 'Firebase/DynamicLinks'
  pod 'Firebase/Messaging'
  pod 'Firebase/RemoteConfig'
  pod 'Firebase/Storage'
  pod 'RNFirebase', :path => '../node_modules/react-native-firebase'

  pod 'RNGL', :path => './node_modules/gl-react-native'

  pod "Yoga", :path => "../node_modules/react-native/ReactCommon/yoga"
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'BatchedBridge', # Required For React Native 0.45.0+
    'Core',
    # Add any other subspecs you want to use in your project
  ]
end
v-ahuja commented 6 years ago

tried with v1. Same issue for me unfortunately. Looks like i'll have to go down the rabbit hole of debugging this.

chrisbianca commented 6 years ago

Sorry for the lack of response on this - unfortunately I'm not really sure what to suggest as a way of fixing the issue. I can confirm that the latest version of the library definitely works on devices as my app is happily working in production.

The only time I've seen something similar is when Firebase has been very slow to respond.

v-ahuja commented 6 years ago

Any suggestions on how to go about debugging to at least definitively get to the cause of the issue would be helpful. Thanks.

egunsoma commented 6 years ago

This bug came back for me on v1, updated to v2 (again) and still present. Could you use the debug: true option of initializeApp and copy paste the log from Chrome Debugger? Mine is beneath. We could check if there is anything in common that shouldn't be there.

RNFirebase            | [debug] creating Query  .info/serverTimeOffset undefined
reference.js:70 firebase:db:ref       | [debug] Created new Reference 1 .info/serverTimeOffset
reference.js:246 firebase:db:ref       | [debug] adding reference.on 1 value
index.js:77 firebase:database     | [debug] on() :  1 1 value
index.js:52 firebase:database     | [debug] Created new Database instance undefined
query.js:16 RNFirebase            | [debug] creating Query  users/rJpxEFxR58gopmKz4kygOoBHgAR2 undefined
reference.js:70 firebase:db:ref       | [debug] Created new Reference 2 users/rJpxEFxR58gopmKz4kygOoBHgAR2
reference.js:246 firebase:db:ref       | [debug] adding reference.on 2 value
index.js:77 firebase:database     | [debug] on() :  2 1 value

@chrisbianca @Ehesp @Salakar Can you see any irregularities in this log (I mean here e.g. the undefined in Ln. 5)? Thank you!

egunsoma commented 6 years ago

Here is my log for the iOS Simulator, which is the only platform where things are working as expected (the bug appears on Android emulator and iOS device)

I noticed that the exection of _handleDatabaseEvent is not logged when running on Android (see above).

firebase:auth         | [info] Creating onAuthStateChanged listener
index.ios.bundle?platform=ios&dev=true&minify=false:55943 %cfirebase:auth         |
Login.js:28 Firebase onAuthStateChanged resolves User 1500842729972
Login.js:30 User exists branch
index.ios.bundle?platform=ios&dev=true&minify=false:54905 Firebase onAuthStateChanged resolves
index.ios.bundle?platform=ios&dev=true&minify=false:54907 User exists branch
index.js:144 firebase:database     | [debug] Enabling persistence.
index.ios.bundle?platform=ios&dev=true&minify=false:56861 %cfirebase:database     |
query.js:16 RNFirebase            | [debug] creating Query  .info/serverTimeOffset undefined
reference.js:70 firebase:db:ref       | [debug] Created new Reference 1 .info/serverTimeOffset
index.ios.bundle?platform=ios&dev=true&minify=false:57435 %cRNFirebase            |
index.ios.bundle?platform=ios&dev=true&minify=false:57091 %cfirebase:db:ref       |
reference.js:246 firebase:db:ref       | [debug] adding reference.on 1 value
index.ios.bundle?platform=ios&dev=true&minify=false:57153 %cfirebase:db:ref       |
index.js:77 firebase:database     | [debug] on() :  1 1 value
index.ios.bundle?platform=ios&dev=true&minify=false:56807 %cfirebase:database     |
index.js:52 firebase:database     | [debug] Created new Database instance undefined
index.ios.bundle?platform=ios&dev=true&minify=false:56789 %cfirebase:database     |
query.js:16 RNFirebase            | [debug] creating Query  users/7xl2Rw8EI7N5A1qZCAtdwtWql752 undefined
reference.js:70 firebase:db:ref       | [debug] Created new Reference 2 users/7xl2Rw8EI7N5A1qZCAtdwtWql752
index.ios.bundle?platform=ios&dev=true&minify=false:57435 %cRNFirebase            |
reference.js:246 firebase:db:ref       | [debug] adding reference.on 2 value
index.ios.bundle?platform=ios&dev=true&minify=false:57091 %cfirebase:db:ref       |
index.ios.bundle?platform=ios&dev=true&minify=false:57153 %cfirebase:db:ref       |
index.js:77 firebase:database     | [debug] on() :  2 1 value
index.ios.bundle?platform=ios&dev=true&minify=false:56807 %cfirebase:database     |
index.js:159 firebase:database     | [debug] _handleDatabaseEvent:  1 1 .info/serverTimeOffset value serverTimeOffset
index.ios.bundle?platform=ios&dev=true&minify=false:56880 %cfirebase:database     |
index.js:159 firebase:database     | [debug] _handleDatabaseEvent:  2 1 users/7xl2Rw8EI7N5A1qZCAtdwtWql752 value 7xl2Rw8EI7N5A1qZCAtdwtWql752
Salakar commented 6 years ago

@egunsoma have you tried connecting the physical device to various networks, e.g. WiFi, 3g, 4g, maybe it's a specific network or some kind of region block on firebase / ISP?

Could you try import the firebase web SDK into your project, build on your device and see if it hangs?

alexkuttig commented 6 years ago

Similar Issue here. Maybe this helps. I added logs like this:

void addOnceValueEventListener(final Callback callback) {
    final ValueEventListener onceValueEventListener = new ValueEventListener() {
      @Override
      public void onDataChange(DataSnapshot dataSnapshot) {
        Log.d(TAG, "dataChange for refId: " + mRefId);
        WritableMap data = Utils.snapshotToMap("value", mRefId, null, mPath, dataSnapshot, null);
        callback.invoke(null, data);
      }

      @Override
      public void onCancelled(DatabaseError error) {
        Log.d(TAG, "dataChange error for refId: " + mRefId);
        WritableMap err = Arguments.createMap();
        err.putInt("refId", mRefId);
        err.putString("path", mPath);
        err.putInt("code", error.getCode());
        err.putString("details", error.getDetails());
        err.putString("message", error.getMessage());
        callback.invoke(err);
      }
    };

    mQuery.addListenerForSingleValueEvent(onceValueEventListener);
    Log.d(TAG, "Added OnceValueEventListener for refId: " + mRefId);
  }

Here is the Log:

08-09 11:25:32.981 10794-11026/net.learnmatch.app I/ReactNativeJS: '%cRNFirebase            |', 'color: hsl(222.4922359499622,99%,40%); font-weight: bold', '[debug]', 'creating Query ', 'Words/English/Beginner/Versions', undefined
08-09 11:25:32.982 10794-11026/net.learnmatch.app I/ReactNativeJS: '%cfirebase:db:ref       |', 'color: hsl(84.98447189992442,99%,40%); font-weight: bold', '[debug]', 'Created new Reference', 8, 'Words/English/Beginner/Versions'
08-09 11:25:32.986 10794-11027/net.learnmatch.app D/RNFirebaseDatabase: Native once called. refId: 8 , path: Words/English/Beginner/Versions
08-09 11:25:32.987 10794-11027/net.learnmatch.app D/RNFirebaseDatabase: io.invertase.firebase.database.RNFirebaseDatabaseReference@56e4da
08-09 11:25:32.987 10794-11027/net.learnmatch.app D/RNFirebaseDBReference: Added OnceValueEventListener for refId: 8
08-09 11:25:39.994 10794-11026/net.learnmatch.app W/ReactNativeJS: WARNING CONTENTLOADERCOMPONENT_START_LOADING_WORDS_FOR_USER_01: "Firebase connection timed out"

Seems like onDataChange or onCancelled is not called before my 7 second timeout triggers. I also tried without the timeout - the functions don't get called.

egunsoma commented 6 years ago

@alexkuttig What is your exact issue? Android or iOS?

alexkuttig commented 6 years ago

My issue is only Android. iOS working fine on simulator and physical devices. Further the issue seems only to appear on devices with weaker wifi modules in a network where many wifi devices are connected. I testet with S7, S3, Note 4, Moto G2. S7 always works fine, Note 4 works from time to time, G2 and S3 don't work.

alexkuttig commented 6 years ago

@Salakar I just tried the web SDK and it works fine. More Info: .info/connected value is false on react-native-firebase and true on web SDK

Ehesp commented 6 years ago

This may be relevant from the FB Android docs:

On Android, Firebase automatically manages connection state to reduce bandwidth and battery usage. When a client has no active listeners, no pending write or onDisconnect operations, and is not explicitly disconnected by the goOffline method, Firebase closes the connection after 60 seconds of inactivity.

Maybe worth testing whether it works whilst other queries are being triggered, and then leaving it for 60 seconds and seeing if it logs.

alexkuttig commented 6 years ago

I'm now going with the web SDK for database and auth and react-native-firebase for all other firebase stuff. That works fine at the moment, even if it is not the best solution...

egunsoma commented 6 years ago

@alexkuttig Unfortunately I also cannot query database (but on iOS device, described in #295). I found the same resolution as you, I will use Web SDK for DB and Auth, but if you are Storage as well, you have use the Web SDK there, too, since you won't be authenticated for the native Storage.

Ehesp commented 6 years ago

Do you guys have an project we can clone locally to debug this? Obviously an issue which needs sorting but a pain in the bum if it's not happening on our projects.

egunsoma commented 6 years ago

@Ehesp Yes I've linked a project reproducing my error in #295. It includes my configuration files for the specific project, and works fine on Simulator, but when I build a Release to iOS Device, the bug occurs. Thanks for your help in advance 💯 👍

alexkuttig commented 6 years ago

Thanks for the project @egunsoma. Could you include the google-services.json for android, so I can test if it covers my issue, too?

egunsoma commented 6 years ago

@alexkuttig @Ehesp Sure, I also created another FB project for the sake of debugging, since the previous is used for beta-testing currently. With the new FB project, the bug still occurs on iOS. Please use the newest commit.

alexkuttig commented 6 years ago

Thanks again, but android build is still not working. Can you please add the app to your new FB project and push a new google-services.json?

This is the error message: > No matching client found for package name 'com.rnfirebasetest2'

egunsoma commented 6 years ago

@alexkuttig It is pushed, my bad.

Ehesp commented 6 years ago

Have you guys tried the following on iOS? (ref: https://stackoverflow.com/questions/37827843/firebase-not-worked-on-real-devices-ios)

  1. Go to Your Project in the navigation pane on the left.
  2. Go to Build Settings and scroll down to Build Options.
  3. Change the value of Enable Bitcode to No.

Seemed to work for someone on Discord.

egunsoma commented 6 years ago

HOLY FUCK!! It worked, thank you VERY much @Ehesp, saved my day. Actually, I can now use only your library instead of mixing it with Web SDK. 👍 🥇

Ehesp commented 6 years ago

I'm an iOS wizard 👀

egunsoma commented 6 years ago

Hell of a wizard!

chrisbianca commented 6 years ago

@alexkuttig Try enabling logging on the DB directly: https://stackoverflow.com/questions/44606621/firebase-database-not-working-and-no-response

alexkuttig commented 6 years ago

Thank you again @egunsoma. I ran your project on a Samsung Galaxy Note 3, where the name got loaded. Then I ran it on a Motorola G2, where the name did not get loaded.

@chrisbianca here is the log of the G2:

08-11 15:59:43.990 26054-26084/com.rnfirebasetest2 W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
08-11 15:59:44.027 26054-26054/com.rnfirebasetest2 I/FA: App measurement is starting up, version: 11020
08-11 15:59:44.028 26054-26054/com.rnfirebasetest2 I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
08-11 15:59:44.037 26054-26093/com.rnfirebasetest2 I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:0
08-11 15:59:44.037 26054-26093/com.rnfirebasetest2 I/DynamiteModule: Selected local version of com.google.android.gms.flags
08-11 15:59:44.042 26054-26084/com.rnfirebasetest2 W/DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
08-11 15:59:44.047 26054-26093/com.rnfirebasetest2 W/System: ClassLoader referenced unknown path: 
08-11 15:59:44.048 26054-26093/com.rnfirebasetest2 W/System: ClassLoader referenced unknown path: /system/priv-app/PrebuiltGmsCore/lib/arm
08-11 15:59:44.050 26054-26093/com.rnfirebasetest2 D/ApplicationLoaders: ignored Vulkan layer search path /system/priv-app/PrebuiltGmsCore/lib/arm:/system/fake-libs:/system/priv-app/PrebuiltGmsCore/PrebuiltGmsCore.apk!/lib/armeabi-v7a:/system/lib:/vendor/lib for namespace 0xb6ee4090
08-11 15:59:44.051 26054-26054/com.rnfirebasetest2 I/FA: To enable faster debug mode event logging run:
                                                           adb shell setprop debug.firebase.analytics.app com.rnfirebasetest2
08-11 15:59:44.070 26054-26054/com.rnfirebasetest2 I/FirebaseInitProvider: FirebaseApp initialization successful
08-11 15:59:44.080 26054-26093/com.rnfirebasetest2 W/DynamiteModule: Local module descriptor class for com.google.android.gms.crash not found.
08-11 15:59:44.082 26054-26054/com.rnfirebasetest2 V/fb-UnpackingSoSource: locked dso store /data/user/0/com.rnfirebasetest2/lib-main
08-11 15:59:44.084 26054-26054/com.rnfirebasetest2 I/fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/com.rnfirebasetest2/lib-main
08-11 15:59:44.084 26054-26054/com.rnfirebasetest2 V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.rnfirebasetest2/lib-main
08-11 15:59:44.120 26054-26093/com.rnfirebasetest2 I/DynamiteModule: Considering local module com.google.android.gms.crash:0 and remote module com.google.android.gms.crash:7
08-11 15:59:44.120 26054-26093/com.rnfirebasetest2 I/DynamiteModule: Selected remote version of com.google.android.gms.crash, version >= 7
08-11 15:59:44.123 26054-26054/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.ctor()
08-11 15:59:44.151 26054-26054/com.rnfirebasetest2 D/NetworkSecurityConfig: No Network Security Config specified, using platform default
08-11 15:59:44.180 26054-26054/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.createReactContextInBackground()
08-11 15:59:44.181 26054-26054/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.recreateReactContextInBackgroundInner()
08-11 15:59:44.182 26054-26093/com.rnfirebasetest2 W/System: ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000004/n/armeabi-v7a
08-11 15:59:44.182 26054-26093/com.rnfirebasetest2 W/System: ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000004/n/armeabi
08-11 15:59:44.183 26054-26054/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.onJSBundleLoadedFromServer()
08-11 15:59:44.207 26054-26093/com.rnfirebasetest2 I/FirebaseCrashApiImpl: FirebaseCrashApiImpl created by ClassLoader t[DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000004/DynamiteModulesC_GmsCore_prodmnc_xhdpi_release.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000004/n/armeabi-v7a, /data/user_de/0/com.google.android.gms/app_chimera/m/00000004/n/armeabi, /system/lib, /vendor/lib]]]
08-11 15:59:44.211 26054-26093/com.rnfirebasetest2 I/FirebaseCrash: FirebaseCrash reporting loaded - com.google.android.gms.internal.ml@8bd0a21
08-11 15:59:44.219 26054-26054/com.rnfirebasetest2 I/art: Thread[1,tid=26054,Native,Thread*=0xb4284400,peer=0x74a15628,"main"] recursive attempt to load library "/data/app/com.rnfirebasetest2-1/lib/arm/libfb.so"
08-11 15:59:44.222 26054-26054/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.recreateReactContextInBackground()
08-11 15:59:44.222 26054-26054/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.runCreateReactContextOnNewThread()
08-11 15:59:44.233 26054-26113/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.createReactContext()
08-11 15:59:44.252 26054-26054/com.rnfirebasetest2 D/FirebasePerformance: onResume com.rnfirebasetest2.MainActivity:321871
08-11 15:59:44.256 26054-26094/com.rnfirebasetest2 I/DynamiteModule: Considering local module com.google.android.gms.flags:2 and remote module com.google.android.gms.flags:0
08-11 15:59:44.256 26054-26094/com.rnfirebasetest2 I/DynamiteModule: Selected local version of com.google.android.gms.flags
08-11 15:59:44.259 26054-26054/com.rnfirebasetest2 W/unknown:ReactNative: Packager connection already open, nooping.
08-11 15:59:44.260 26054-26054/com.rnfirebasetest2 W/unknown:ReactNative: Inspector connection already open, nooping.
08-11 15:59:44.269 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupViewManager
08-11 15:59:44.270 26054-26101/com.rnfirebasetest2 I/FA: Tag Manager is not found and thus will not be used
08-11 15:59:44.272 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupShadowNode
08-11 15:59:44.277 26054-26094/com.rnfirebasetest2 W/DynamiteModule: Local module descriptor class for com.google.android.gms.crash not found.
08-11 15:59:44.282 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeViewManager
08-11 15:59:44.286 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeShadowNode
08-11 15:59:44.299 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextViewManager
08-11 15:59:44.301 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextShadowNode
08-11 15:59:44.304 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDialogPickerManager
08-11 15:59:44.323 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
08-11 15:59:44.337 26054-26094/com.rnfirebasetest2 I/FirebaseCrashApiImpl: FirebaseCrash reporting API initialized
08-11 15:59:44.338 26054-26094/com.rnfirebasetest2 I/FirebaseCrash: FirebaseCrash reporting initialized com.google.android.gms.internal.ml@8bd0a21
08-11 15:59:44.338 26054-26094/com.rnfirebasetest2 D/FirebaseCrash: Firebase Analytics Listener for Firebase Crash is initialized
08-11 15:59:44.339 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
08-11 15:59:44.348 26054-26119/com.rnfirebasetest2 I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/09/15, 6cbbf7d, I3193f6e94a
08-11 15:59:44.348 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDropdownPickerManager
08-11 15:59:44.350 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactHorizontalScrollViewManager
08-11 15:59:44.354 26054-26119/com.rnfirebasetest2 I/OpenGLRenderer: Initialized EGL, version 1.4
08-11 15:59:44.354 26054-26119/com.rnfirebasetest2 D/OpenGLRenderer: Swap behavior 1
08-11 15:59:44.357 26054-26119/com.rnfirebasetest2 W/Adreno-ES20: <get_gpu_clk:229>: open failed: errno 13
08-11 15:59:44.369 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ReactProgressBarViewManager
08-11 15:59:44.375 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.progressbar.ProgressBarShadowNode
08-11 15:59:44.382 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.scroll.ReactScrollViewManager
08-11 15:59:44.406 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager
08-11 15:59:44.414 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager$ReactSliderShadowNode
08-11 15:59:44.416 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
08-11 15:59:44.422 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
08-11 15:59:44.424 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.toolbar.ReactToolbarManager
08-11 15:59:44.436 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.webview.ReactWebViewManager
08-11 15:59:44.446 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.swiperefresh.SwipeRefreshLayoutManager
08-11 15:59:44.455 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewManager
08-11 15:59:44.456 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewShadowNode
08-11 15:59:44.459 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
08-11 15:59:44.460 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
08-11 15:59:44.466 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.image.ReactImageManager
08-11 15:59:44.480 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ReactModalHostManager
08-11 15:59:44.484 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.modal.ModalHostShadowNode
08-11 15:59:44.485 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactRawTextManager
08-11 15:59:44.498 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextShadowNode
08-11 15:59:44.509 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
08-11 15:59:44.532 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputShadowNode
08-11 15:59:44.534 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactTextViewManager
08-11 15:59:44.536 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.view.ReactViewManager
08-11 15:59:44.549 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.viewpager.ReactViewPagerManager
08-11 15:59:44.556 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextViewManager
08-11 15:59:44.558 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class io.invertase.firebase.admob.RNFirebaseAdMobBanner
08-11 15:59:44.564 26054-26113/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class io.invertase.firebase.admob.RNFirebaseAdMobNativeExpress
08-11 15:59:44.588 26054-26113/com.rnfirebasetest2 D/RNFirebaseAdMob: New instance
08-11 15:59:44.589 26054-26113/com.rnfirebasetest2 D/RNFirebaseAnalytics: New instance
08-11 15:59:44.589 26054-26113/com.rnfirebasetest2 D/RNFirebaseAuth: RNFirebaseAuth:initialized
08-11 15:59:44.590 26054-26113/com.rnfirebasetest2 D/RNFirebaseRemoteConfig: New instance
08-11 15:59:44.590 26054-26113/com.rnfirebasetest2 D/RNFirebaseCrash: New instance
08-11 15:59:44.601 26054-26113/com.rnfirebasetest2 D/RNFirebasePerformance: New instance
08-11 15:59:44.602 26054-26113/com.rnfirebasetest2 D/RNFirebaseStorage: New instance
08-11 15:59:44.604 26054-26113/com.rnfirebasetest2 D/ReactNative: Initializing React Xplat Bridge.
08-11 15:59:44.607 26054-26113/com.rnfirebasetest2 D/ReactNative: Initializing React Xplat Bridge before initializeBridge
08-11 15:59:44.627 26054-26113/com.rnfirebasetest2 D/ReactNative: Initializing React Xplat Bridge after initializeBridge
08-11 15:59:44.627 26054-26113/com.rnfirebasetest2 D/ReactNative: CatalystInstanceImpl.runJSBundle()
08-11 15:59:44.628 26054-26054/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.setupReactContext()
08-11 15:59:44.629 26054-26054/com.rnfirebasetest2 D/ReactNative: CatalystInstanceImpl.initialize()
08-11 15:59:44.629 26054-26054/com.rnfirebasetest2 W/unknown:ReactNative: Packager connection already open, nooping.
08-11 15:59:44.629 26054-26054/com.rnfirebasetest2 W/unknown:ReactNative: Inspector connection already open, nooping.
08-11 15:59:44.634 26054-26054/com.rnfirebasetest2 D/ReactNative: ReactInstanceManager.attachRootViewToInstance()
08-11 15:59:45.356 26054-26139/com.rnfirebasetest2 W/System: ClassLoader referenced unknown path: /system/app/webview/lib/arm
08-11 15:59:45.360 26054-26139/com.rnfirebasetest2 D/ApplicationLoaders: ignored Vulkan layer search path /system/app/webview/lib/arm:/system/app/webview/webview.apk!/lib/armeabi-v7a:/system/lib:/vendor/lib for namespace 0xb6ee40d0
08-11 15:59:45.364 26054-26139/com.rnfirebasetest2 I/WebViewFactory: Loading com.android.webview version 60.0.3112.78 (code 1)
08-11 15:59:45.423 26054-26139/com.rnfirebasetest2 I/cr_LibraryLoader: Time to load native libraries: 4 ms (timestamps 8636-8640)
08-11 15:59:45.432 26054-26139/com.rnfirebasetest2 I/chromium: [INFO:library_loader_hooks.cc(144)] Chromium logging enabled: level = 0, default verbosity = 0
08-11 15:59:45.433 26054-26139/com.rnfirebasetest2 I/cr_LibraryLoader: Expected native library version number "60.0.3112.78", actual native library version number "60.0.3112.78"
08-11 15:59:45.758 26054-26139/com.rnfirebasetest2 D/RNFirebaseAuth: addAuthStateListener
08-11 15:59:45.911 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: Running application "RNFirebaseTest2" with appParams: {"rootTag":1}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF
08-11 15:59:46.042 26054-26139/com.rnfirebasetest2 W/unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.ReactVirtualTextShadowNode
08-11 15:59:46.098 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cRNFirebase            |', 'color: hsl(222.4922359499622,99%,40%); font-weight: bold', '[debug]', 'creating Query ', '.info/serverTimeOffset', undefined
08-11 15:59:46.098 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cfirebase:db:ref       |', 'color: hsl(84.98447189992442,99%,40%); font-weight: bold', '[debug]', 'Created new Reference', 1, '.info/serverTimeOffset'
08-11 15:59:46.100 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cfirebase:db:ref       |', 'color: hsl(84.98447189992442,99%,40%); font-weight: bold', '[debug]', 'adding reference.on', 1, 'value'
08-11 15:59:46.100 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cfirebase:database     |', 'color: hsl(307.4767078498866,99%,40%); font-weight: bold', '[debug]', 'on() : ', 1, 1, 'value'
08-11 15:59:46.109 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cfirebase:database     |', 'color: hsl(307.4767078498866,99%,40%); font-weight: bold', '[debug]', 'Created new Database instance', undefined
08-11 15:59:46.113 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cRNFirebase            |', 'color: hsl(222.4922359499622,99%,40%); font-weight: bold', '[debug]', 'creating Query ', 'users/7xl2Rw8EI7N5A1qZCAtdwtWql752', undefined
08-11 15:59:46.114 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cfirebase:db:ref       |', 'color: hsl(84.98447189992442,99%,40%); font-weight: bold', '[debug]', 'Created new Reference', 2, 'users/7xl2Rw8EI7N5A1qZCAtdwtWql752'
08-11 15:59:46.114 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cfirebase:db:ref       |', 'color: hsl(84.98447189992442,99%,40%); font-weight: bold', '[debug]', 'adding reference.on', 2, 'value'
08-11 15:59:46.114 26054-26138/com.rnfirebasetest2 I/ReactNativeJS: '%cfirebase:database     |', 'color: hsl(307.4767078498866,99%,40%); font-weight: bold', '[debug]', 'on() : ', 2, 1, 'value'
08-11 15:59:46.123 26054-26139/com.rnfirebasetest2 I/DynamiteModule: Considering local module com.google.android.gms.firebase_database:4 and remote module com.google.android.gms.firebase_database:6
08-11 15:59:46.123 26054-26139/com.rnfirebasetest2 I/DynamiteModule: Selected remote version of com.google.android.gms.firebase_database, version >= 6
08-11 15:59:46.139 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Scheduling connection attempt
08-11 15:59:46.139 26054-26194/com.rnfirebasetest2 D/ConnectionRetryHelper: Scheduling retry in 0ms
08-11 15:59:46.141 26054-26139/com.rnfirebasetest2 D/RNFirebaseDBReference: Added ValueEventListener for refId: 1 listenerId: 1
08-11 15:59:46.143 26054-26139/com.rnfirebasetest2 D/RNFirebaseDBReference: Added ValueEventListener for refId: 2 listenerId: 1
08-11 15:59:46.148 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Trying to fetch auth token
08-11 15:59:46.164 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Listening on users/7xl2Rw8EI7N5A1qZCAtdwtWql752 (params: {})
08-11 15:59:46.164 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Adding listen query: users/7xl2Rw8EI7N5A1qZCAtdwtWql752 (params: {})
08-11 15:59:46.165 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-11 15:59:46.177 26054-26194/com.rnfirebasetest2 D/Connection: conn_0 - Opening a connection
08-11 15:59:56.342 26054-26642/com.rnfirebasetest2 I/FirebaseCrash: Sending crashes
08-11 16:00:16.178 26054-26194/com.rnfirebasetest2 D/WebSocket: ws_0 - timed out on connect
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/WebSocket: ws_0 - closed
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/WebSocket: ws_0 - closing itself
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/Connection: conn_0 - Realtime connection failed
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/Connection: conn_0 - closing realtime connection
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Scheduling connection attempt
08-11 16:00:16.180 26054-26194/com.rnfirebasetest2 D/ConnectionRetryHelper: Scheduling retry in 535ms
08-11 16:00:16.715 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Trying to fetch auth token
08-11 16:00:16.716 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-11 16:00:16.718 26054-26194/com.rnfirebasetest2 D/Connection: conn_1 - Opening a connection
chrisbianca commented 6 years ago

@alexkuttig It certainly looks like it's something inside the Firebase Android SDK that's causing the issue:

26054-26194/com.rnfirebasetest2 D/Connection: conn_0 - Opening a connection
08-11 15:59:56.342 26054-26642/com.rnfirebasetest2 I/FirebaseCrash: Sending crashes
08-11 16:00:16.178 26054-26194/com.rnfirebasetest2 D/WebSocket: ws_0 - timed out on connect
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/WebSocket: ws_0 - closed
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/WebSocket: ws_0 - closing itself
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/Connection: conn_0 - Realtime connection failed
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/Connection: conn_0 - closing realtime connection
08-11 16:00:16.179 26054-26194/com.rnfirebasetest2 D/PersistentConnection: pc_0 - Got on disconnect due to OTHER

A quick google search looks like there's lots of other people with a similar issue but no definitive solution:

https://github.com/firebase/quickstart-android/issues/55 https://groups.google.com/forum/#!topic/firebase-talk/kfq7FwPGzxc https://stackoverflow.com/questions/45522684/firebase-requests-never-complete-on-android

alexkuttig commented 6 years ago

Thank you! But that means I have to go with the WebSDK until the Firebase Team addresses this issue.

chrisbianca commented 6 years ago

@alexkuttig Have you raised it with the Firebase Team?

SahajRana commented 6 years ago

Hey, actually i too have the same issue with Android M 6.0 version. App is not able to read or write from firebase database. using 11.0.4


08-12 23:02:39.427 16278-16307/com.problembox.sahaj.problembox V/FA: Using measurement service
08-12 23:02:39.429 16278-16307/com.problembox.sahaj.problembox V/FA: Connecting to remote service
08-12 23:02:39.435 16278-16278/com.problembox.sahaj.problembox D/ActivityThread: BIND_APPLICATION handled : 0 / AppBindData{appInfo=ApplicationInfo{f7c4822 com.problembox.sahaj.problembox}}
08-12 23:02:39.435 16278-16278/com.problembox.sahaj.problembox V/ActivityThread: Handling launch of ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}} startsNotResumed=false
08-12 23:02:39.440 16278-16307/com.problembox.sahaj.problembox V/FA: Using measurement service
08-12 23:02:39.440 16278-16307/com.problembox.sahaj.problembox V/FA: Connection attempt already in progress
08-12 23:02:39.459 16278-16278/com.problembox.sahaj.problembox V/ActivityThread: ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}}: app=com.problembox.sahaj.problembox.App@23ac46e, appName=com.problembox.sahaj.problembox, pkg=com.problembox.sahaj.problembox, comp={com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}, dir=/data/app/com.problembox.sahaj.problembox-1/base.apk
08-12 23:02:39.491 16278-16278/com.problembox.sahaj.problembox W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
08-12 23:02:39.516 16278-16278/com.problembox.sahaj.problembox V/FA: onActivityCreated
08-12 23:02:39.526 16278-16278/com.problembox.sahaj.problembox E/MultiWindowProxy: getServiceInstance failed!
08-12 23:02:39.625 16278-16278/com.problembox.sahaj.problembox D/ActivityThread: holder:android.app.IActivityManager$ContentProviderHolder@dcfc50b, holder.provider:android.content.ContentProviderProxy@1026fe8
08-12 23:02:39.634 16278-16278/com.problembox.sahaj.problembox I/DynamiteModule: Considering local module com.google.android.gms.firebase_database:4 and remote module com.google.android.gms.firebase_database:6
08-12 23:02:39.634 16278-16278/com.problembox.sahaj.problembox I/DynamiteModule: Selected remote version of com.google.android.gms.firebase_database, version >= 6
08-12 23:02:39.642 16278-16288/com.problembox.sahaj.problembox I/System: FinalizerDaemon: finalize objects = 1
08-12 23:02:39.666 16278-16278/com.problembox.sahaj.problembox W/System: ClassLoader referenced unknown path: /data/data/com.google.android.gms/app_chimera/m/0000000a/n/armeabi-v7a
08-12 23:02:39.667 16278-16278/com.problembox.sahaj.problembox W/System: ClassLoader referenced unknown path: /data/data/com.google.android.gms/app_chimera/m/0000000a/n/armeabi
08-12 23:02:39.696 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:02:39.696 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 0ms
08-12 23:02:39.704 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:02:39.706 16278-16278/com.problembox.sahaj.problembox V/ActivityThread: Performing resume of ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}}
08-12 23:02:39.708 16278-16317/com.problembox.sahaj.problembox D/RepoOperation: set: /testforwrite
08-12 23:02:39.708 16278-16317/com.problembox.sahaj.problembox D/DataOperation: set: /testforwrite true
08-12 23:02:39.708 16278-16307/com.problembox.sahaj.problembox V/FA: Using measurement service
08-12 23:02:39.709 16278-16307/com.problembox.sahaj.problembox V/FA: Connection attempt already in progress
08-12 23:02:39.709 16278-16307/com.problembox.sahaj.problembox V/FA: Activity resumed, time: 8041448
08-12 23:02:39.711 16278-16278/com.problembox.sahaj.problembox D/ActivityThread: ACT-AM_ON_RESUME_CALLED ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}}
08-12 23:02:39.711 16278-16278/com.problembox.sahaj.problembox V/ActivityThread: Resume ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}} started activity: false, hideForNow: false, finished: false
08-12 23:02:39.711 16278-16278/com.problembox.sahaj.problembox V/PhoneWindow: DecorView setVisiblity: visibility = 4 ,Parent =null, this =com.android.internal.policy.PhoneWindow$DecorView{18552b I.E...... R.....ID 0,0-0,0}
08-12 23:02:39.712 16278-16317/com.problembox.sahaj.problembox D/RepoOperation: Aborting transactions for path: /testforwrite. Affected: /testforwrite
08-12 23:02:39.716 16278-16307/com.problembox.sahaj.problembox I/FA: Tag Manager is not found and thus will not be used
08-12 23:02:39.718 16278-16278/com.problembox.sahaj.problembox D/WindowClient: Add to mViews: com.android.internal.policy.PhoneWindow$DecorView{18552b I.E...... R.....ID 0,0-0,0}, this = android.view.WindowManagerGlobal@1315400
08-12 23:02:39.719 16278-16307/com.problembox.sahaj.problembox D/FA: Logging event (FE): screen_view(_vs), Bundle[{firebase_event_origin(_o)=auto, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=4019007788150823579}]
08-12 23:02:39.719 16278-16278/com.problembox.sahaj.problembox D/OpenGLRenderer: Dumper init 2 threads <0xb8108618>
08-12 23:02:39.719 16278-16278/com.problembox.sahaj.problembox D/OpenGLRenderer: <com.problembox.sahaj.problembox> is running.
08-12 23:02:39.724 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: false
08-12 23:02:39.724 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Listening on messages (params: {})
08-12 23:02:39.724 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: CanvasContext() 0xb81564d0
08-12 23:02:39.724 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Adding listen query: messages (params: {})
08-12 23:02:39.725 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:02:39.732 16278-16278/com.problembox.sahaj.problembox D/ViewRootImpl: hardware acceleration is enabled, this = ViewRoot{c948bdf com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity,ident = 0}
08-12 23:02:39.733 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_0 - Opening a connection
08-12 23:02:39.735 16278-16307/com.problembox.sahaj.problembox D/SQLiteDatabase: beginTransaction()
08-12 23:02:39.737 16278-16278/com.problembox.sahaj.problembox V/ActivityThread: Resuming ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}} with isForward=true
08-12 23:02:39.737 16278-16278/com.problembox.sahaj.problembox V/PhoneWindow: DecorView setVisiblity: visibility = 0 ,Parent =ViewRoot{c948bdf com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity,ident = 0}, this =com.android.internal.policy.PhoneWindow$DecorView{18552b V.E...... R.....ID 0,0-0,0}
08-12 23:02:39.738 16278-16278/com.problembox.sahaj.problembox V/ActivityThread: Scheduling idle handler for ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}}
08-12 23:02:39.738 16278-16321/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:02:39.738 16278-16278/com.problembox.sahaj.problembox D/ActivityThread: ACT-LAUNCH_ACTIVITY handled : 0 / ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}}
08-12 23:02:39.739 16278-16307/com.problembox.sahaj.problembox D/SQLiteDatabase: endTransaction()
08-12 23:02:39.739 16278-16321/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:02:39.739 16278-16321/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:02:39.739 16278-16321/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:02:39.740 16278-16321/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:02:39.740 16278-16317/com.problembox.sahaj.problembox D/EventRaiser: Raising 1 event(s)
08-12 23:02:39.745 16278-16321/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:02:39.746 16278-16321/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:02:39.746 16278-16321/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:02:39.765 16278-16307/com.problembox.sahaj.problembox V/FA: Using measurement service
08-12 23:02:39.765 16278-16307/com.problembox.sahaj.problembox V/FA: Connection attempt already in progress
08-12 23:02:39.780 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: CanvasContext() 0xb81564d0 initialize window=0xb8129f98, title=com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity
08-12 23:02:39.781 16278-16278/com.problembox.sahaj.problembox D/Surface: Surface::allocateBuffers(this=0xb8129f90)
08-12 23:02:39.787 16278-16320/com.problembox.sahaj.problembox I/OpenGLRenderer: Initialized EGL, version 1.4
08-12 23:02:39.792 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: Created EGL context (0xb81e12f8)
08-12 23:02:39.797 16278-16320/com.problembox.sahaj.problembox I/OpenGLRenderer: Get enable program binary service property (1)
08-12 23:02:39.797 16278-16320/com.problembox.sahaj.problembox I/OpenGLRenderer: Initializing program atlas...
08-12 23:02:39.797 16278-16320/com.problembox.sahaj.problembox D/ProgramBinary/Service: BpProgramBinaryService.getFileDescriptor
08-12 23:02:39.798 16278-16320/com.problembox.sahaj.problembox D/ProgramBinary/Service: BpProgramBinaryService.getProgramMapLen
08-12 23:02:39.798 16278-16320/com.problembox.sahaj.problembox D/ProgramBinary/Service: BpProgramBinaryService.getProgramMapArray
08-12 23:02:39.799 16278-16320/com.problembox.sahaj.problembox D/ProgramBinary/Service: BpProgramBinaryService.getProgramBinaryLen
08-12 23:02:39.799 16278-16320/com.problembox.sahaj.problembox I/OpenGLRenderer: Program binary detail: Binary length is 169616, program map length is 152.
08-12 23:02:39.799 16278-16320/com.problembox.sahaj.problembox I/OpenGLRenderer: Succeeded to mmap program binaries. File descriptor is 37, and path is /dev/ashmem�LGࡄxP�.
08-12 23:02:39.799 16278-16320/com.problembox.sahaj.problembox I/OpenGLRenderer: No need to use file discriptor anymore, close fd(37).
08-12 23:02:39.799 16278-16278/com.problembox.sahaj.problembox D/EventRaiser: Raising /.info/connected: VALUE: false
08-12 23:02:39.800 16278-16278/com.problembox.sahaj.problembox E/SahajLOGwq: ** INSIDE **
08-12 23:02:39.801 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: Initializing program cache from 0xb6cd403c, size = 3
08-12 23:02:39.806 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: -- init (key = 0x0000000000000000)
08-12 23:02:39.808 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: -- init (key = 0x0000000800000003)
08-12 23:02:39.810 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: -- init (key = 0x0000003800000000)
08-12 23:02:39.811 16278-16320/com.problembox.sahaj.problembox D/Surface: Surface::connect(this=0xb8129f90,api=1)
08-12 23:02:39.811 16278-16320/com.problembox.sahaj.problembox W/libEGL: [ANDROID_RECORDABLE] format: 1
08-12 23:02:39.813 16278-16320/com.problembox.sahaj.problembox D/mali_winsys: new_window_surface returns 0x3000
08-12 23:02:39.825 16278-16278/com.problembox.sahaj.problembox V/InputMethodManager: onWindowFocus: null softInputMode=288 first=true flags=#81810100
08-12 23:02:39.825 16278-16278/com.problembox.sahaj.problembox V/InputMethodManager: START INPUT: com.android.internal.policy.PhoneWindow$DecorView{18552b V.E...... R.....ID 0,0-720,1184} ic=null tba=android.view.inputmethod.EditorInfo@a5a318 controlFlags=#104
08-12 23:02:39.843 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: CacheTexture 1 upload: x, y, width height = 0, 0, 161, 253
08-12 23:02:39.854 16278-16320/com.problembox.sahaj.problembox I/[MALI][Gralloc]: [+]r_hnd(0xb8283168), client(40), share_fd(39)
08-12 23:02:39.854 16278-16320/com.problembox.sahaj.problembox D/GraphicBuffer: register, handle(0xb8283168) (w:720 h:1184 s:720 f:0x1 u:0x000b00)
08-12 23:02:39.861 16278-16320/com.problembox.sahaj.problembox D/OpenGLRenderer: ProgramCache save to disk, size = 3
08-12 23:02:39.867 16278-16307/com.problembox.sahaj.problembox D/FA: Connected to remote service
08-12 23:02:39.867 16278-16307/com.problembox.sahaj.problembox V/FA: Processing queued up service tasks: 4
08-12 23:02:39.871 16278-16307/com.problembox.sahaj.problembox D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
08-12 23:02:39.887 16278-16307/com.problembox.sahaj.problembox D/SQLiteDatabase: beginTransaction()
08-12 23:02:39.890 16278-16307/com.problembox.sahaj.problembox D/SQLiteDatabase: endTransaction()
08-12 23:02:39.914 16278-16307/com.problembox.sahaj.problembox D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
08-12 23:02:39.920 16278-16307/com.problembox.sahaj.problembox D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object
08-12 23:02:39.979 16278-16307/com.problembox.sahaj.problembox D/SQLiteDatabase: beginTransaction()
08-12 23:02:39.980 16278-16307/com.problembox.sahaj.problembox D/SQLiteDatabase: endTransaction()
08-12 23:02:44.987 16278-16307/com.problembox.sahaj.problembox V/FA: Inactivity, disconnecting from the service
08-12 23:03:09.735 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_0 - timed out on connect
08-12 23:03:09.739 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_0 - closed
08-12 23:03:09.741 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_0 - closing itself
08-12 23:03:09.741 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_0 - Realtime connection failed
08-12 23:03:09.761 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_0 - closing realtime connection
08-12 23:03:09.761 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:03:09.762 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:03:09.762 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 549ms
08-12 23:03:09.784 16278-16288/com.problembox.sahaj.problembox I/System: FinalizerDaemon: finalize objects = 86
08-12 23:03:10.312 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:03:10.314 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:03:10.315 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_1 - Opening a connection
08-12 23:03:10.319 16278-17594/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:03:10.320 16278-17594/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:03:10.320 16278-17594/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:03:10.322 16278-17594/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:03:10.322 16278-17594/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:03:10.331 16278-17594/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:03:10.331 16278-17594/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:03:10.332 16278-17594/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:03:40.317 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_1 - timed out on connect
08-12 23:03:40.317 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_1 - closed
08-12 23:03:40.317 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_1 - closing itself
08-12 23:03:40.317 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_1 - Realtime connection failed
08-12 23:03:40.317 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_1 - closing realtime connection
08-12 23:03:40.317 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:03:40.318 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:03:40.318 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 590ms
08-12 23:03:40.908 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:03:40.909 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:03:40.910 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_2 - Opening a connection
08-12 23:03:40.911 16278-18426/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:03:40.913 16278-18426/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:03:40.913 16278-18426/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:03:40.915 16278-18426/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:03:40.915 16278-18426/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:03:40.924 16278-18426/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:03:40.925 16278-18426/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:03:40.925 16278-18426/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:04:10.911 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_2 - timed out on connect
08-12 23:04:10.911 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_2 - closed
08-12 23:04:10.911 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_2 - closing itself
08-12 23:04:10.911 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_2 - Realtime connection failed
08-12 23:04:10.911 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_2 - closing realtime connection
08-12 23:04:10.911 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:04:10.911 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:04:10.911 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 1037ms
08-12 23:04:11.949 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:04:11.951 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:04:11.952 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_3 - Opening a connection
08-12 23:04:11.959 16278-19200/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:04:11.959 16278-19200/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:04:11.960 16278-19200/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:04:11.960 16278-19200/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:04:11.961 16278-19200/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:04:11.973 16278-19200/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:04:11.974 16278-19200/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:04:11.974 16278-19200/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:04:41.954 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_3 - timed out on connect
08-12 23:04:41.954 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_3 - closed
08-12 23:04:41.954 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_3 - closing itself
08-12 23:04:41.954 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_3 - Realtime connection failed
08-12 23:04:41.954 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_3 - closing realtime connection
08-12 23:04:41.954 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:04:41.954 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:04:41.955 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 1572ms
08-12 23:04:43.527 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:04:43.529 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:04:43.531 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_4 - Opening a connection
08-12 23:04:43.534 16278-19972/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:04:43.535 16278-19972/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:04:43.535 16278-19972/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:04:43.536 16278-19972/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:04:43.537 16278-19972/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:04:43.549 16278-19972/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:04:43.551 16278-19972/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:04:43.552 16278-19972/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:05:13.532 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_4 - timed out on connect
08-12 23:05:13.533 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_4 - closed
08-12 23:05:13.533 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_4 - closing itself
08-12 23:05:13.533 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_4 - Realtime connection failed
08-12 23:05:13.533 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_4 - closing realtime connection
08-12 23:05:13.533 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:05:13.533 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:05:13.533 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 2081ms
08-12 23:05:15.615 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:05:15.617 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:05:15.631 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_5 - Opening a connection
08-12 23:05:15.634 16278-20764/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:05:15.635 16278-20764/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:05:15.636 16278-20764/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:05:15.637 16278-20764/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:05:15.637 16278-20764/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:05:15.645 16278-20764/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:05:15.646 16278-20764/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:05:15.646 16278-20764/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:05:45.633 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_5 - timed out on connect
08-12 23:05:45.633 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_5 - closed
08-12 23:05:45.633 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_5 - closing itself
08-12 23:05:45.633 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_5 - Realtime connection failed
08-12 23:05:45.633 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_5 - closing realtime connection
08-12 23:05:45.634 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:05:45.634 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:05:45.634 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 2541ms
08-12 23:05:48.175 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:05:48.176 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:05:48.177 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_6 - Opening a connection
08-12 23:05:48.178 16278-21590/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:05:48.179 16278-21590/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:05:48.179 16278-21590/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:05:48.180 16278-21590/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:05:48.180 16278-21590/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:05:48.184 16278-21590/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:05:48.185 16278-21590/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:05:48.185 16278-21590/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:06:18.177 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_6 - timed out on connect
08-12 23:06:18.178 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_6 - closed
08-12 23:06:18.178 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_6 - closing itself
08-12 23:06:18.178 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_6 - Realtime connection failed
08-12 23:06:18.178 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_6 - closing realtime connection
08-12 23:06:18.178 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:06:18.178 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:06:18.179 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 2906ms
08-12 23:06:21.085 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:06:21.086 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:06:21.086 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_7 - Opening a connection
08-12 23:06:21.088 16278-22373/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:06:21.088 16278-22373/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:06:21.088 16278-22373/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:06:21.089 16278-22373/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:06:21.089 16278-22373/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:06:21.093 16278-22373/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:06:21.094 16278-22373/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:06:21.094 16278-22373/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:06:51.087 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_7 - timed out on connect
08-12 23:06:51.088 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_7 - closed
08-12 23:06:51.088 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_7 - closing itself
08-12 23:06:51.088 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_7 - Realtime connection failed
08-12 23:06:51.088 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_7 - closing realtime connection
08-12 23:06:51.088 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:06:51.088 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:06:51.088 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 3289ms
08-12 23:06:54.378 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:06:54.379 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:06:54.379 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_8 - Opening a connection
08-12 23:06:54.380 16278-23197/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:06:54.381 16278-23197/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:06:54.381 16278-23197/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:06:54.381 16278-23197/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:06:54.381 16278-23197/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:06:54.386 16278-23197/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:06:54.386 16278-23197/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:06:54.386 16278-23197/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:07:24.380 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_8 - timed out on connect
08-12 23:07:24.380 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_8 - closed
08-12 23:07:24.380 16278-16317/com.problembox.sahaj.problembox D/WebSocket: ws_8 - closing itself
08-12 23:07:24.381 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_8 - Realtime connection failed
08-12 23:07:24.381 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_8 - closing realtime connection
08-12 23:07:24.381 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Got on disconnect due to OTHER
08-12 23:07:24.381 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Scheduling connection attempt
08-12 23:07:24.381 16278-16317/com.problembox.sahaj.problembox D/ConnectionRetryHelper: Scheduling retry in 6819ms
08-12 23:07:31.200 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Trying to fetch auth token
08-12 23:07:31.201 16278-16317/com.problembox.sahaj.problembox D/PersistentConnection: pc_0 - Successfully fetched token, opening connection
08-12 23:07:31.202 16278-16317/com.problembox.sahaj.problembox D/Connection: conn_9 - Opening a connection
08-12 23:07:31.203 16278-24085/com.problembox.sahaj.problembox I/System.out: [CDS][DNS] getAllByNameImpl netId = 0
08-12 23:07:31.204 16278-24085/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:07:31.204 16278-24085/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=4; ai_family=0
08-12 23:07:31.204 16278-24085/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: hostname=rootssahaj.firebaseio.com; servname=(null); netid=0; mark=0
08-12 23:07:31.204 16278-24085/com.problembox.sahaj.problembox D/libc-netbsd: [getaddrinfo]: ai_addrlen=0; ai_canonname=(null); ai_flags=1024; ai_family=0
08-12 23:07:31.211 16278-24085/com.problembox.sahaj.problembox D/libc-netbsd: getaddrinfo: rootssahaj.firebaseio.com get result from proxy gai_error = 0
08-12 23:07:31.212 16278-24085/com.problembox.sahaj.problembox I/System.out: [CDS]connect[rootssahaj.firebaseio.com/2600:1901:0:94b6:::443]
08-12 23:07:31.212 16278-24085/com.problembox.sahaj.problembox D/Posix: [Posix_connect Debug]Process com.problembox.sahaj.problembox :443 
08-12 23:07:38.919 16278-16278/com.problembox.sahaj.problembox V/InputMethodManager: START INPUT: com.android.internal.policy.PhoneWindow$DecorView{18552b V.E...... R....... 0,0-720,1184} ic=null tba=android.view.inputmethod.EditorInfo@59b703a controlFlags=#100
08-12 23:07:38.976 16278-16278/com.problembox.sahaj.problembox D/ActivityThread: ACT-AM_ON_PAUSE_CALLED ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}}
08-12 23:07:38.998 16278-24333/com.problembox.sahaj.problembox V/FA: Recording user engagement, ms: 299289
08-12 23:07:38.999 16278-24333/com.problembox.sahaj.problembox V/FA: Using measurement service
08-12 23:07:38.999 16278-24333/com.problembox.sahaj.problembox V/FA: Connecting to remote service
08-12 23:07:39.021 16278-24333/com.problembox.sahaj.problembox V/FA: Activity paused, time: 8340716
08-12 23:07:39.027 16278-24333/com.problembox.sahaj.problembox D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=299289, firebase_screen_class(_sc)=MainActivity, firebase_screen_id(_si)=4019007788150823579}]
08-12 23:07:39.054 16278-24333/com.problembox.sahaj.problembox D/SQLiteDatabase: beginTransaction()
08-12 23:07:39.062 16278-16278/com.problembox.sahaj.problembox D/ActivityThread: ACT-PAUSE_ACTIVITY handled : 0 / android.os.BinderProxy@abe2070
08-12 23:07:39.065 16278-24333/com.problembox.sahaj.problembox D/SQLiteDatabase: endTransaction()
08-12 23:07:39.123 16278-16278/com.problembox.sahaj.problembox V/ActivityThread: Finishing stop of ActivityRecord{23142b3 token=android.os.BinderProxy@abe2070 {com.problembox.sahaj.problembox/com.problembox.sahaj.problembox.MainActivity}}: show=true win=com.android.internal.policy.PhoneWindow@dbea4c7
08-12 23:07:39.126 16278-24333/com.problembox.sahaj.problembox V/FA: Using measurement service
08-12 23:07:39.126 16278-24333/com.problembox.sahaj.problembox V/FA: Connection attempt already in progress
08-12 23:07:39.201 16278-16278/com.problembox.sahaj.problembox D/ActivityThread: ACT-STOP_ACTIVITY_SHOW handled : 0 / android.os.BinderProxy@abe2070
08-12 23:07:39.203 16278-24333/com.problembox.sahaj.problembox D/FA: Connected to remote service
08-12 23:07:39.203 16278-24333/com.problembox.sahaj.problembox V/FA: Processing queued up service tasks: 2
08-12 23:07:39.212 16278-24333/com.problembox.sahaj.problembox D/SQLiteDatabase: beginTransaction()
08-12 23:07:39.215 16278-24333/com.problembox.sahaj.problembox D/SQLiteDatabase: endTransaction()````
brendanscarano commented 6 years ago

Having the same issue too, on an iPhone 7. "react": "16.0.0-alpha.12", "react-native": "0.47.1", "react-native-firebase": "^2.1.2",

chrisbianca commented 6 years ago

I'm going to close this as the number of reports seem to have dropped off. It's out of our control as it's an issue with the native SDK itself - if you come across this issue, I would suggest you contact Firebase directly to resolve.