Skip to content

Parse Sever Crash When .p12 files missing #2117

Closed
@acegreen

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

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