简体   繁体   English

restheart 插件骨架中的身份验证失败

[英]Authentication failed in restheart plugin skeleton

I'm creating a restheart plugin using the plugin skeleton but, after up docker-compose i get Authentication error 'restheart-plugin-skeleton_mongodb-initiate_1' container.我正在使用插件骨架创建一个 restheart 插件,但是在 docker-compose 之后,我收到身份验证错误“restheart-plugin-skeleton_mongodb-initiate_1”容器。

Container log:容器日志:

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

This has just been fixed in last commit这刚刚在上次提交中修复

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM