Unable to connect to Mongodb database on meteor.com

I have two sites on meteor.com, hosted on two different servers. I can connect to the database of one but not the other.

To connect, in my project folder I ran this command:

meteor mongo my-first-site.meteor.com

(this site is hosted on production-db-a1.meteor.io)

and

meteor mongo my-second-site.meteor.com

(this site is hosted on SG-mother1-6242.servers.mongodirector.com)

In both cases I then see MongoDB shell version: 2.6.7 in the command line.`So both sites are running the same version of MongoDB.

The site hosted on production-db-a1.meteor.io:27017 connects fine.

The site hosted on SG-mother1-6242.servers.mongodirector.com fails with:

Error: 18 { ok: 0.0, errmsg: "auth failed", code: 18 } at src/mongo/shell/db.js:1210

My local Meteor is v1.2.1.

My local mongod version is 2.4.9

Please, has anybody got any ideas? status.meteor.com says all sites are operational and both sites seem to be running fine otherwise.

Hi there,

I confirm having the same issue on my unique test site:

meteor mongo school-lab.meteor.com
MongoDB shell version: 2.6.7
connecting to: sg-mother1-6242.servers.mongodirector.com:27017/school-lab_meteor_com
2015-12-19T18:13:15.761+0100 Error: 18 { ok: 0.0, errmsg: “auth failed”, code: 18 } at src/mongo/shell/db.js:1210

Works fine locally …

Trying daily since last wednesday … no change. can’t find any idea on my side …

Regards,
Corb.

We indeed have a problem right now with using meteor mongo to connect to newly deployed apps. Here’s the reason and a workaround: `meteor mongo XXX.meteor.com` giving “exception: login failed” - workaround