title: Attempting to sent Push Notifications to iOS device - not receiving them
body: <p>I have so far done the following:
  - Generated certificate and private key as .pem, also cat'd them together.  Successfully connected to gateway.sandbox.push.apple.com.
  - Using the provisional profile with push notifications is enabled for development, I have a basic app that successfully prompted "Do you want to allow push notifications", so this is working correctly
  - Obtained the device token
  - I have tried pulling a few pre-made files for SSLing into sandbox from the internet just to see if I can get them running before I start development.  </p>
  
  <p>The files are the php file posted here: <a href="http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12" rel="nofollow noreferrer">http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12</a>.  I actually got a "Message successfully sent" </p>
  
  <p>The python file posted here: <a href="https://stackoverflow.com/questions/1052645/apple-pns-push-notification-services-sample-code">Apple PNS (push notification services) sample code</a>; I had to edit the Python 3 command "fromhash" line to str(float.fromhash(...))</p>
  
  <p>I also tried using the PyAPNs API: <a href="https://github.com/simonwhitaker/PyAPNs" rel="nofollow noreferrer">https://github.com/simonwhitaker/PyAPNs</a>.  I still have use_sandbox set to true.</p>
  
  <p>Obviously I changed the device tokens and public keys/certificates to my own.  Sadly I have not received any pushed notifications yet, and I'm not receiving any concrete errors to tell me why.  If anyone can shed some light, that would be amazing.</p>