WSO2Emm - Unable to register android device

user3806649

I couldn't register my android device to emm.

I get following error:

Authentication Failed: Cannot proceed the authentication. Please contact administrator.

I have created user in managment consol using admin, the credential is tested , I could connect to https://localhost:9443/emm/ with it.

Also I disable my firewall, but I couldn't register the device.

PS: I working in a developer environment, I have installed server as a windows service , and android agent to my galaxy note 10.

Edit1:

Here is the logcat:

07-12 23:21:03.454: D/ServerUtils(20186): Attempt #1 to register
07-12 23:21:03.454: E/(20186): in
07-12 23:21:03.459: I/SurfaceFlinger(2276): id=176 createSurf (1x1),1 flag=4, Buthenticat
07-12 23:21:03.459: D/KeyguardUpdateMonitor(2988): sendKeyguardVisibilityChanged(true)
07-12 23:21:03.459: I/KeyguardUpdateMonitor(2988): visibility is same
07-12 23:21:03.469: W/System.err(20186): java.io.IOException: KeyStore integrity check failed.
07-12 23:21:03.469: W/System.err(20186):    at com.android.org.bouncycastle.jcajce.provider.keystore.bc.BcKeyStoreSpi.engineLoad(BcKeyStoreSpi.java:862)
07-12 23:21:03.469: W/System.err(20186):    at java.security.KeyStore.load(KeyStore.java:589)
07-12 23:21:03.469: W/System.err(20186):    at org.wso2.emm.agent.utils.HTTPConnectorUtils.getCertifiedHttpClient(HTTPConnectorUtils.java:56)
07-12 23:21:03.469: W/System.err(20186):    at org.wso2.emm.agent.utils.HTTPConnectorUtils.postData(HTTPConnectorUtils.java:238)
07-12 23:21:03.469: W/System.err(20186):    at org.wso2.emm.agent.utils.HTTPConnectorUtils.sendWithTimeWait(HTTPConnectorUtils.java:107)
07-12 23:21:03.469: W/System.err(20186):    at org.wso2.emm.agent.utils.HTTPConnectorUtils.getClientKey(HTTPConnectorUtils.java:89)
07-12 23:21:03.469: W/System.err(20186):    at org.wso2.emm.agent.AuthenticationActivity$12.doInBackground(AuthenticationActivity.java:444)
07-12 23:21:03.474: W/System.err(20186):    at org.wso2.emm.agent.AuthenticationActivity$12.doInBackground(AuthenticationActivity.java:1)
07-12 23:21:03.474: W/System.err(20186):    at android.os.AsyncTask$2.call(AsyncTask.java:288)
07-12 23:21:03.474: W/System.err(20186):    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-12 23:21:03.474: W/System.err(20186):    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
07-12 23:21:03.474: W/System.err(20186):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
07-12 23:21:03.474: W/System.err(20186):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
07-12 23:21:03.474: W/System.err(20186):    at java.lang.Thread.run(Thread.java:841)
07-12 23:21:03.474: E/display(2276): invalid gralloc handle (at 0x0)
07-12 23:21:03.474: V/ServerUtils(20186): 192.168.1.157Posting '{password=123456, username=9031020}' to https://192.168.1.157:9443/emm/api/devices/clientkey
07-12 23:21:03.474: V/ServerUtils(20186): Posting 'password=123456&username=9031020' to https://192.168.1.157:9443/emm/api/devices/clientkey
07-12 23:21:03.474: D/KeyguardUpdateMonitor(2988): sendKeyguardVisibilityChanged(true)
07-12 23:21:03.474: I/KeyguardUpdateMonitor(2988): visibility is same
07-12 23:21:03.474: E/ServerUtils(20186): Failed to register on attempt 1
07-12 23:21:03.474: E/ServerUtils(20186): java.lang.NullPointerException
07-12 23:21:03.474: E/ServerUtils(20186):   at org.wso2.emm.agent.utils.HTTPConnectorUtils.postData(HTTPConnectorUtils.java:279)
07-12 23:21:03.474: E/ServerUtils(20186):   at org.wso2.emm.agent.utils.HTTPConnectorUtils.sendWithTimeWait(HTTPConnectorUtils.java:107)
07-12 23:21:03.474: E/ServerUtils(20186):   at org.wso2.emm.agent.utils.HTTPConnectorUtils.getClientKey(HTTPConnectorUtils.java:89)
07-12 23:21:03.474: E/ServerUtils(20186):   at org.wso2.emm.agent.AuthenticationActivity$12.doInBackground(AuthenticationActivity.java:444)
07-12 23:21:03.474: E/ServerUtils(20186):   at org.wso2.emm.agent.AuthenticationActivity$12.doInBackground(AuthenticationActivity.java:1)
07-12 23:21:03.474: E/ServerUtils(20186):   at android.os.AsyncTask$2.call(AsyncTask.java:288)
07-12 23:21:03.474: E/ServerUtils(20186):   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
07-12 23:21:03.474: E/ServerUtils(20186):   at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
07-12 23:21:03.474: E/ServerUtils(20186):   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
07-12 23:21:03.474: E/ServerUtils(20186):   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
07-12 23:21:03.474: E/ServerUtils(20186):   at java.lang.Thread.run(Thread.java:841)
07-12 23:21:03.479: D/mali_winsys(20186): new_window_surface returns 0x3000
07-12 23:21:03.484: D/ProgressBar(20186): updateDrawableBounds: left = 0
07-12 23:21:03.484: D/ProgressBar(20186): updateDrawableBounds: top = 0
07-12 23:21:03.484: D/ProgressBar(20186): updateDrawableBounds: right = 96
07-12 23:21:03.484: D/ProgressBar(20186): updateDrawableBounds: bottom = 96
07-12 23:21:03.484: E/EnterpriseContainerManager(2773): ContainerPolicy Service is not yet ready!!!
07-12 23:21:03.484: D/EnterpriseDeviceManager(2773): ContainerId: 0
07-12 23:21:03.484: W/LicenseLogService(2773): log() failed
07-12 23:21:03.489: E/ViewRootImpl(20186): sendUserActionEvent() mView == null
07-12 23:21:03.489: E/display(2276): invalid gralloc handle (at 0x0)
07-12 23:21:03.489: W/InputMethodManagerService(2773): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@43129a78 attribute=null, token = android.os.BinderProxy@438c5008 

