WSO2 EMM Android Agent App Issue 'Connection Failed'

可紊 提交于 2019-12-11 18:54:20

问题


I have installed the latest version of the WSO2 EMM v1.1.0. Followed all of the Installing, Deployment, and Running documentation.

The server is up and running, I added my Gmail info into the setting in the EMM console so I can send out invites. I added a user and sent an invite. It is received by the client phone (connected on the same LAN as the server). The app can be downloaded. I put in the server IP address, the users email and the password given in the email.

When I hit the 'Register' button I get this prompt, "'Connection Failed' Server is unavailable. Please contact administrator."

I have done two clean installs of the WSO2 EMM software, re-imputed the IP address in the Android client app, and have actually tried both "HTTP ; 9763" and "HTTPS ; 9443" within the CommonUtilities class.

I am at a loss as what to try next, any help would be much appreciated thank you.


回答1:


Is your android phone and your server connected to the same network connection? If so, can you connect your android phone to your PC which has eclipse (with android sdk configured) and let me know what is displayed in the logcat when you hit the 'Register' button.




回答2:


You have to login to EMM app atleast once before doing a device enrollment. This could be due to APIs being not published to the API store we have embedded in the EMM server. Check on the following path https://{server_domain}:9443/productapistore. Check whether there exist any published APIs. Also check your connection. Check whether you can access the EMM app through your mobile browser.



来源:https://stackoverflow.com/questions/24251812/wso2-emm-android-agent-app-issue-connection-failed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!