actually..i updated the server config and it's still not working..
here's my current config file:
{
"ListenAddress": ":8066",
"ApplePushServer": "api.development.push.apple.com:443",
"ApplePushCertPublic": "./config/publickey.pem",
"ApplePushCertPrivate": "./config/privatekey.pem",
"AndroidApiKey": "MM_ANDRIODKEY",
"ThrottlePerSec": 100,
"ThrottleMemoryStoreSize": 10000,
"ThrottleVaryByHeader": "X-Forwarded-For"
}
test command used:
curl http://XXX:8066/api/v1/send_push -X POST -H "Content-Type: application/json" -d '{ "message":"test", "badge": 1, "platform":"apple", "server_id":"XXX", "device_id":"XXX"}'
error:
2016/05/18 00:17:14 ERROR Failed to send apple push sid=XXX did=XXX err=NO_ERRORS