Skip to content

Parse Sever Crash When .p12 files missing #2117

Closed

Description

@acegreen

Issue Description

I just finished updating my server and didn't have the push notification .p12 files on the new instance. When I tried to send a push notification using the server, not only did it not go through, but the server instance crashed.

Steps to reproduce

  1. Add the certificate properties in your index.js file
  2. Do not have your .p12 files in the location specified
  3. Send a push

Expected Results

Verbose about missing .p12 files and no pushes actually sent out ONLY

Actual Outcome

Verbose and server crash

Environment Setup

  • Server
    • parse-server version: 2.2.13
    • Operating System: Ubuntu 15.10
    • Hardware: 4 GB Memory / 60 GB Disk / NYC3
    • Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Digital Ocean
  • Database
    • MongoDB version: 3.2.7
    • Storage engine: N/A
    • Hardware: 4 GB Memory / 60 GB Disk / NYC3
    • Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Digital Ocean

Logs/Trace

Didn't keep it

Activity

  1. hramos commented on Jun 22, 2016

    @hramos
    Contributor

    Was there no output when the server crashed? Wondering how obscure the issue would be when someone runs into this, and if its worth handling as a special case.

  2. acegreen commented on Jun 23, 2016

    @acegreen
    Author

    There was but I was in a rush to fix it because my production app relies on the server. I think this is not obscure at all, just remove the .p12 files from the location specified in your index.js and send a push.

  3. jeffreyjackson commented on Jul 6, 2018

    @jeffreyjackson

    I ran into an issue today where the push certificate had expired and as a result parse server was unresponsive and continued to crash.

  4. flovilmart commented on Jul 6, 2018

    @flovilmart
    Contributor

    Closing as it’s an issue in the node-APN module. If you want it fixed, open the issue there

  5. jeffreyjackson commented on Jul 6, 2018

    @jeffreyjackson

    I found the issue on the parse server push adapter module. Thanks!

  6. added
    type:featureNew feature or improvement of existing feature
    and removed on Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:featureNew feature or improvement of existing feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions