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:

enter image description here

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

  1. 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 ports

  2. if 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

  1. do errors when moonapns tries connecting apn servers?

  2. if no errors returned, did check if device tokens stored in database , test device's token?

  3. if messages being sent out ok, did ping feedback services? return error specific device token (i.e. device)?


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -