restheart - restheart 插件骨架中的身份验证失败
问题描述
我正在使用插件框架创建一个 restheart 插件,但是在 docker-compose 之后,我得到了身份验证错误“restheart-plugin-skeleton_mongodb-initiate_1”容器。
容器日志:
MongoDB shell version v4.2.11
connecting to: mongodb://mongodb:27017/?compressors=disabled&gssapiServiceName=mongodb
2020-12-15T18:13:45.056+0000 E QUERY [js] Error: Authentication failed. :
connect@src/mongo/shell/mongo.js:353:17
@(connect):2:6
2020-12-15T18:13:45.059+0000 F - [main] exception: connect failed
2020-12-15T18:13:45.059+0000 E - [main] exiting with code 1
MongoDB shell version v4.2.11
connecting to: mongodb://mongodb:27017/?compressors=disabled&gssapiServiceName=mongodb
2020-12-15T18:13:47.178+0000 E QUERY [js] Error: Authentication failed. :
connect@src/mongo/shell/mongo.js:353:17
@(connect):2:6
2020-12-15T18:13:47.182+0000 F - [main] exception: connect failed
2020-12-15T18:13:47.182+0000 E - [main] exiting with code 1
解决方案
这刚刚在上次提交中修复
推荐阅读
- python - 导入 sklearn.linear_model 会出错
- turing-machines - 通过建立一个枚举器证明 L∈RE
- javascript - 我必须打印一张包含详细信息的表格
- android - Flutter rangeError(index) 有效值范围为空
- c# - IdentityServer4 + ASP.Net Core Identity Signout from Client 不会在 ID4 上注销
- c++ - CRTP vs. 基类向量
- c - 从给定字符串返回较小的字符串(按字典顺序)
- android - Android管理api EMM中来自企业的域和域用户
- security - Gitlab 共享跑步者:环境变量隐私与 docker 跑步者
- powershell - Powershell - 在 Readline 上使用 Peek 方法有什么好处(而不是 null)?