「已注销」 2016-11-29 10:24 采纳率: 0%
浏览 2143

MongVUE认证用户失败,用命令行可以认证成功。

![图片说明](https://img-ask.csdn.net/upload/201611/29/1480414904_326643.png)图片说明

报错:

Error encountered
Unable to connect to server 127.0.01:27017: Invalid credential for database 'admin'..
Type: MongoDB.Driver.MongoConnectionException
Stack: 在 MangoUI.ComServerView.RefreshDBs(MMongo mc, TimeSpan& data, TimeSpan& gui, Boolean throwEx)
在 MangoUI.ComServerView.RenderMe()

Invalid credential for database 'admin'.
Type: MongoDB.Driver.MongoAuthenticationException
Stack: 在 MongoDB.Driver.Communication.Security.MongoCRAuthenticationProtocol.Authenticate(MongoConnection connection, MongoCredential credential)
在 MongoDB.Driver.Communication.Security.Authenticator.Authenticate(MongoCredential credential)
在 MongoDB.Driver.Communication.Security.Authenticator.Authenticate()
在 MongoDB.Driver.Internal.MongoConnection.Open()
在 MongoDB.Driver.Internal.MongoConnection.GetNetworkStream()
在 MongoDB.Driver.Internal.MongoConnection.SendMessage(BsonBuffer buffer, Int32 requestId)
在 MongoDB.Driver.Internal.MongoConnection.SendMessage(MongoRequestMessage message)
在 MongoDB.Driver.Operations.CommandOperation`1.Execute(MongoConnection connection)
在 MongoDB.Driver.MongoServerInstance.RunCommandAsTCommandResult
在 MongoDB.Driver.MongoServerInstance.Ping(MongoConnection connection)
在 MongoDB.Driver.MongoServerInstance.Connect()
在 MongoDB.Driver.Internal.DirectMongoServerProxy.Connect(TimeSpan timeout, ReadPreference readPreference)

Command 'authenticate' failed: auth failed (response: { "ok" : 0.0, "errmsg" : "auth failed", "code" : 18 })
Type: MongoDB.Driver.MongoCommandException
Stack: 在 MongoDB.Driver.Operations.CommandOperation`1.Execute(MongoConnection connection)
在 MongoDB.Driver.Communication.Security.MongoCRAuthenticationProtocol.RunCommand(MongoConnection connection, String databaseName, IMongoCommand command)
在 MongoDB.Driver.Communication.Security.MongoCRAuthenticationProtocol.Authenticate(MongoConnection connection, MongoCredential credential)
Inputs::
Command: authenticate
Ok: False
ErrorMsg: auth failed
Request: { "authenticate" : 1, "user" : "adminw", "nonce" : "4fc225388563f8ee", "key" : "4dea70ce5ea6b5cf5ea0bf9b69872be1" }
Response: { "ok" : 0.0, "errmsg" : "auth failed", "code" : 18 }

  • 写回答

1条回答 默认 最新

  • oyljerry 2016-11-29 10:35
    关注

    换一个客户端试试。可能客户端问题

    评论

报告相同问题?

悬赏问题

  • ¥15 如何在scanpy上做差异基因和通路富集?
  • ¥20 关于#硬件工程#的问题,请各位专家解答!
  • ¥15 关于#matlab#的问题:期望的系统闭环传递函数为G(s)=wn^2/s^2+2¢wn+wn^2阻尼系数¢=0.707,使系统具有较小的超调量
  • ¥15 FLUENT如何实现在堆积颗粒的上表面加载高斯热源
  • ¥30 截图中的mathematics程序转换成matlab
  • ¥15 动力学代码报错,维度不匹配
  • ¥15 Power query添加列问题
  • ¥50 Kubernetes&Fission&Eleasticsearch
  • ¥15 報錯:Person is not mapped,如何解決?
  • ¥15 c++头文件不能识别CDialog