Skip to content

'Unable to connect to Parse API' since enabling HTTPS #411

Closed
@omairvaiyani

Description

@omairvaiyani

We've added SSL to our AWS-hosted ParseServer, but are receiving this error when running any CloudFunction:

"error": {
    "code": 100,
    "message": "XMLHttpRequest failed: \"Unable to connect to the Parse API\""
  }

We've updated our serverUrl to have https. After a bit of digging around, I ran into ParseServer/middlewares.js#handleParseHeaders, where I logged the req.protocol. It says the protocol is http, even though the requests are sent with https.

Just for more info - we have not yet enabled SSL on the mongolabs database. GET requests work fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions