MongoDB Charts installed on localhost Windows 10, but cannot access through browser

I have successfully installed mongodbcharts with Docker, the service is active but cannot access it through the browser http: // localhost or http://127.0.0.1

Hi @Pierre-Yves_Touche,

Can you confirm you followed:
https://docs.mongodb.com/charts/current/installation/

Additionally please provide output of the commands in our troubleshooting guide:

https://docs.mongodb.com/charts/current/installation/#troubleshooting

Thanks
Pavel

Yes i confirm this installation and service is enable
I changed the local port to 8888 instead of 80 but nothing on url : http://localhost:8888

r5bcggfrejnk mongodb-charts_charts replicated 1/1 quay.io/mongodb/charts:19.12.2 *:443->443/tcp, *:8888->80/tcp

PS D:\chartsmongo> docker service logs r5bcggfrejnk
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” parsedArgs
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” installDir ('/mongodb-charts')
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” log
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” salt
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” productNameAndVersion ({ productName: 'MongoDB Charts Frontend', version: '1.9.1' })
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” gitHash (undefined)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” supportWidgetAndMetrics ('on')
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” tileServer (undefined)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” tileAttributionMessage (undefined)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” rawFeatureFlags (undefined)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” stitchMigrationsLog ({ completedStitchMigrations: [] })
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” featureFlags ({})
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” lastAppJson ({})
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” existingInstallation (false)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” tenantId ('b05dc81e-bb47-4583-a9e1-d0f413a4c330')
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” chartsMongoDBUri
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” tokens
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” encryptionKeyPath
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” stitchConfigTemplate
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” libMongoIsInPath (true)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” mongoDBReachable (true)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” stitchMigrationsExecuted ([ 'stitch-1332',  'stitch-1897',  'stitch-2041',  'migrateStitchProductFlag',  'stitch-2041-local',  'stitch-2046-local',  'stitch-2055',  'multiregion',  'dropStitchLogLogIndexStarted' ])
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” minimumVersionRequirement (true)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” stitchConfig
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” stitchConfigWritten (true)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” stitchChildProcess
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” indexesCreated (true)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” stitchServerRunning (true)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” stitchAdminCreated (false)
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ” lastKnownVersion ('0.9.0')
mongodb-charts_charts.1.szg9zu143ddy@docker-desktop    |  βœ– existingClientAppIds failure: An error occurred authenticating: invalid username/password

Hi @Pierre-Yves_Touche -

The service won’t be accessible through a browser if it does not start successfully, which is what is happening here.

The β€œexistingClientAppIds failure: An error occurred authenticating: invalid username/password” error seen in your logs can happen if the metadata database contains a previous installation of Charts, but the mongodb-charts_keys volume does not contain the required credentials. If you’re attempting a fresh installation, the easiest thing is to delete all data in the database and remove the Docker volume and start again.

Tom

1 Like