-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnhandledPromiseRejectionWarning: MongoError: command listDatabases requires authentication #66
Comments
I am experiencing the same issue. As a temporary workaround, I will be using the previous version |
I had the same issue at first and saw the the default environment variables changed with the new release. Instead of passing the mongo connection credentials as individual variables, I passed them in the connection string in order to get them working. Configuration:
|
As said previously, this is an example of working configuration :
|
Thanks @weibell downgrading worked for usage with secrets since I can't use the url method. |
I use version mongo-express:0.54 instead of the :latest image. |
It`s works for me. |
@cgrio I used that 0.54 tag and it did not work for me, actually tried all the tags for the official image and they all give the same error. Anyone has an Idea how to resolve this issue? |
I have been using this:
|
It worked for me only when I added depends_on as follows:
|
Doesn't work in March. 2023
|
I mean, this seems to be a pretty major bug and/or big oversight, since one of the most basic thing is to be able to wait for a service to start and only then start the one depending on it right? I just started using Docker and this thing actually worked in an earlier version from what I saw, or at least mongo-express tried to reconnect by itself until mongo has finished initializing. edit: |
After last updates without any changes new issue occurred on mongo express (using docker compose):
Configuration:
And error:
The text was updated successfully, but these errors were encountered: