Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
pdubs_tr's picture
Asked 11 months 1 week ago
Latest activity 2 months 2 weeks ago

.NET client won't communicate with cluster successfully configured with hostnames

Running Windows 7 x64 Couchbase 2.0.0
I have a cluster of 2 servers successfully configured to use hostnames. They both show as "up" in the console.
Host 1: host-a.domain.com
Host 2: host-a.domain.com
I have them configured in their respective config sections to use...

zbintliff's picture
Asked 7 hours 21 min ago

Multiple Views on Design Document

I'm using couchbase for proof of concepts and such. I am reading about views and design documents and understand them (I think). So far whenever I wanted to create a new view I created a new document as well. Is there any benefit or drawback for putting multiple views on the same design...

bj's picture
Asked 8 hours 57 min ago

Backing Up Without Exposing Password

cbbackup takes a password on the command line, which puts that password at risk of being exposed by any user on that server doing a ps().

Is it possible to initiate a backup (and restore) without providing the password in argv? Maybe there is a way to set an env variable that will be read...

buger's picture
Asked 20 hours 51 min ago

RAM stats do not reconcile and evictions seems to be not working as expected

Here is screenshots of stats from one of our servers:

https://www.evernote.com/shard/s9/sh/b4df493a-10a9-44d6-9fb4-6fc6e633009...

From time to time one of the...

bmhardy's picture
Asked 21 hours 34 min ago

How to get name of logged in user from cookie

Hi

I authenticated with persona using the _persona endpoint. I was able to retrieve the cookie sent back on the call. It had a named entry syncGatewaySession and an alpha numerical value. Can I get the name of the logged in user from that cookie.

Could I access that cookie after...

bmhardy's picture
Asked 23 hours 5 min ago
Latest activity 3 hours 26 min ago

requireUser not working for me.

I authenticate using persona.

I see this in the sync gateway logs

03:51:40.615322 Persona: Logged in "bsg70@gmx.com"!

My sync function looks like this:

"sync": `function(doc, oldDoc) {
if (oldDoc) {...

matthew.blyth's picture
Asked 1 day 15 hours ago
Latest activity 22 hours 19 min ago

Importing data from couchbase to hadoop using connector

Hi,
I am using the couchbase hadoop connector plugin to import data from couchbase to hadoop. Unfortunately, the values imported appear as byte array references instead of the actual byte array I was expecting. So, for example, the data output to hadoop appears as follows:

key,[B@...

bmhardy's picture
Asked 2 days 15 min ago
Latest activity 1 day 12 hours ago

How to get the session cookie after persona authentication

Hi,

I read this about using persona with couchbase:

Clients log in by sending a POST request to /dbname/_persona. The request body is a JSON document that contains an assertion property whose value is the signed assertion received from the identity provider. Just as with a _session...

sgande's picture
Asked 2 days 2 hours ago
Latest activity 1 day 8 hours ago

Connection pool to connect to multiple buckets

Greetings

I am new to couchbase and We are in process of evaluating couchbase.

I have few questions. Appreciate response.
1) How can I maintain multiple connections at a time?
My use case is , I have multiple virtual buckets and I need to connect to corresponding...

bmhardy's picture
Asked 2 days 2 hours ago
Latest activity 1 day 12 hours ago

Wrong user exception not thrown in client code.

I'm using authorization in my couchbase config.

In my config.json, my sync function says this:

if (oldDoc) {
requireUser("importantUser@consultant.com");
}

This does indeed stop un authorized users from...

Pages