Questions tagged [mongohq]

Compose (formerly MongoHQ) is a Database-as-a-Service (DBaaS) platform for securely hosting and managing databases instances including MongoDB.

Compose (formerly MongoHQ) is a Database-as-a-Service (DBaaS) platform for securely hosting and managing databases instances including MongoDB.

More information:

148 questions
0
votes
1 answer

I'm using MongoHQ through CloudBees - where is my db password?

I've registered to use Mongo HQ as a CloudBees service. My app is using the provided URI and this works fine. I'd like to access the Mongo shell directly and for this I need username/password and I'm unable to find my Mongo pwd anywhere. Do you know…
0
votes
1 answer

connecting to mongo via open using node.js

How can I connect without to a distant database (MONGOHQ) without using MongoClient.connect() ? var db, mongo, server; mongo = require("mongodb"); server = new mongo.Server("mongodb://login:password@paulo.mongohq.com:10057//appname", 10057, { …
maximegir
  • 63
  • 7
0
votes
1 answer

MongoDB is not producing output with Node.js

I am having trouble getting the output of a MongoDB query. When I call the save method: db.users.save({email: "test@gmail.com", password: "test", sex: "male"}, function(err, saved) { }); The code works, and stores the entry. However,…
user1330691
  • 997
  • 4
  • 11
  • 13
0
votes
1 answer

MongoHQ + MongoMapper setup error with Heroku - failed to authenticate user

I am trying to configure my Rails3 application with MongoMapper to connect to the MongoHQ database that was created through my Heroku account. Right now when I push my code to Heroku, it crashes with a Mongo::AuthenticationError. The stack trace…
KJ50
  • 765
  • 1
  • 10
  • 27
0
votes
2 answers

Rails. First request slow, times out (40sec), the next ones are faster (1.5 sec). No custom caching, how can that be?

I moved an app from the bamboo stack to cedar and the server is behaving wierdly, it times out on the first request, taking 40sec according to the logs, while the next, same request, takes 1.5 sec. You would think the dyno slept, but I've got 2-3…
oma
  • 38,642
  • 11
  • 71
  • 99
0
votes
1 answer

How to detect if an app is running with Cloud9?

I'm developping a node application, sometimes with Eclipse (locally) and sometimes with Cloud9 (remotely). As I'm using a database, I have one local with mongoDB and another remote on mongoHQ. If I dont want to use the DB on mongoHQ when I work…
GuillaumeA
  • 3,493
  • 4
  • 35
  • 69
0
votes
1 answer

Python Connection with mongoHQ fails?

I want to connect to mongoHq database through python. here is what i have done so far an environmental variable is set: MONGOHQ_URL = mongodb://myusername:mypassword@paulo.mongohq.com:10084/mydb and the app.py file import os import datetime import…
Shivamshaz
  • 262
  • 2
  • 3
  • 10
0
votes
1 answer

heroku+mongoid: No database set for session. Call #use or #with before accessing the database

I'm using Heroku + Ruby 2.0.0p247, Rails 4.0.0, Mongoid4.0.0, MongoHQ add-on What have I done: created new project using latest rails and ruby without activeRecords, installed gems mongoid and bson_ext, created config file for mongoid: development: …
Avael Kross
  • 428
  • 1
  • 5
  • 17
0
votes
1 answer

Count email submit in Meteor and MongoDB

I just wrote a small program in meteor and using MongoHQ running under Heroku. This simple app will create a live count of how many people submit the email. You can find the example here: DearJJAbrams Here is the collection: Counts = new…
Khoa Pham
  • 285
  • 3
  • 10
0
votes
1 answer

Heroku + NodeJS + MongoHQ + MongoSync: [Error: failed to connect to [mongodb://xyz.mongohq.com]]

I've encountered a bizarre error trying to connect to a MongoHQ MongoDB on Heroku using NodeJS. It worked before and now it has stopped to work. I can connect to database on my local machine, so I guess that MongoHQ is working just fine. On Heroku,…
0
votes
0 answers

get full collection from mongohq using rest api

I am trying to find a way to get a collection from mongohq using Java and rest API. I know that I can get the collection on by one using Java: public static String get(String collection, String id) { return getString =…
Ygandelsman
  • 453
  • 7
  • 16
0
votes
1 answer

post request to Mongohq from Appengine

I am trying to send a post request to mongohq server from my AppEngine using rest api. I use this code: public static void post(String id, String context) { String urlString =…
Ygandelsman
  • 453
  • 7
  • 16
0
votes
2 answers

Trouble deploying to Heroku using Mongoskin and MongoHQ with Nodejs

I'm currently building a node/express.js app that uses mongoskin. I recently deployed my app to Heroku and having tons of headache with incorporating mongohq to work with my app. This is the app.js file which I run with node app.js var express =…
dazer
  • 223
  • 1
  • 4
  • 14
0
votes
1 answer

How do I run my Flask app remotely using MongoHQ and Heroku (Python)

I have a script written in Python that lets me consume tweets from Terminal into a locally hosted mongodb database. To improve uptime, I would like to host this script remotely on Heroku and to shoot the consumed tweets into a database hosted with…
user2161725
  • 667
  • 2
  • 7
  • 12
0
votes
1 answer

Caching large static files for quick serving on Heroku

I recently deployed a Flask app on Heroku. Right now the backend is all managed through MongoEngine. I have an issue though, which is that I have some fairly large static files (about 30 Mb in total) which I need to load very quickly. (It's an ML…
Slater Victoroff
  • 21,376
  • 21
  • 85
  • 144