ios - Push Notifications stopped working after move to Amazon ec2 server -
i've been testing ipad app ad-hoc distributions.
on our server (running windows server 2008) apns alerts come through fine.
on ec2 (also running windows server 2008) never arrive.
the difference between 2 ad-hoc versions server point to. both have same code-signing settings.
i followed same procedure importing certificates on both servers , far can tell certificates same on both servers.
i've opened ports 5223, 2196, 2195 & 443 , allowed 17.0.0.0/8 address block:
i tried turning off firewall no joy , still can't figure out why works on 1 not other.
anyone have ideas?
-edit-
i'm using moonapns handle sending notifications via c# / asp.net web service. don't know if makes difference.
push notifications ec2 work great. used/implemented in couple of apps. here's couple of things check
do error when connecting apn servers? try using
$ telnet gateway.push.apple.com 2195
. work? in case doesn't might need make changes security group/open necessary portsif server says message sent successfully, don't receive in app, make sure check mobileprovision , pem files using
since mention telnet works , have checked pem , mobileprovisions, few other things check
do errors when moonapns tries connecting apn servers?
if no errors returned, did check if device tokens stored in database , test device's token?
if messages being sent out ok, did ping feedback services? return error specific device token (i.e. device)?
Comments
Post a Comment