I don't get push Notification on my device
Closed this issue · 2 comments
BesatZardosht commented
I have registered my device token successfully.
and this is my server log:
2017-03-14 13:02:19.389 [debug] <0.578.0>@mod_apns:message:79 Offline message
2017-03-14 13:02:19.389 [debug] <0.578.0>@mod_apns:message:89 mod_apns: Checking Type
2017-03-14 13:02:19.389 [debug] <0.578.0>@mod_apns:message:95 mod_apns: Subscription both
2017-03-14 13:02:19.389 [debug] <0.578.0>@mod_apns:message:101 mod_apns: Checking Result
2017-03-14 13:02:19.389 [debug] <0.578.0>@mod_apns:message:109 mod_apns: Checking Subscription
2017-03-14 13:02:19.389 [debug] <0.578.0>@mod_apns:message:115 mod_apns: Sending Payload
2017-03-14 13:02:19.389 [debug] <0.578.0>@mod_apns:send_payload:30 FORMAT ERROR: "mod_apns: trying to send payload with these parameters: Address: ~s Port: ~s Cert: ~s Keyfile: ~s Password ~s" ["gateway.sandbox.push.apple.com",2195,"/Applications/ejabberd-16.03/conf/APNS/TestAPNS.pem","/Applications/ejabberd-16.03/conf/APNS/TestAPNSKey.pem",undefined]
2017-03-14 13:02:19.761 [debug] <0.578.0>@mod_apns:send_payload:55 mod_apns: Successfully sent payload to the APNS server
But I don't get notifications on my device!!
BesatZardosht commented
It was my certificate
mrDoctorWho commented
Glad you resolved your problem.