user7482355
user7482355

Reputation:

Robomongo: Connection error. Uninitialized Mongo scope

The connection opens successfully (with authentication). The Database and the collection are displayed. But if I open any shell I got this error:

Connection error. Uninitialized mongo scope.

The connection with the Mongo.exe and Java-Driver works fine. What does the error message mean? How to fix that?

Upvotes: 8

Views: 3757

Answers (4)

garenyondem
garenyondem

Reputation: 541

None of the above solutions work if you have recently upgraded to Robo 3T v1.3 and trying to connect to an older MongoDB version like <3.0. Apparently, Robo 3T removed some of the support for older versions and you get the same "Uninitialized mongo scope" error. Reverting to Robo 3T v1.2 is the only solution to this one.

Upvotes: 1

Ashok
Ashok

Reputation: 2932

This is not error message you need to reauthenticate( Remove connection and add new Connection) database connection.

Once you reauthenticate and connect with the database. All will work fine.

Upvotes: -1

Vince Bowdren
Vince Bowdren

Reputation: 9208

It seems to be a bug in RoboMongo; if the password contains an apostrophe, then you can connect OK but you get this error when you try to run a query.

I have logged it as an issue with the RoboMongo team: https://github.com/paralect/robomongo/issues/1300

Note: no other characters seem to cause this problem, only the apostrophe.

Upvotes: 5

user7482355
user7482355

Reputation:

I just removed the special character from the password and works now.

Upvotes: 7

Related Questions