on 12-02-2015 12:24 PM
Hi, keep getting this message when trying to send message to device using Afaria 7 SP8 and GCM ONS1008: Error sending GCM message to client, "a5103c404f03f949", with Client GUID, "{b281068e-d5a2-391c-b4d2-df9e0afe8ca3}". The request failed with GCM message: Fail-GCM Device Not Registered. Any advice please, Peter
Hi Peter,
Adding to the Tracy reply, please take a look at this support notes http://service.sap.com/sap/support/notes/2191488 for better understanding on the steps to be performed.
Kind Regards,
Sushmitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Peter,
Does your enrollment policy for android contain the check box for seeding the GCM id? Does the inventory reflect that the device has the id? This error means that the device either wasn't seeded or has the incorrect id. Can you give me a few more details about your setup?
Tracy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tracy
enrolment policy contains checkbox for seeding. The device does not contain the GCM id in the inventory. Have recreated enrolment policy and also wiped and re-enrolled device. Still no GCM id present. There is no channel setup. Does it require a channel? If so, could you please supply instructions.
Also followed Sushmitha reply below - still same results
Peter
Peter,
Since the enrollment policy looks okay, I would suspect it is either some sort of failure on the device side to register the GCM id with google, or the device not getting inventory back to the Afaria server. On the server > device communication page, is the address listed there, the externally available address of the server, and the correct port for the protocol you are using as defined on the top of that page? For example, if you are using HTTP on port 81, your server address line should be
Tracy
Hi Tracy, the device is on our internal network as well as the Afaria server. The server makes a successful test connection through the proxy for the Tiny URL and Google.
1. Would we require a public facing relay server for an externally available address?
2. If not, which server address is used for device communications?
3. If the device is on our internal network how does it register with GCM? Through the Afaria server of directly with GCM?
4. Can Afaria be configured to send push notifications to devices internally or must it always use GCM?
Peter
Peter,
My apologies I assumed it was external. You can have the device comm address reflect the internal address instead if the devices are on an internal network
1) yes, or something like it to route the traffic.
2) either internal address or external is fine depending on your needs.
3) GCM is with Google, we give it the project ID and the device will go out and connect to google directly. Is that blocked from the device? If so that may be the issue.
4) If you are trying to outbound the device, there are three options.
Tracy
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.