CrackerBarrelKid55
CrackerBarrelKid55

Reputation: 608

Hosting Parse on Azure - Internal Server Error

EDIT: I have enabled logging, here is the error in more detail:

Uncaught internal server error. { [MongoError: Authentication failed.]
name: 'MongoError',
message: 'Authentication failed.',
ok: 0,
code: 18,

I've been following the Microsoft Azure guide to setting up Parse on Azure, which is here.

I've completed the steps and have everything up and running, however, when I try to create a new account on my Obj-C app, I get the error [Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0).

I'm not sure why this happens, as I can see on Azure that I am getting multiple requests and HTTP errors.

Also the parse source I'm using is the one Azure have provided/forked, so maybe that's where the error is coming from?

Thanks.

Upvotes: 1

Views: 420

Answers (3)

Satish Mavani
Satish Mavani

Reputation: 5075

Make sure you have added "/parse" at the end of your URL

Upvotes: 0

mogile_oli
mogile_oli

Reputation: 2188

Double check that the URI is correct. I had some issues when migrating. If you use the Parse Server Managed on Azure, it creates the server for you and you can check the Database URI structure there. (In the web app - application settings - DATABASE_URI)

You can also open the settings of the documentDB and check the URI settings there.

Another trick is that if you change the DATABASE_URI setting (in application settings) make sure you restart your web app.

Upvotes: 0

Avin Zarlez
Avin Zarlez

Reputation: 1682

The error is with your MongoDB authentication. Double check you followed the steps correctly for the Parse on Azure tutorial, so that there isn't any hard coded incorrect "username/password123" strings

Upvotes: 2

Related Questions