mongodb-charts_charts.1.pcr17y3xc236@linuxkit-025000000001 | ✔ encryptionKeyPathmongodb-charts_charts.1.pcr17y3xc236@linuxkit-025000000001 | ✔ tokensmongodb-charts_charts.1.pcr17y3xc236@linuxkit-025000000001 | ✔ stitchConfigTemplatemongodb-charts_charts.1.pcr17y3xc236@linuxkit-025000000001 | ✔ stitchConfigmongodb-charts_charts.1.pcr17y3xc236@linuxkit-025000000001 | ✔ stitchConfigWritten (true)mongodb-charts_charts.1.pcr17y3xc236@linuxkit-025000000001 | ✖ mongoDBReachable failure: Can't connect to MongoDB at mongodb://127.0.0.1:27017. Too many failed attempts. Last error: failed to connect to server [127.0.0.1:27017] on first connect [MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017]docker exec -it $(docker container ls --filter name=_charts -q) charts-cli add-user --first-name "tim" --last-name "jones" --email "pa...@trail.com" --password "changepass" --role "UserAdmin"
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ encryptionKeyPath
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ tokens
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchConfigTemplate
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchConfig
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchConfigWritten (true)
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ mongoDBReachable (true)
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchChildProcess
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchServerRunning (true)
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchAdminCreated (true)
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchUnconfigured (true)
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchSetup ({ stitchBaseUrl: 'http://localhost:8080', stitchAppId: '5b758bdccc18890011b1082d', stitchClientAppId: 'mongodb-charts-hrpkg', stitchGroupId: '5b5b2bdccc18890011b13c6a' })
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchServerQuitting (true)
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ webConfigWritten (true)
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ stitchServerQuit (true)
mongodb-charts_charts.1.qb2ighrectaio@work | ✔ supervisorStarted (true)
The charts-cli.log file looks good too:
root@charts:/# cat /mongodb-charts/logs/charts-cli.log
2018-08-16T19:34:00.245+00:00 INFO called charts-cli startup with arguments {"_":["startup"],"debug":false,"help":false,"version":false,"d":"/mongodb-charts","directory":"/mongodb-charts","$0":"mongodb-charts/bin/charts-cli.js"}
2018-08-16T19:34:00.271+00:00 INFO encryptionKeyPath task success
2018-08-16T19:34:00.324+00:00 INFO tokens task success
2018-08-16T19:34:00.326+00:00 INFO stitchConfigTemplate task success
2018-08-16T19:34:00.330+00:00 INFO stitchConfig task success
2018-08-16T19:34:00.341+00:00 INFO stitchConfigWritten task success (true)
2018-08-16T19:34:00.426+00:00 INFO waiting for MongoDB, attempt #1 to connect to MongoDB at mongodb://172.17.0.1
2018-08-16T19:34:00.682+00:00 WARN waiting for MongoDB, successfully connected to MongoDB at mongodb://172.17.0.1 after 1 attempts.
2018-08-16T19:34:00.682+00:00 WARN waiting for Stitch to start, attempt #1 to connecto to Stitch server at http://localhost:8080
2018-08-16T19:34:00.682+00:00 WARN waiting for Stitch to start, attempt #1 failed: connect ECONNREFUSED 127.0.0.1:8080
2018-08-16T19:34:00.682+00:00 WARN waiting for Stitch to start, attempt #2 to connecto to Stitch server at http://localhost:8080
2018-08-16T19:34:00.682+00:00 WARN waiting for Stitch to start, attempt #2 failed: connect ECONNREFUSED 127.0.0.1:8080
2018-08-16T19:34:00.682+00:00 INFO waiting for Stitch to start, successfully connected to Stitch at http://localhost:8080 after 2 attempts.
...
...
...
..
2018-08-16T19:34:00.682+00:00 INFO called charts-cli add-user with arguments
...
...
2018-08-16T19:34:00.682+00:00 INFO user pa...@trail.com has been added with role UserAdmin
I am not sure as to why the login is not working. When I put in an incorect password it prompts for a valid email/password entry. But when I put in the correct values it does nothing after clicking login
mongodb://host.docker.internal