Questions tagged [compose-db]

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).

94 questions
1
vote
1 answer

Could not get a Transport from the Transport Pool for host

I'm trying to write to an IBM Compose Elasticsearch sink from Spark Structured Streaming on IBM Analytics Engine. My spark code: dataDf .writeStream .outputMode(OutputMode.Append) .format("org.elasticsearch.spark.sql") …
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
1
vote
1 answer

WARN Session: Error creating pool to /xxx.xxx.xxx.xxx:28730

I'm trying to connect to a ScyllaDB database running on IBM Cloud from Spark 2.3 running on IBM Analytics Engine. I'm starting the spark shell like so ... $ spark-shell --master local[1] \ --files jaas.conf \ --packages…
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
1
vote
1 answer

Compose io cant connect to Mongo Compass

Using compose.io with a MongoDB it does have SSL. when copying the URI string i go into Compass and am prompted to fill in details from a string which I do, when trying to connect I get this error message. Could not connect to MongoDB on the…
Nicholas Ritson
  • 869
  • 4
  • 13
  • 30
1
vote
1 answer

Security / TLS support of Compose for Redis on IBM Bluemix Public?

I am thinking about using Compose for Redis on Bluemix Public but... In Bluemix catalog, there is the sentence: Compose's platform gives you a configuration pre-tuned for high availability and locked down with additional security features. - does…
Zdeněk
  • 323
  • 2
  • 9
1
vote
1 answer

Openwhisk failing to call compose postgre sql

I have tried for more hours than I care to admit to get an openWhisk function to call a postgre sql datbase on Compose.io. Here is my code: My latest incarnation is this: function myAction(params) { return new Promise(function(resolve,…
1
vote
1 answer

How to retrieve the APIKEY for a Compose database instance on Bluemix?

The Compose documentation describes how a backup can be initiated: export APIKEY=your_apikey_here export DEPLOYMENT=your_deployment_id curl -X POST -H "Authorization: Bearer $APIKEY" -H "Content-Type: application/json"…
Chris Snow
  • 23,813
  • 35
  • 144
  • 309
1
vote
1 answer

Setting up mongodb config in Laravel with Compose.io

Its my first time use compose.io as my mongodb hosting. I was trying to configure compose.io mongodb with Laravel but ended up this error: ConnectionTimeoutException in Collection.php line 432: No suitable servers found (`serverSelectionTryOnce`…
arjayads
  • 553
  • 1
  • 5
  • 17
1
vote
2 answers

Unable to insert records using insertMany using compose for mongodb

I am using nodejs to connect and insert records in compose for mongodb.I am getting the below error when I try to use insertMany and save records. (node:10140) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1):…
Monesh
  • 21
  • 4
1
vote
1 answer

Connect SpringBoot to MySQL hosted in the cloud requires SSL

I am successful using MySQL Workbench to do full crud on a Bluemix hosted MySQL Compose service. I then built a simple Microservice with SpringBoot on my local laptop with Apache Derby... successful. My next step was to use the MySQL Compose hosted…
xpagesbeast
  • 776
  • 1
  • 10
  • 21
1
vote
2 answers

How can we access Bluemix hosted "Compose for MongoDB" service from "outside"?

Situation: Have created today a new Compose for MongoDB Service instance in Bluemix Need: I have to access this MongoDB DIRECTLY with tools (eg. Mongo Managemant Studio Pro, mongo.exe, etc.) for bulkloading, testing, ad-hoc data fix, etc.…
1
vote
1 answer

Does IBM Compose provide a REST API to trigger a backup?

I want to programmatically trigger a backup in an IBM Compose database. Is there a REST API available for that?
1
vote
1 answer

Cannot connect to compose.io hosted rethinkdb with clojure

I'm using the clojure rethinkdb library https://github.com/apa512/clj-rethinkdb - here's my connection snippet: (ns rethink.core (:require [environ.core] [cheshire.core :as json] [org.httpkit.client :as http] [rethinkdb.query :as…
JeremyKirkham
  • 1,025
  • 2
  • 11
  • 22
1
vote
1 answer

Encoding with 'idna' codec failed in RethinkDB

I have a flask app that runs and connects to a remote rethinkdb database on compose.io. The app is also deployed to pythonanywhere.com, but this deployment keeps throwing the following error: Traceback (most recent call last): File…
Ally Jr
  • 1,055
  • 1
  • 14
  • 27
1
vote
1 answer

Connecting to compose.io rethinkDB server with thinky.io

I am trying to connect to a hosted rethinkDB server on compose.io using thinky.io According to the docs I can connect with the following using r.connect: const r = require('rethinkdb'); const fs = require('fs'); fs.readFile('../cacert',…
alex
  • 5,467
  • 4
  • 33
  • 43
1
vote
1 answer

How to transfer Mongo Database from one remote server to another

I need to transition several databases from one remote, cloud-based server/service (modulus.io) to another (Compose.io). As far as I'm aware, I don't have console access on the target server, which seems to be required for using mongocopy or…
user2330237
  • 1,629
  • 5
  • 20
  • 39