Hi,
I am using GCM in combination with Google AppEngine.
Our service sends more then 10.000 messages every day through GCM. Almost 
every message is successfully delivered to the receiver.

But about every day there are one or more messages which could not be 
delivered according to the following stack trace:

Uncaught exception from servlet
java.io.IOException: Could not fetch URL: 
https://android.googleapis.com/gcm/send
        at 
com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:137)
        at 
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:43)
        at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.fetchResponse(URLFetchServiceStreamHandler.java:417)
        at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getInputStream(URLFetchServiceStreamHandler.java:296)
        at 
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler$Connection.getResponseCode(URLFetchServiceStreamHandler.java:149)
        at com.google.android.gcm.server.Sender.sendNoRetry(Sender.java:362)
        at com.google.android.gcm.server.Sender.send(Sender.java:261)
        at 
de.alamos.firemergency.apager.gcm.ApagerServlet.sendDataToAndroid(ApagerServlet.java:282)
        at 
de.alamos.firemergency.apager.gcm.ApagerServlet.doPost(ApagerServlet.java:162)
        ...


The exception occurs at following position:
MulticastResult results = sender.send(message, tokens, 5);

Does anyone has some ideas what the resason of this problem could be?

Thanks for your help and greetings from Germany!
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to