在Azure上托管解析

在Azure上托管解析

本文介绍了在Azure上托管解析-内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑:我已启用日志记录,以下是该错误的详细信息:

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,

我一直在遵循Microsoft Azure指南在Azure上设置解析,该指南此处.

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

我已经完成了所有步骤并启动了所有程序,但是,当我尝试在Obj-C应用程序上创建新帐户时,出现错误[Error]: {"code":1,"message":"Internal server error."} (Code: 1, Version: 1.12.0).

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).

我不确定为什么会这样,正如我在Azure上看到的那样,我收到多个请求和HTTP错误.

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

我正在使用的解析源也是Azure提供/派生的解析源,也许这就是错误的出处?

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

谢谢.

推荐答案

该错误与您的MongoDB身份验证有关.仔细检查一下您是否正确执行了在Azure上解析"教程的步骤,因此没有任何硬编码的错误"username/password123"字符串

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

这篇关于在Azure上托管解析-内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 05:06