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?
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:
local/admin , click "Save" and "Connect" - Robomongo closes silently? ./robomongo from _bin_ folder. Maybe you will be able to see any errors/warnings in terminal?
- 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.
- 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:
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)