{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-templates/issues/37","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-templates/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-templates/issues/37/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-templates/issues/37/events","html_url":"https://github.com/GoogleCloudPlatform/gradle-appengine-templates/issues/37","id":67964197,"number":37,"title":"Tokens not registering with server, with no response codes visible either","user":{"login":"raveeshbhalla","id":1842515,"avatar_url":"https://avatars.githubusercontent.com/u/1842515?v=3","gravatar_id":"","url":"https://api.github.com/users/raveeshbhalla","html_url":"https://github.com/raveeshbhalla","followers_url":"https://api.github.com/users/raveeshbhalla/followers","following_url":"https://api.github.com/users/raveeshbhalla/following{/other_user}","gists_url":"https://api.github.com/users/raveeshbhalla/gists{/gist_id}","starred_url":"https://api.github.com/users/raveeshbhalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raveeshbhalla/subscriptions","organizations_url":"https://api.github.com/users/raveeshbhalla/orgs","repos_url":"https://api.github.com/users/raveeshbhalla/repos","events_url":"https://api.github.com/users/raveeshbhalla/events{/privacy}","received_events_url":"https://api.github.com/users/raveeshbhalla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-12T21:49:21Z","updated_at":"2015-04-13T16:29:04Z","closed_at":null,"body":"I had been looking to experiment with App Engine for GCM for a long time, and I'm glad I finally got to it. As easy as it looks, I unfortunately fail to register a token from a real device at any point. Specifically, the regService.register(registrationID) code runs without exception, but the tokens aren't visible in the API Explorer (and pushes are not working).\r\n\r\nThe same tokens, if pushed from the API explorer itself, work perfectly. Is there any way to get the response code of the Register.register() method?\r\n\r\nMy code is visible on the following link.\r\nhttps://github.com/raveeshbhalla/Hermes/tree/gcm-endpoint-experimentation\r\n\r\nSpecifically, you want to be looking at this BroadcastReceiver that is fired whenever a registration occurs.\r\nhttps://github.com/raveeshbhalla/Hermes/blob/gcm-endpoint-experimentation/hermesexample/src/main/java/in/raveesh/hermesexample/GcmBroadcastReceiver.java"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-templates/issues/comments/92417888","html_url":"https://github.com/GoogleCloudPlatform/gradle-appengine-templates/issues/37#issuecomment-92417888","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gradle-appengine-templates/issues/37","id":92417888,"user":{"login":"loosebazooka","id":1304826,"avatar_url":"https://avatars.githubusercontent.com/u/1304826?v=3","gravatar_id":"","url":"https://api.github.com/users/loosebazooka","html_url":"https://github.com/loosebazooka","followers_url":"https://api.github.com/users/loosebazooka/followers","following_url":"https://api.github.com/users/loosebazooka/following{/other_user}","gists_url":"https://api.github.com/users/loosebazooka/gists{/gist_id}","starred_url":"https://api.github.com/users/loosebazooka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loosebazooka/subscriptions","organizations_url":"https://api.github.com/users/loosebazooka/orgs","repos_url":"https://api.github.com/users/loosebazooka/repos","events_url":"https://api.github.com/users/loosebazooka/events{/privacy}","received_events_url":"https://api.github.com/users/loosebazooka/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T16:29:04Z","updated_at":"2015-04-13T16:29:04Z","body":"You could try running in debug mode and inspecting the returned \"Registration\" object to see if you can find anything going wrong."}}