Authentication failed in restheart plugin skeleton

201 views Asked by At

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.

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
1

There are 1 answers

2
Andrea Di Cesare On BEST ANSWER

This has just been fixed in last commit