Questions tagged [mlab]

MongoLab (Rebranded as mLab) is a fully-managed MongoDB Database-as-a-Service (DBaaS) platform that automates the operational aspects of running MongoDB in the cloud.

MongoLab is a fully-managed cloud database service featuring highly-available MongoDB databases, automated backups, web-based tools, 24/7 monitoring, and expert support. By hosting MongoDB on MongoLab’s Database-as-a-Service (DBaaS) platform, developers and IT professionals are free to focus their attention on product development instead of operations.

MongoLab runs on all the major cloud platforms, including Amazon, Joyent, Rackspace and Windows Azure, and has partnered with all of the major Platform-as-a-Service (PaaS) providers to enable seamless integration with the application tier.

Headquartered in San Francisco, MongoLab is backed by premier venture and angel investors including Foundry Group, Baseline Ventures, GRP Partners, Freestyle Capital, and David Cohen of TechStars.

Learn more at https://mlab.com/

852 questions
5
votes
2 answers

Syntax for Heroku environment variables in config.yaml for node.js?

I've tried using: db: uri: process.env.MONGOLAB_URI but that doesn't seem to be working. (EDIT: in fact, that just returns the string of "process.env.MONGOLAB_URI") I've also tried: <%= ENV['MONGOLAB_URI'] %> but I saw that in article for an…
Miles
  • 1,615
  • 4
  • 17
  • 42
4
votes
3 answers

Heroku could not authenticate mongolab

It was corrected two days ago. And yesterday I committed some changes to heroku and the application crashed, I found from heroku logs that: /app/.bundle/gems/ruby/1.9.1/gems/mongo-1.4.0/lib/mongo/db.rb:137:in `issue_authentication': Failed to…
larryzhao
  • 3,173
  • 2
  • 40
  • 62
4
votes
2 answers

Mongo Query failed with error code 13 and error message 'not authorized'

Error occures when I am trying to make an query to mongo instance on mLab. I am requesting it from spring boot app. Connection to database is stable. Below log from console. Monitor thread successfully connected to server with description…
bkubiak
  • 315
  • 2
  • 3
  • 12
4
votes
1 answer

What latency can I expect when using MongoHQ from an external web server

Does anyone have advice to offer regarding using a hosted DB solution, specifically MongoDB, with a web server. Specifically: Is the latency acceptable? How do I co-locate (geographically via Azure, etc) the web server with the hosted DB server to…
Slappy
  • 4,042
  • 2
  • 29
  • 41
4
votes
4 answers

mLab Connect Error: Database name cannot have reserved characters for mongodb://

I'm encountering a mongoDB connect error while running mLab commands to connect through mongo shell. Running under Windows git bash terminal with mLab command below. I'm not using any reserved characters for database name, basically just a lowercase…
hayashiraisuu
  • 41
  • 1
  • 2
4
votes
1 answer

Can't display MongoLab data on deployed Heroku website

I recently deployed my genetic data application (using the 23andMe API) to Heroku and integrated Universal SSL using Cloudflare. My data is stored in a free Sandbox plan using the MLab addon on Heroku. The 23andMe data is stored in MLab. As soon as…
govgo
  • 625
  • 6
  • 18
4
votes
3 answers

Meteor Deployment to Galaxy MONGO_URL must be set in environment

I am attempting to deploy to Meteor Galaxy using Monglab as my backend DB. The Mongolab account is set up properly and the username and password are all working properly. I constantly get a MONGO_URL must be set in environment My…
Lawyer_Coder
  • 203
  • 1
  • 3
  • 14
4
votes
1 answer

Upload Data into MongoLab database from terminal

I'm having trouble figuring out how to upload csv data to my MongoLab database. From my terminal I have used sudo mongoimport --db heroku_hkr86p3z -u -p --collection contributors --type csv --headerline --file…
4
votes
1 answer

Mongo Explorer in Web Storm

I'm trying to log into my mongolab db from webstorm plugin. My problem is that I cant connect into url like: mydb.mongolab.com:8080, my user doesn't have permissions and so I get "auth failed". I have to put my url with db on the end like:…
Jan Omacka
  • 1,810
  • 4
  • 20
  • 27
4
votes
1 answer

Did the way to connect to a MongoLab database change?

I have a Bluemix app that has a MongoDB instance bound to it. The app had been running for about a year. About a week ago, my app went down and I'm unable to redeploy it. I'm seeing the following in the log: Instance (index 0) failed to start…
Lauren Schaefer
  • 696
  • 4
  • 9
4
votes
1 answer

Getting DatabaseException 'not authorized for query on db.collection' (code = 13) after mongo3 upgrade

I use the free MongoLab, and my database was upgraded to Mongo 3 over the weekend and now my client won't connect. I keep getting a 'not authorized for query on db.collection.' error. Mongolab says I should use Mongo 3 compatible driver…
Dave DeCaprio
  • 2,051
  • 17
  • 31
4
votes
2 answers

Mongoid infinite loop on query

I use mongolab and monogid on heroku instance. I can access my models inside rails console and create them. However - calling Model.first / Model.find_or_initialize_by causes infinite loop MOPED: xx:29454 COMMAND database=admin…
Filip Bartuzi
  • 5,711
  • 7
  • 54
  • 102
4
votes
0 answers

How to setup read only access via mongolab api key

I want to use mongolab from client js. I aware that reading data from db will be accessible for anyone who knows my API key. But I must to forbid modifying of database. I can't search for actual information. Only old posts, that could be already…
Kirill Reznikov
  • 2,327
  • 3
  • 20
  • 27
4
votes
3 answers

Mongodb find() returns undefined (node.js)

Ive been playing around with mongodb in node.js. I have made a basic collection with some data (i know its there ive checked). When I try to run a find() on the collection it returns undefined. I dont know why this is. The code is below: function…
Aidan Collins
  • 215
  • 2
  • 3
  • 8
4
votes
1 answer

Deploying App Sails js Heroku | Application Error

I have a error when I run my app. Application Error. An error occurred in the application and your page could not be served. Please try again in a few moments. If you are the application owner, check your logs for details. The Heroku logs: May…