Robomongo: Crash when selecting "local', "admin" or the database name in auth tab on AWS EC2 instance

Created on 11 Aug 2016  路  10Comments  路  Source: Studio3T/robomongo

I try to connect to my mongo database on my ec2 instance. I can do it using the shell with no problem.

On robomongo (latest version), I can also connect to the "test" database (empty), all green (ssh ok, ssh tunneling ok, login mongo ok).

However, if I set "local", "admin", or my db name in the Authentication tab, in the database field, robomongo close with no warnings.

Is this a known issue? What can I do?

major needs repro os-linux

All 10 comments

Hi @Billybobbonnet, thanks for reporting! Could you please provide your OS version (where Robomongo is installed) to help us with replicating?

Hi @juliashibalko

I am using ubuntu 16.04 64bits. Feel free to ask if you need more details.

@Billybobbonnet thanks a lot! Let us check the problem and we will get back to you with any news. We are very sorry for this issue!

Quick update: it works when I disable authentication. I assumed I had to use it, but by accessing from local using ssh, it seems I don't.

FYI, I created my admin user (the one crashing robomongo when I use its credentials) like this:

db.createUser( { user: "admin", pwd: "myPassword", roles: [ { role: "clusterAdmin", db: "admin" }, { role: "readWrite", db: "config" } ] } )

Sorry for the inconvenience.

@Billybobbonnet glad to hear that it works and thanks a lot for details! I'm still investigating problem you wrote about above.
If you have some free minutes, could you please reproduce the issue and share next things:

  1. Am I correct with steps: for Connection you set address, authentication details and SSH details. For Auth tab you set database as local/admin , click "Save" and "Connect" - Robomongo closes silently?
  2. If you're using Ubuntu, it's possible to launch Robomongo via terminal - like ./robomongo from _bin_ folder. Maybe you will be able to see any errors/warnings in terminal?
  1. Am I correct with steps: for Connection you set address, authentication details and SSH details. For Auth tab you set database as local/admin , click "Save" and "Connect" - Robomongo closes silently?

Indeed, that's what happens.

  1. If you're using Ubuntu, it's possible to launch Robomongo via terminal - like ./robomongo from bin folder. Maybe you will be able to see any errors/warnings in terminal?

The feedback is pretty concise while it silently crashes:

Erreur du bus (core dumped) translated from French into "bus error"

@Billybobbonnet thank you a lot! And one more question. Could you please specify OS running on your EC2 instance?

This is a t2.micro instance with ubuntu server 14.04 LTS. Glad if I can help! :)

When I will have more time, I will make you detailed screenshots of the connection settings.

Considering the amount of info, it's easier to go field by field:

Connection tab:
Address: localhost : _port number_

Auth tab:

  • perform authentication checked
  • Database : admin, local, or the DB name (same crash result)
  • UserName: admin (I tried to create other user names too, same result)
  • Auth Mechanism: MONGODB-CR (ec2 requirement afaik)

SSH tab

Auth method: private key

Advanced tab is empty (but I tried to set the default DB to admin, local or the DB name, same result)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

andidev picture andidev  路  3Comments

murshid1988 picture murshid1988  路  3Comments

stennie picture stennie  路  4Comments

axe-z picture axe-z  路  3Comments

equero picture equero  路  3Comments