AndreiD / SimpleChat

The best room chat system for Android. Real-time, IRC Style using firebase as database.
101 stars 46 forks source link

Nothing happens as loader always loading on screen #3

Open waqarmalik90 opened 6 years ago

waqarmalik90 commented 6 years ago

12-07 10:23:52.307 6675-7031/com.androidadvance.simplechat W/SyncTree: Listen at /users/75a77100fac8d357 failed: DatabaseError: Permission denied 12-07 10:23:52.330 6675-7031/com.androidadvance.simplechat W/SyncTree: Listen at /the_messages failed: DatabaseError: Permission denied 12-07 10:23:52.361 6675-6675/com.androidadvance.simplechat W/!!!: username:onCancelled com.google.firebase.database.DatabaseException: Firebase Database error: Permission denied at com.google.firebase.database.DatabaseError.toException(Unknown Source) at com.androidadvance.simplechat.MainActivity$4.onCancelled(MainActivity.java:157) at com.google.firebase.database.zzp.onCancelled(Unknown Source) at com.google.android.gms.internal.yk.zza(Unknown Source) at com.google.android.gms.internal.aad.zzIo(Unknown Source) at com.google.android.gms.internal.aal.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6692) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)

yogabayusavira commented 5 years ago

No one could understand this.

rajam1215 commented 5 years ago

12-07 10:23:52.307 6675-7031/com.androidadvance.simplechat W/SyncTree: Listen at /users/75a77100fac8d357 failed: DatabaseError: Permission denied 12-07 10:23:52.330 6675-7031/com.androidadvance.simplechat W/SyncTree: Listen at /the_messages failed: DatabaseError: Permission denied 12-07 10:23:52.361 6675-6675/com.androidadvance.simplechat W/!!!: username:onCancelled com.google.firebase.database.DatabaseException: Firebase Database error: Permission denied at com.google.firebase.database.DatabaseError.toException(Unknown Source) at com.androidadvance.simplechat.MainActivity$4.onCancelled(MainActivity.java:157) at com.google.firebase.database.zzp.onCancelled(Unknown Source) at com.google.android.gms.internal.yk.zza(Unknown Source) at com.google.android.gms.internal.aad.zzIo(Unknown Source) at com.google.android.gms.internal.aal.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6692) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)

Please update rules in database panel of firebase (false to true)

Thanks

girlswhocodebulgaria commented 5 years ago

it's been years since I worked on this. If you want a prettier error handling kindly please summit a pull request

On Mon, Aug 26, 2019, 10:12 BishalMalick notifications@github.com wrote:

12-07 10:23:52.307 6675-7031/com.androidadvance.simplechat W/SyncTree: Listen at /users/75a77100fac8d357 failed: DatabaseError: Permission denied 12-07 10:23:52.330 6675-7031/com.androidadvance.simplechat W/SyncTree: Listen at /the_messages failed: DatabaseError: Permission denied 12-07 10:23:52.361 6675-6675/com.androidadvance.simplechat W/!!!: username:onCancelled com.google.firebase.database.DatabaseException: Firebase Database error: Permission denied at com.google.firebase.database.DatabaseError.toException(Unknown Source) at com.androidadvance.simplechat.MainActivity$4.onCancelled(MainActivity.java:157) at com.google.firebase.database.zzp.onCancelled(Unknown Source) at com.google.android.gms.internal.yk.zza(Unknown Source) at com.google.android.gms.internal.aad.zzIo(Unknown Source) at com.google.android.gms.internal.aal.run(Unknown Source) at android.os.Handler.handleCallback(Handler.java:751) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:154) at android.app.ActivityThread.main(ActivityThread.java:6692) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)

Please update rules in database panel of firebase (false to true)

Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AndreiD/SimpleChat/issues/3?email_source=notifications&email_token=AE7PTRZ4RLSQFLTTPDBZSMLQGN66BA5CNFSM4EHEB7BKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5DPWPA#issuecomment-524745532, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7PTR4GAS6CIESI7MU3GOTQGN66BANCNFSM4EHEB7BA .