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.
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.
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.
Related
I have made an android application with GCM enabled service in it which works on localhost. User needs to register in order save the device id in the database which would help administrator to send push notifications to the user. Since, the database is on localhost, registration works fine on emulator. But after installing the app on phone, the device does not get registered. Due to unsuccessful registration, the details do not get entered into the database. After searching a bit, found out the problem as the ip address. IP address on pc is different than the address taken by phone even via same router. Is there any solution for this problem? I really need to run the app on the phone and not just on emulator. Thanks in advance!
I have a cordova application targeting both iOS and android platforms. Under certain conditions, when the user, who is in a specific group, logs in to the application (using normal his data plan), I want all the HTTP calls to be router through a proxy server which has an authentication based on username and password. I need to know how do I enable the application to connect to a proxy.
thanks
I'm trying to implement Google Cloud Messaging for my app in development. I'm following the walkthrough located in the readme a this github repository (the official Google sample project). I'm doing everything that's asked, but I'm confused as to how to test this. As far as I know I have the backend running from my computer (I can connect to the backend from localhost:8080 in chrome), but I want to test device registration with an external device (Samsung Galaxy S4). I realize that the device cannot try to connect to 10.0.2.2 because that makes the device think it's connecting to localhost on the phone itself. I tried entering my computer's IP address with both ports 8080 and 80, but the request times out before anything happens. I'm fairly certain I have the correct Server API Key and Sender ID.
Is there anything which might be wrong here? How can I connect to my computer from the phone? I'm willing to post code and/or error logs if needed. Running LinuxMint 17.2 x64.
if you are on same network , just type the internal ip address of the computer followed by port number , you can test it in the browser itself in phone
Fro GCm Testing you not require to do more thing only get your device token and get you project Auth API key from google developer console test using some tool like ,https://gcm.codeplex.com/
and you can copy your device token using edittext,textview or other thing,
During the development period, i have successfully deployed Google Cloud Messaging in my Desktop ( running local host wamp) and in my android phone.
But what happens was, when i upload it to the production server (which is being managed by someone, a third party perhaps) the page just keeps loading. and after 30 seconds, i received a timeout.
How do i know / test if this link is working on my webserver? Any other things to enable / disable? Its like i need to justify to the Server Admin, why my php page is working on my localhost but not in their server. Any other things to check.
here is the link https://android.googleapis.com/gcm/send
Additional Info :
Key for server applications
IPs : Any IP allowed
Tested in Localhost : {"multicast_id":8668540645934921720,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1432739962159210%1912cce2f9fd7ecd"}]}
CURL is Enable in PHP Server Production
I'm trying to deploy an application with push notifications. The problem is that I can not get it to work from a device. While using the emulator, everything is ok but when using a cell phone I get a log saying "AUTHENTICATION_FAILED".
I have checked and the Gmail account is synchronized but is always trying to check me out this error.
Could someone give me a hand?
This is occurred due to the bad Google Account password. Check your account on the phone.
Bad Google Account password. The Android application should ask the
user to enter his/her Google Account password, and let the user retry
manually later. Fix on the device side.
Check error codes and explanations here.
The problem was that I had multiple accounts on the phone, for those who have the same problem only has to synchronize with an initial account set up the phone.
In my case I face this problem due to a firewall on the network which blocked URLs and ports of GCM. I solve it temporarily by using a VPN service i.e. Hotspot.
To solve permanently I allowed following ports and URLs on firewall.
5228
5229
5230
All IPs which are listed in Google's ASN of 15169