title: GCM pushnotification failing in IOS production environment with Internal Server error
body: <p>My app stopped getting push notifications from last weekend. After proper debugging, it was found that GCM was failing with an error "NotRegistered".</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>success: 0,
    failure: 1,
    canonical_ids: 0,
    results: [ { error: 'NotRegistered' } ] }
  ...</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have updated all my certificates and checked, only to get another new error.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>success: 0,
    failure: 1,
    canonical_ids: 0,
    results: [ { error: 'InternalServerError' } ] }
  ...</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is happening only with the IOS and the system is working flawlessly in android. I checked all the google forums, stack-overflow but got no where. Please help me out. TIA </p>