parse-community / parse-server-push-adapter

A push notification adapter for Parse Server
https://parseplatform.org
MIT License
85 stars 100 forks source link

node-pre-gyp verb parse-server-push-adapter Can not find sender for push type ios, [object Object] #84

Closed 0zguner closed 7 years ago

0zguner commented 7 years ago

2017-07-04T14:05:43.109411+00:00 app[web.1]: verbose: REQUEST for [POST] /parse/push: {

2017-07-04T14:05:43.109422+00:00 app[web.1]: "where": {

2017-07-04T14:05:43.109423+00:00 app[web.1]: "deviceType": {

2017-07-04T14:05:43.109424+00:00 app[web.1]: "$in": [

2017-07-04T14:05:43.109424+00:00 app[web.1]: "ios"

2017-07-04T14:05:43.109425+00:00 app[web.1]: ]

2017-07-04T14:05:43.109426+00:00 app[web.1]: }

2017-07-04T14:05:43.109426+00:00 app[web.1]: },

2017-07-04T14:05:43.109427+00:00 app[web.1]: "data": {

2017-07-04T14:05:43.109428+00:00 app[web.1]: "alert": "asfaffasfasfaasgag"

2017-07-04T14:05:43.109429+00:00 app[web.1]: }

2017-07-04T14:05:43.109430+00:00 app[web.1]: } method=POST, url=/parse/push, host=demarkeservice.herokuapp.com, connection=close, content-type=text/plain, origin=http://0.0.0.0:4040, accept-encoding=gzip, deflate, accept=/, user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/603.2.4 (KHTML, like Gecko) Version/10.1.1 Safari/603.2.4, referer=http://0.0.0.0:4040/apps/79BD4467-64BE-499B-9143-28A6436B978B/push/new, accept-language=en-us, x-request-id=3810da40-4073-498e-8c17-c77132f61a03, x-forwarded-for=176.240.106.229, x-forwarded-proto=https, x-forwarded-port=443, via=1.1 vegur, connect-time=1, x-request-start=1499177143097, total-route-time=0, content-length=270, $in=[ios], alert=asfaffasfasfaasgag

2017-07-04T14:05:43.127192+00:00 app[web.1]: verbose: RESPONSE from [POST] /parse/push: {

2017-07-04T14:05:43.127196+00:00 app[web.1]: "headers": {

2017-07-04T14:05:43.127197+00:00 app[web.1]: "X-Parse-Push-Status-Id": "zx6plwYx8l"

2017-07-04T14:05:43.127197+00:00 app[web.1]: },

2017-07-04T14:05:43.127198+00:00 app[web.1]: "response": {

2017-07-04T14:05:43.127199+00:00 app[web.1]: "result": true

2017-07-04T14:05:43.127199+00:00 app[web.1]: }

2017-07-04T14:05:43.127200+00:00 app[web.1]: } X-Parse-Push-Status-Id=zx6plwYx8l, result=true

2017-07-04T14:05:43.138862+00:00 app[web.1]: verbose: _PushStatus zx6plwYx8l: sending push to 1 installations

2017-07-04T14:05:43.156644+00:00 app[web.1]: node-pre-gyp verb parse-server-push-adapter Can not find sender for push type ios, [object Object]

2017-07-04T14:05:43.157589+00:00 app[web.1]: verbose: _PushStatus zx6plwYx8l: sent push! 0 success, 1 failures

Disconnected from log stream. There may be events happening that you do not see here! Attempting to reconnect...

2017-07-04T14:05:43.127192+00:00 app[web.1]: verbose: RESPONSE from [POST] /parse/push: {

2017-07-04T14:05:43.127196+00:00 app[web.1]: "headers": {

2017-07-04T14:05:43.127197+00:00 app[web.1]: "X-Parse-Push-Status-Id": "zx6plwYx8l"

2017-07-04T14:05:43.127197+00:00 app[web.1]: },

2017-07-04T14:05:43.127198+00:00 app[web.1]: "response": {

2017-07-04T14:05:43.127199+00:00 app[web.1]: "result": true

2017-07-04T14:05:43.127199+00:00 app[web.1]: }

2017-07-04T14:05:43.127200+00:00 app[web.1]: } X-Parse-Push-Status-Id=zx6plwYx8l, result=true

2017-07-04T14:05:43.138862+00:00 app[web.1]: verbose: _PushStatus zx6plwYx8l: sending push to 1 installations

2017-07-04T14:05:43.156644+00:00 app[web.1]: node-pre-gyp verb parse-server-push-adapter Can not find sender for push type ios, [object Object]

2017-07-04T14:05:43.157589+00:00 app[web.1]: verbose: _PushStatus zx6plwYx8l: sent push! 0 success, 1 failures

flovilmart commented 7 years ago

That tells me that your push is misconfigured....

0zguner commented 7 years ago

iOS code from ParseStarter Project, certificates tutorial from http://raywenderlich.com/ ...

sureshkodur commented 4 years ago

I'm having the same problem. How can I resolve this issue. Please help me.

Thanks inadvance