DO NOT USE FOR THE ANDROID JETPACK COMPOSE (use [android-jetpack-compose] for those questions!) Compose is a Database as a Service (DBaaS) provider that offers cloud-based databases (MongoDB, Elasticsearch, RethinkDB, Redis, PostgreSQL).
Questions tagged [compose-db]
94 questions
0
votes
1 answer
Where is the Compose Scylladb SSL certificate?
I'm trying to connect to my scylladb 1.7.4 instance using the connection string provided for me in the compose overview section of the management UI:
$ cqlsh --ssl portal-xxxx.ibm-343.composedb.com 19228 -u scylla -p XXXX…

Chris Snow
- 23,813
- 35
- 144
- 309
0
votes
1 answer
Using Python 3.6.2 to connect to MongoDB on IBM Bluemix
So I'm attempting connect to a MongoDB on Bluemix (Compose for MongoDB service) through Python 3.6.2 on my local machine using the following code:
import json
import urllib.request
import pymongo
import ssl
#uri is string taken from Service…

Jack Nelson
- 1
- 1
0
votes
1 answer
How to debug MongoError failed to connect
In the server logs after a process has been successfully connected to mongo via node 6.11.1 and mongoose 4.10.4 I started seeing this error:
MongoError: failed to connect to server [aws-us-east-1-portal.8.dblayer.com:15180] on first connect…

dylanjha
- 2,303
- 4
- 28
- 47
0
votes
1 answer
SequelizeHostNotFoundError on Cloud functions
I am trying to run sequelize on Google Cloud functions, and trying to connect to a remote db hosted on compose.com, but I am getting this error
`
SequelizeHostNotFoundError: getaddrinfo ENOTFOUND gcp-us-east1-
cpu.2.dblayer.com…

perrosnk
- 835
- 2
- 13
- 23
0
votes
1 answer
compose - how to create a PostgreSQL user with superuser or replication roles?
I'm trying to use compose transporter to replicate changes from postgres to rabbitmq:
var source = postgres({
"uri": "postgres://admin:****@****.dblayer.com:17596/compose"
"debug": true,
"tail": true,
"replication_slot": "slot"
})
var sink =…

Chris Snow
- 23,813
- 35
- 144
- 309
0
votes
1 answer
Custom extension on Compose.IO PostgreSQL cluster
The Compose.IO postgresql documentation describes how to install an extension from a list of available extensions.
I would like to install the decoderbufs extension, but this extension is not in the list of available extensions. Is it possible to…

Chris Snow
- 23,813
- 35
- 144
- 309
0
votes
1 answer
How to do port translation when using an address translation map with cassandra?
I'm trying to connect to a scylladb cluster on compose using the Address Translation Map.
I can only get the code working if I hard code the port when instantiating the Cluster instance:
from cassandra.cluster import Cluster
from cassandra.policies…

Chris Snow
- 23,813
- 35
- 144
- 309
0
votes
1 answer
Failed to connect to mongodb in Bluemix, failed to find certificate path
I am unable to connect to my Compose MongoDB service from my deployed bluemix app. It seems that it cannot find the necessary certificate. I had expected that it would pick that up directly from environment variable VCAP_SERVICES.
I can run this…

DungeonTiger
- 627
- 1
- 9
- 21
0
votes
1 answer
Compose-for-mongodb Bluemix connection with pencilblue
Currently, I am using Bluemix to deploy and host a website with PencilBlue. My issue lies in the connection of a storage service "compose-for-mongo" and the pencilblue framework.
This connection is done through the VCAP JSON.
The VCAP comes with the…

Joel Almeida
- 62
- 1
- 10
0
votes
1 answer
Mongo SSL config with CA cert only works for rails console, not rails server
I am trying to configure a Rails 4.2.6 app to connect over SSL to a MongoDB cluster on compose.io. The app uses the mongo 2.4.1 and mongoid 5.1.5 gems. Compose.io MongoDB clusters use self-signed SSL certificates so I downloaded the CA certificate…

Jon Ekdahl
- 382
- 1
- 3
- 11
0
votes
2 answers
Trouble Connecting to compose.io mongodb instance with mongoose
I am using these instructions:
https://help.compose.com/docs/connecting-to-mongodb#mongoose-node-and-compose
This is the connection string they gave…

d4rklit3
- 417
- 1
- 5
- 12
0
votes
1 answer
Reduce the memory usage and the FAILCNT for MongoDB (compose)
I have a Compose.io MongoDB deploy.
The deployment has a database (11.5 GB) with 18 collections and documents:
Collection Documents Size
a.. 195 168 KB
b.. 39 40 KB
c.. 4 8…

jay
- 1,453
- 1
- 11
- 30
0
votes
2 answers
Node, Mongoose connection to IBM Bluemix Compose for Mongodb
How do you use Mongoose: https://github.com/Automattic/mongoose ?
The example here: https://github.com/IBM-Bluemix/compose-mongodb-helloworld-nodejs worked great.
Here is a simplified snippet of the example mongo…

Powell Quiring
- 2,349
- 2
- 11
- 9
0
votes
0 answers
Why do my mongodb queries timeout from an EC2 instance?
I have an EC2 instance running on elastic beanstalk host our website. Our website is a node app that connects to our replicaset and then makes a query, but that query just disappears into oblivion. Here is the code that runs when the server…

Ben Zuill-Smith
- 3,504
- 3
- 25
- 44
0
votes
1 answer
Node JS - Tips on SSH to my MongoDB
I'm currently using Compose.io to host my MongoDB - however its costs $31, my DB isn't so big and I don't really use any specific features.
I've decided to create a droplet on DigitalOcean and then use their one click install for MongoDB.
With…

userMod2
- 8,312
- 13
- 63
- 115