ConnectyCube / android-messenger-app

Chat and voice / video calling app using ConnectyCube
https://connectycube.com
Apache License 2.0
51 stars 23 forks source link

There are no such users in the application. #59

Closed hoanghoa12345 closed 4 years ago

hoanghoa12345 commented 4 years ago

I followed the instructions to add users to the file "app/src/main/assets/user_configiration.json". But when I clicked on the username, only the first two users can login, the next one got this error: "There are no such users in the application."

TatankaConCube commented 4 years ago

hello @hoanghoa12345, sorry for long time of answer. Are you sure you set correct uses data to user_configiration.json file? Please check logins, ids and passwords for your users. Note: you should create users in admin panel with same data before. Additionally to better understanding your issue, please provide us full log from app starting to getting this issue.

hoanghoa12345 commented 4 years ago

I tried adding other users and still can't log in. I am sure the user_configiration.json file has been properly configured and previously the user was added to the admin page.

What other errors prevent me from adding new users?

TatankaConCube commented 4 years ago

one more check - did you tick checkboxes in admin panel to provide possibility of loading users via API. Go to Admin panel -> Users -> Settings and check this.

hoanghoa12345 commented 4 years ago

hello @TatankaConCube , I checked both options in user settings. These are all logs of the application: 2020-06-15 10:29:01.905 8881-8881/? E/Zygote: isWhitelistProcess - Process is Whitelisted 2020-06-15 10:29:01.911 8881-8881/? E/Zygote: accessInfo : 1 2020-06-15 10:29:01.924 8881-8881/? I/.hoadev.nhanti: Late-enabling -Xcheck:jni 2020-06-15 10:29:01.993 8881-8881/? I/.hoadev.nhanti: report jit thread pid = 8888 2020-06-15 10:29:04.535 8881-8912/com.hoadev.nhantin I/DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:14 and remote module com.google.android.gms.measurement.dynamite:0 2020-06-15 10:29:04.535 8881-8912/com.hoadev.nhantin I/DynamiteModule: Selected local version of com.google.android.gms.measurement.dynamite 2020-06-15 10:29:04.564 8881-8912/com.hoadev.nhantin W/.hoadev.nhanti: Unsupported class loader 2020-06-15 10:29:04.570 8881-8912/com.hoadev.nhantin W/.hoadev.nhanti: Skipping duplicate class check due to unsupported classloader 2020-06-15 10:29:04.614 8881-8881/com.hoadev.nhantin I/FirebaseInitProvider: FirebaseApp initialization successful 2020-06-15 10:29:04.852 8881-8922/com.hoadev.nhantin V/FA: App measurement collection enabled 2020-06-15 10:29:04.866 8881-8922/com.hoadev.nhantin V/FA: App measurement enabled for app package, google app id: com.hoadev.nhantin, 1:1089935756870:android:28299f967145e8e5a9c447 2020-06-15 10:29:04.875 8881-8922/com.hoadev.nhantin I/FA: App measurement initialized, version: 29000 2020-06-15 10:29:04.876 8881-8922/com.hoadev.nhantin I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE 2020-06-15 10:29:04.876 8881-8922/com.hoadev.nhantin I/FA: To enable faster debug mode event logging run: adb shell setprop debug.firebase.analytics.app com.hoadev.nhantin 2020-06-15 10:29:04.877 8881-8922/com.hoadev.nhantin D/FA: Debug-level message logging enabled 2020-06-15 10:29:04.926 8881-8881/com.hoadev.nhantin D/CB-SDK: Restored custom endpoints. ApiEndpoint: https://api.connectycube.com, ChatEndpoint: chat.connectycube.com. lastUpdateTime: Mon Jun 15 10:05:46 GMT+07:00 2020 2020-06-15 10:29:04.930 8881-8881/com.hoadev.nhantin D/CB-SDK: DEVICE_ID = ffffffff-9d06-4dc4-ffff-ffffef05ac4a 2020-06-15 10:29:04.945 8881-8881/com.hoadev.nhantin D/CB-SDK: creating app secured preferences 2020-06-15 10:29:05.052 8881-8922/com.hoadev.nhantin V/FA: Connecting to remote service 2020-06-15 10:29:05.121 8881-8922/com.hoadev.nhantin V/FA: Connection attempt already in progress 2020-06-15 10:29:07.007 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden method Landroid/graphics/drawable/Drawable;->getOpticalInsets()Landroid/graphics/Insets; (light greylist, linking) 2020-06-15 10:29:07.007 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden field Landroid/graphics/Insets;->left:I (light greylist, linking) 2020-06-15 10:29:07.007 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden field Landroid/graphics/Insets;->right:I (light greylist, linking) 2020-06-15 10:29:07.007 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden field Landroid/graphics/Insets;->top:I (light greylist, linking) 2020-06-15 10:29:07.007 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden field Landroid/graphics/Insets;->bottom:I (light greylist, linking) 2020-06-15 10:29:07.013 8881-8881/com.hoadev.nhantin D/OpenGLRenderer: Skia GL Pipeline 2020-06-15 10:29:07.036 8881-8912/com.hoadev.nhantin V/FA: onActivityCreated 2020-06-15 10:29:07.065 8881-8881/com.hoadev.nhantin I/DecorView: mWindow.mActivityCurrentConfig is null. 2020-06-15 10:29:07.072 8881-8881/com.hoadev.nhantin I/DecorView: createDecorCaptionView >> DecorView@858de48[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true 2020-06-15 10:29:07.136 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden method Landroid/view/View;->getAccessibilityDelegate()Landroid/view/View$AccessibilityDelegate; (light greylist, linking) 2020-06-15 10:29:07.159 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (light greylist, reflection) 2020-06-15 10:29:07.162 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (light greylist, reflection) 2020-06-15 10:29:07.350 8881-8881/com.hoadev.nhantin D/skia: approximate: numPoints=40, lengths[0]=0.000000, totalLength=620.200073, segmentPoints[0]=[-197.600006,0.000000] 2020-06-15 10:29:07.350 8881-8881/com.hoadev.nhantin D/skia: approximate: approximation[0]=0.000000, approximation[1]=-197.600006, approximation[2]=0.000000 2020-06-15 10:29:07.350 8881-8881/com.hoadev.nhantin D/skia: approximate: numPoints=40, lengths[39]=620.200073, totalLength=620.200073, segmentPoints[39]=[422.600037,0.000000] 2020-06-15 10:29:07.350 8881-8881/com.hoadev.nhantin D/skia: approximate: approximation[117]=1.000000, approximation[118]=422.600037, approximation[119]=0.000000 2020-06-15 10:29:07.353 8881-8881/com.hoadev.nhantin D/skia: approximate: numPoints=4, lengths[0]=0.000000, totalLength=3.448155, segmentPoints[0]=[0.000000,0.100000] 2020-06-15 10:29:07.353 8881-8881/com.hoadev.nhantin D/skia: approximate: approximation[0]=0.000000, approximation[1]=0.000000, approximation[2]=0.100000 2020-06-15 10:29:07.353 8881-8881/com.hoadev.nhantin D/skia: approximate: numPoints=4, lengths[3]=3.448155, totalLength=3.448155, segmentPoints[3]=[3.000000,0.100000] 2020-06-15 10:29:07.353 8881-8881/com.hoadev.nhantin D/skia: approximate: approximation[9]=1.000000, approximation[10]=3.000000, approximation[11]=0.100000 2020-06-15 10:29:07.359 8881-8881/com.hoadev.nhantin D/skia: approximate: numPoints=37, lengths[0]=0.000000, totalLength=722.199951, segmentPoints[0]=[-522.599976,0.000000] 2020-06-15 10:29:07.359 8881-8881/com.hoadev.nhantin D/skia: approximate: approximation[0]=0.000000, approximation[1]=-522.599976, approximation[2]=0.000000 2020-06-15 10:29:07.360 8881-8881/com.hoadev.nhantin D/skia: approximate: numPoints=37, lengths[36]=722.199951, totalLength=722.199951, segmentPoints[36]=[199.600006,0.000000] 2020-06-15 10:29:07.360 8881-8881/com.hoadev.nhantin D/skia: approximate: approximation[108]=1.000000, approximation[109]=199.600006, approximation[110]=0.000000 2020-06-15 10:29:07.362 8881-8881/com.hoadev.nhantin D/skia: approximate: numPoints=3, lengths[0]=0.000000, totalLength=2.472497, segmentPoints[0]=[0.000000,0.100000] 2020-06-15 10:29:07.362 8881-8881/com.hoadev.nhantin D/skia: approximate: approximation[0]=0.000000, approximation[1]=0.000000, approximation[2]=0.100000 2020-06-15 10:29:07.363 8881-8881/com.hoadev.nhantin D/skia: approximate: numPoints=3, lengths[2]=2.472497, totalLength=2.472497, segmentPoints[2]=[2.000000,0.100000] 2020-06-15 10:29:07.363 8881-8881/com.hoadev.nhantin D/skia: approximate: approximation[6]=1.000000, approximation[7]=2.000000, approximation[8]=0.100000 2020-06-15 10:29:07.411 8881-8881/com.hoadev.nhantin W/.hoadev.nhanti: Accessing hidden method Landroid/widget/TextView;->getTextDirectionHeuristic()Landroid/text/TextDirectionHeuristic; (light greylist, linking) 2020-06-15 10:29:07.499 8881-8922/com.hoadev.nhantin V/FA: Activity resumed, time: 2218315173 2020-06-15 10:29:07.508 8881-8881/com.hoadev.nhantin D/EmergencyMode: [EmergencyManager] android createPackageContext successful 2020-06-15 10:29:07.542 8881-8881/com.hoadev.nhantin D/InputTransport: Input channel constructed: fd=73 2020-06-15 10:29:07.544 8881-8881/com.hoadev.nhantin D/ViewRootImpl@74b7f97[LoginActivity]: setView = DecorView@858de48[LoginActivity] TM=true MM=false 2020-06-15 10:29:07.572 8881-8922/com.hoadev.nhantin I/FA: Tag Manager is not found and thus will not be used 2020-06-15 10:29:07.686 8881-8922/com.hoadev.nhantin V/FA: Connection attempt already in progress 2020-06-15 10:29:07.693 8881-8922/com.hoadev.nhantin V/FA: Connection attempt already in progress 2020-06-15 10:29:07.772 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:07.804 8881-8881/com.hoadev.nhantin D/ViewRootImpl@74b7f97[LoginActivity]: Relayout returned: old=[0,0][720,1480] new=[0,0][720,1480] result=0x7 surface={true 2361012224} changed=true 2020-06-15 10:29:07.810 8881-8936/com.hoadev.nhantin I/Adreno: QUALCOMM build : e6de3b7, I22091d40c2 Build Date : 08/07/19 OpenGL ES Shader Compiler Version: EV031.25.03.03 Local Branch : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.7.5.R1.09.00.00.464.040 Remote Branch : NONE Reconstruct Branch : NOTHING 2020-06-15 10:29:07.810 8881-8936/com.hoadev.nhantin I/Adreno: Build Config : S L 6.0.7 AArch32 2020-06-15 10:29:07.819 8881-8936/com.hoadev.nhantin I/Adreno: PFP: 0x003ff016, ME: 0x003ff041 2020-06-15 10:29:07.830 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:07.833 8881-8936/com.hoadev.nhantin I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 2020-06-15 10:29:07.833 8881-8936/com.hoadev.nhantin I/ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 2020-06-15 10:29:07.834 8881-8936/com.hoadev.nhantin I/OpenGLRenderer: Initialized EGL, version 1.4 2020-06-15 10:29:07.834 8881-8936/com.hoadev.nhantin D/OpenGLRenderer: Swap behavior 2 2020-06-15 10:29:07.850 8881-8936/com.hoadev.nhantin D/OpenGLRenderer: eglCreateWindowSurface = 0x9b730a60, 0x8cba3008 2020-06-15 10:29:07.866 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:07.902 8881-8881/com.hoadev.nhantin I/chatty: uid=11039(com.hoadev.nhantin) identical 1 line 2020-06-15 10:29:07.922 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:07.964 8881-8881/com.hoadev.nhantin D/ViewRootImpl@74b7f97[LoginActivity]: MSG_RESIZED: frame=[0,0][720,1480] ci=[0,42][0,0] vi=[0,42][0,0] or=1 2020-06-15 10:29:07.965 8881-8881/com.hoadev.nhantin D/ViewRootImpl@74b7f97[LoginActivity]: MSG_WINDOW_FOCUS_CHANGED 1 1 2020-06-15 10:29:07.966 8881-8881/com.hoadev.nhantin D/InputMethodManager: prepareNavigationBarInfo() DecorView@858de48[LoginActivity] 2020-06-15 10:29:07.966 8881-8881/com.hoadev.nhantin D/InputMethodManager: getNavigationBarColor() -855310 2020-06-15 10:29:07.980 8881-8881/com.hoadev.nhantin D/InputMethodManager: prepareNavigationBarInfo() DecorView@858de48[LoginActivity] 2020-06-15 10:29:07.980 8881-8881/com.hoadev.nhantin D/InputMethodManager: getNavigationBarColor() -855310 2020-06-15 10:29:07.981 8881-8881/com.hoadev.nhantin V/InputMethodManager: Starting input: tba=com.hoadev.nhantin ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false 2020-06-15 10:29:07.981 8881-8881/com.hoadev.nhantin D/InputMethodManager: startInputInner - Id : 0 2020-06-15 10:29:07.981 8881-8881/com.hoadev.nhantin I/InputMethodManager: startInputInner - mService.startInputOrWindowGainedFocus 2020-06-15 10:29:08.029 8881-8896/com.hoadev.nhantin D/InputTransport: Input channel constructed: fd=79 2020-06-15 10:29:08.029 8881-8922/com.hoadev.nhantin D/FA: Connected to remote service 2020-06-15 10:29:08.033 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.035 8881-8922/com.hoadev.nhantin V/FA: Processing queued up service tasks: 4 2020-06-15 10:29:08.051 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.065 8881-8881/com.hoadev.nhantin D/InputMethodManager: prepareNavigationBarInfo() DecorView@858de48[LoginActivity] 2020-06-15 10:29:08.065 8881-8881/com.hoadev.nhantin D/InputMethodManager: getNavigationBarColor() -855310 2020-06-15 10:29:08.069 8881-8881/com.hoadev.nhantin V/InputMethodManager: Starting input: tba=com.hoadev.nhantin ic=null mNaviBarColor -855310 mIsGetNaviBarColorSuccess true , NavVisible : true , NavTrans : false 2020-06-15 10:29:08.083 8881-8881/com.hoadev.nhantin D/InputMethodManager: startInputInner - Id : 0 2020-06-15 10:29:08.099 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.136 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.180 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.214 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.239 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.261 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.281 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.301 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.323 8881-8881/com.hoadev.nhantin I/chatty: uid=11039(com.hoadev.nhantin) identical 1 line 2020-06-15 10:29:08.346 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.374 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:08.394 8881-8881/com.hoadev.nhantin D/AbsListView: in onLayout changed 2020-06-15 10:29:13.339 8881-8922/com.hoadev.nhantin V/FA: Inactivity, disconnecting from the service 2020-06-15 10:29:20.965 8881-8881/com.hoadev.nhantin D/ViewRootImpl@74b7f97[LoginActivity]: ViewPostIme pointer 0 2020-06-15 10:29:21.011 8881-8881/com.hoadev.nhantin D/ViewRootImpl@74b7f97[LoginActivity]: ViewPostIme pointer 1 2020-06-15 10:29:21.012 8881-8881/com.hoadev.nhantin D/AbsListView: onTouchUp() mTouchMode : 0 2020-06-15 10:29:21.114 8881-8881/com.hoadev.nhantin D/LoginActivity: called loginTo user = ConnectycubeUser{id=null, createdAt=null, updatedAt=null, fullName='null', email='null', login='user1', phone='null', website='null', lastRequestAt='null', externalId=null, facebookId=null, twitterId=null, blobId=null, tags='null', password='4QKHfj5yvDaY6e', oldPassword='null', customData='null', avatar='null'} 2020-06-15 10:29:21.126 8881-8881/com.hoadev.nhantin D/AppDatabase$Companion: buildDatabase start 2020-06-15 10:29:21.186 8881-8881/com.hoadev.nhantin D/ViewRootImpl@74b7f97[LoginActivity]: Relayout returned: old=[0,0][720,1480] new=[0,0][720,1480] result=0x1 surface={true 2361012224} changed=false 2020-06-15 10:29:21.464 8881-8881/com.hoadev.nhantin D/ViewRootImpl@74b7f97[LoginActivity]: Relayout returned: old=[0,0][720,1480] new=[0,0][720,1480] result=0x1 surface={true 2361012224} changed=false 2020-06-15 10:29:21.504 8881-8881/com.hoadev.nhantin D/InputTransport: Input channel constructed: fd=90 2020-06-15 10:29:21.508 8881-8881/com.hoadev.nhantin D/ViewRootImpl@d0c07e0[Toast]: setView = android.widget.LinearLayout{fc5ca99 V.E...... ......I. 0,0-0,0} TM=true MM=false 2020-06-15 10:29:21.508 8881-8881/com.hoadev.nhantin V/Toast: Text: Uher in android.widget.Toast$TN@648115e 2020-06-15 10:29:21.549 8881-8881/com.hoadev.nhantin D/ViewRootImpl@d0c07e0[Toast]: Relayout returned: old=[0,42][720,1480] new=[61,1291][659,1368] result=0x7 surface={true 2366427136} changed=true 2020-06-15 10:29:21.553 8881-8936/com.hoadev.nhantin D/OpenGLRenderer: eglCreateWindowSurface = 0x8d055e60, 0x8d0cd008 2020-06-15 10:29:21.579 8881-8881/com.hoadev.nhantin D/ViewRootImpl@d0c07e0[Toast]: MSG_RESIZED: frame=[61,1291][659,1368] ci=[0,0][0,0] vi=[0,0][0,0] or=1 2020-06-15 10:29:23.394 8881-8936/com.hoadev.nhantin D/OpenGLRenderer: eglDestroySurface = 0x8d055e60, 0x8d0cd000 2020-06-15 10:29:23.394 8881-8881/com.hoadev.nhantin D/ViewRootImpl@d0c07e0[Toast]: dispatchDetachedFromWindow 2020-06-15 10:29:23.421 8881-8881/com.hoadev.nhantin D/InputTransport: Input channel destroyed: fd=90

Note: com.hoadev.nhantin is the ConnectyCube application I logged in as user1 and received an error message Here are the screenshots: https://1drv.ms/u/s!AskazjRxgYJNoHCPrWBGJcvsTaGK?e=cBOAzp

ashishsecrets commented 4 years ago

I am having the same issue - users entered in json in app and added users on Connectycube online. Please advice

TatankaConCube commented 4 years ago

@ashishsecrets did you do all my recommendations from this topic (users settings, configs in admin panel)?

ashishsecrets commented 4 years ago

yes actually, I had deleted old users. As a solution I brought back the old users in panel. now the users are working too. maybe the panel wasn't taking the new users as not updating instantly at backend.

On Fri, 10 Jul 2020, 7:00 pm TatankaConCube, notifications@github.com wrote:

@ashishsecrets https://github.com/ashishsecrets did you do all my recommendations from this topic (users settings, configs in admin panel)?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ConnectyCube/android-messenger-app/issues/59#issuecomment-656677630, or unsubscribe https://github.com/notifications/unsubscribe-auth/APRFWBBFAUEHGPFGJ63COSLR24JW5ANCNFSM4NUC2QBQ .