Edit2:

The above error was because of mistake in making self-signed certificate, now I couldn't register the device. here is the image!

and below is the logcat:

07-15 01:56:38.857: V/ServerUtils(28027): 192.168.1.157Posting '{password=123456, username=9031020}' to https://192.168.1.157:9443/emm/api/devices/clientkey
07-15 01:56:38.857: V/ServerUtils(28027): Posting 'password=123456&username=9031020' to https://192.168.1.157:9443/emm/api/devices/clientkey
07-15 01:56:38.857: E/EnterpriseContainerManager(2770): ContainerPolicy Service is not yet ready!!!
07-15 01:56:38.857: D/EnterpriseDeviceManager(2770): ContainerId: 0
user3806649

Finally I found the problem.

I install the server again and go through steps here. The problem was login to management consol before EMM consols.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Unable to register Google Assistant Device Model

From Dev

WSO2 EMM - Device Name

From Dev

SQLite to Register on multiple device- Android

From Dev

Android app is unable to launch on device

From Dev

Unable to register Android token with API level 16

From Dev

Unable to create a virtual device: Unable to create Android virtual device

From Dev

WSO2EMM rebuilding the mobile agent fails

From Dev

How to register an Android device to a push channel with parse.com

From Dev

Pushbot Android or IOS how to get a device to register for specific types of Messages

From Dev

How to register an Android device to a push channel with parse.com

From Dev

Is it possible to register android device from third party java server?

From Dev

wso2 emm - unable to connect via external IP

From Dev

Android Studio unable to run project on device?

From Dev

Unable to inspect Android device via Chrome://inspect

From Dev

unable to get longitude and latitude in android for real device

From Dev

Unable to connect with local server via android device

From Dev

Unable to get the current location on real android device

From Dev

Network Register a Headless Device

From Dev

Unable to use my Android device as Android emulator using Android studio

From Dev

Cannot register new user android asmack "Unable To Generate CAPTCHA"

From Dev

Unable to register for push notifications on Android in Xamarin together with IntercomIO

From Dev

Unable to create Android Virtual Device in Android Studio 2.2 in Ubuntu

From Dev

Unable to register a blueprint

From Dev

Unable to register NSD Service

From Dev

Unable to redirect to register page

From Dev

Unable to register a blueprint

From Dev

Unable to register IRequestPreProcessors with Mediatr

From Dev

Unable to register kprobe

From Dev

Android Unable to identify the apk for variant arm-debug and device

Related Related

  1. 1

    Unable to register Google Assistant Device Model

  2. 2

    WSO2 EMM - Device Name

  3. 3

    SQLite to Register on multiple device- Android

  4. 4

    Android app is unable to launch on device

  5. 5

    Unable to register Android token with API level 16

  6. 6

    Unable to create a virtual device: Unable to create Android virtual device

  7. 7

    WSO2EMM rebuilding the mobile agent fails

  8. 8

    How to register an Android device to a push channel with parse.com

  9. 9

    Pushbot Android or IOS how to get a device to register for specific types of Messages

  10. 10

    How to register an Android device to a push channel with parse.com

  11. 11

    Is it possible to register android device from third party java server?

  12. 12

    wso2 emm - unable to connect via external IP

  13. 13

    Android Studio unable to run project on device?

  14. 14

    Unable to inspect Android device via Chrome://inspect

  15. 15

    unable to get longitude and latitude in android for real device

  16. 16

    Unable to connect with local server via android device

  17. 17

    Unable to get the current location on real android device

  18. 18

    Network Register a Headless Device

  19. 19

    Unable to use my Android device as Android emulator using Android studio

  20. 20

    Cannot register new user android asmack "Unable To Generate CAPTCHA"

  21. 21

    Unable to register for push notifications on Android in Xamarin together with IntercomIO

  22. 22

    Unable to create Android Virtual Device in Android Studio 2.2 in Ubuntu

  23. 23

    Unable to register a blueprint

  24. 24

    Unable to register NSD Service

  25. 25

    Unable to redirect to register page

  26. 26

    Unable to register a blueprint

  27. 27

    Unable to register IRequestPreProcessors with Mediatr

  28. 28

    Unable to register kprobe

  29. 29

    Android Unable to identify the apk for variant arm-debug and device

HotTag

Archive