Mongod -auth and mViewer #75

denis-sumin opened this Issue Jun 24, 2012 · 7 comments


None yet

3 participants


Now, some new issue. I setup my mongo server security, added users, logins and passwords.
My nodejs application connects well with new credentials and mViewer says "Unkown Host. Please check if MongoDB is running on the given host and port !".
Error in log: "17311 [RequestHandlerThread[#7]] ERROR com.imaginea.mongodb.requestdispatchers.UserLogin - {"message":"Unknown host","code":"HOST_UNKNOWN"}"
The thing is that I'm sure that server is running, and my app connects well.

Input credentials are:


When auth in mongodb is disabled, mViewer checks login and password well


I tried this, of course. Didn't help.

On Tue, Jul 10, 2012 at 6:41 PM, Apurba

if u r running on linux could u try "" the actual ip instead of "localhost"

Reply to this email directly or view it on GitHub:
#75 (comment)



Logging to mongod with auth enabled is currently not supported in v0.9.1. We will fix it soon and create a patch. We are also having plans for a whole user management console for v1.0.



Srinath, ok, i got it. Will wait and thanks for reply!

@udayshnk udayshnk was assigned Aug 6, 2012
@udayshnk udayshnk pushed a commit to udayshnk/mViewer that referenced this issue Aug 16, 2012
@udaysa udaysa + unknown fixed the issue #75.
  -- now user can login into mongodb running in auth mode on admin database.Need to fix the login of users into indivisual databases.
@udayshnk udayshnk pushed a commit to udayshnk/mViewer that referenced this issue Aug 22, 2012
@udaysa udaysa Issue #75 :- Fix for login with --auth mode. 1e28e54

Fixed in v0.9.2.


Srinath, thank you.
How is it possible to get 0.9.2? Or when you plan to publish it?


You can take a latest checkout of the code and make a release build by running
"$mvn clean package -Prelease -DskipTests". You will in target folder.
We are anyhow targeting 0.9.2 release by Oct 1st week. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment