Robomongo: 'Unable to authorize' when connect to mongolab sandbox

Created on 25 Sep 2015  Â·  57Comments  Â·  Source: Studio3T/robomongo

2015-09-25 13:03:14: Settings saved to: C:/Users/bli2/.config/robomongo/robomongo.json
2015-09-25 13:04:48: Connecting to ds041663.mongolab.com:41663...
2015-09-25 13:04:51: Settings saved to: C:/Users/bli2/.config/robomongo/robomongo.json
2015-09-25 13:04:51: connect failed
2015-09-25 13:04:54: Unable to authorize

When I connect to mongolab, I got 'Unable to authorize' error. I do input the correct username and password. Besides, I can connect to my mongolab sandbox via Node application.

critical-connectivity high vote

Most helpful comment

Hi @banerjeesaikat6, could you please share error message occurring on connection, robomongo version and OS version? As I checked my mLab connection and it works well for me (using 0.9.0 - RC9 version on Win10). Have attached screens with connection details below. Thank you!

1

2

All 57 comments

I'm getting the same message when trying to connect to MongoDB on MongoLab.

I can also connect using CLI and even my own PHP script.

I'm getting the same message when trying to connect to MongoDB on MongoLab.

robomongo_error

This stopped working for me today as well. However I can still get to my 2.6 databases..

using Robomongo and NOSqlViewer as gui tools.on both same error is displayed.

Using 0.8.4 and connecting to mongod 3.0.5 (Mongolab) fails...

Ditto for me. Possibly related to or duplicate of #824

This also stopped working for me a few days ago. On 3.0.6

No problems from CLI or Node.js connections

+1 same screen as @sureshsachin
Stopped working today. I'm sure it was working before with the same username/password. I didn't touch Robomongo at all. Has Mongolab made some changes?

This is possibly due to the Mongo Lab upgrade to 3.0!

Is there any work still happening on Robomongo? It seems like it has been more than a year since the last commit and no sign of work happening on 0.9.x and the move to v8...

I believe this is cause by Mongolab having the authentication mechanism set to use SCRAM-SHA-1 when they upgraded to MongoDB 3.0

Yes thanks confirmed with Mongolab support. Only way round is to either get your own instance with them and run at version 2... or use another mongo client :(

I'm running into this as well.

I was running into the same issue yesterday trying to log into MongoLab with robomongo and logging into the mongo CLI shell

Same issue .. Kindly inform if there is any solution to this ..

+1 any updates on a fix to this?

Any good alternatives to robomongo in the meantime?

I tried on mongovue 1.6.9 it's same.

@nodeit I'm using MongoChef

@andersonpimentel thanks, I just found that one myself. It's working perfect for me.

Recently, MongoLab migrated all instances to 3.0 version.
And the last Robomongo can't work with it. Waiting for updates (see https://github.com/paralect/robomongo/issues/520).

@wowkin2
MongoChef is worked !!
@andersonpimentel thanks!!

@andersonpimentel, @thisismygithub, but MongoChef takes 10 times more RAM than RoboMongo and is slower because of Java

@wowkin2 valid points but the most important thing here is that MongoChef actually works with MongoLab right now whereas RoboMongo does not.

I'm making the switch until RoboMongo gets updated then I'll reevaluate.

Same issue here. Mongolab sandbox + mongo 3

Same issue too.

Same problem. Just cannot connect.

+1

+1

Hi all, it seems like Robomongo is actually fundraising to stay alive for the next year. If you like the tool consider supporting its development! See their indiegogo campaign here: https://www.indiegogo.com/projects/save-robomongo#/.

+1

+1

+1

+1

+1

@welll Actually there is 0.9 RC1 version for linux & osx which do support mongodb 3+ and therefore supports connections to mongolab.

Robomongo 0.9.0 RC2 supports MongoDB 3.x and WiredTiger engine. For any found issues, please create new ticket.

Still doesn't work.

installing 0.9.0 RC7 solved it for me

yeah, working in the last version.

Just installed 0.9.0-RC7 but I get Authorization failed. Is there something spesific I have to do in order to achieve connection? I put connection address/port and authentication username/password but I can't get it done (tried both auth mechanisms). Thanks.

Hi @xtsimpouris
What is it telling you?
Can you also check if your DB server address/port is accessible outside robomongo?

@xtsimpouris Which os are you using?

My bad - sorry to bother you. I had to put also admin table in order to work. Thanks however :)

Any change in this? I am not even able to reach to the mlab server address.

Hi @banerjeesaikat6, could you please share error message occurring on connection, robomongo version and OS version? As I checked my mLab connection and it works well for me (using 0.9.0 - RC9 version on Win10). Have attached screens with connection details below. Thank you!

1

2

It is working for me in RC6 but not in RC9 although I am doing everything
similar.

Thanks,
Saikat

On Wed, Aug 3, 2016 at 3:11 PM, Julia Shibalko [email protected]
wrote:

Hi @banerjeesaikat6 https://github.com/banerjeesaikat6, could you
please share error message occurring on connection, robomongo version and
OS version? As I checked my mLab connection and it works well for me (using
0.9.0 - RC9 version on Win10). Have attached screens with connection
details below. Thank you!

[image: 1]
https://cloud.githubusercontent.com/assets/16773195/17361001/d9841dcc-5976-11e6-9f94-b3d88cf763fc.png

[image: 2]
https://cloud.githubusercontent.com/assets/16773195/17361002/d9907ebe-5976-11e6-90c8-59c3f12d3ad2.png

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/paralect/robomongo/issues/949#issuecomment-237190894,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AENsZ-dUHWMNa0ZUl2sJvHyyAi1MkWWOks5qcGI0gaJpZM4GDmq2
.

@banerjeesaikat6 I have moved your problem to ticket #1166 as this card is closed, so please click the link and feel free to add any details. Thanks in advance!

Thanks. Helpful solution

Same issue here
screenshot from 2016-09-14 16-07-22

i'm using 0.9.0-RC9 to Sandbox

My OS is ubuntu

:(

Hi @reggieboyYEAH, I have just done a test with RC9 on Ubuntu, the connection to Sandbox was successful. Your error is high probably related to the first tab "Connection".

Can you share screenshot from "Connection" tab please?
Also please make sure ds011725.mlab.com is reachable from your local. ping ds011725.mlab.com

I have just done a test with RC9 on Windows x64, the connection to Sandbox was successful.

i was able to connect using the latest version as well. I tried multiple time and authorization was failing.. only to find i was using mlab credentials and not the actual database credentials. I had to create user for database in mlab and credentials i created for it worked just fine.

@abhinav-atmosfi thank you for sharing! Hope this information will help with problem solving.

Robomongo 0.9.0-RC10 worked for me with mLab (mongod version: 3.2.10 (MMAPv1)). Make sure that:

  • in the Authentication tab you enter the correct database name;
  • username is above specified database username, not mLab username;
  • AuthMechanism is SCRAM-SHA-1, not MONGODB-CR;

Hope this helps!

@juliashibalko's solution worked for me, Ubuntu 16.04 , Robomongo 0.9.0 , thanks

Thanks @juliashibalko, your's solution worked.

@claudiuconstantin How to get database username?. i configure only mlab username and passwords!!

Was this page helpful?
0 / 5 - 0 ratings