Couchbase Q&A

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

Sync Gateway User Access

Hello,

I have created users through the Sync Gateway.

The user documents contain ID ( _sync : user : name ), name, password, roles and user's channels.

I am trying to send data and do a pull replication from an Android device with an app using Couchbase Lite...

fredlaub's picture
Asked 6 months 1 week ago
Latest activity 6 months 6 days ago

dateToArray(date) milliseconds

Hi,

Using builtin functions instead of custom functions is better, as I read in the doc.

Now the builtin function dateToArray doesn't include the milliseconds, so what do you suggest if I want the milliseconds to be included in my view for sorting?

Example in doc:
...

bmhardy's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

couchbase and sync using ssl

Hello,

I have sync_gateway and couchbase running on amazon AWS. How can I get set up to use SSL with couchbase and sync_gateway? I'm currently running couchbase on port 8091 and gateway on 4984.

I read here (...

amitg's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

Elasticsearch slowing down Couchbase set operations (inserts)?

Hello, we are experimenting with Couchbase and ElasticSearch.
I know this may sound strange but when we run them both (on the same machine) we get much slower response times from Couchbase set operations.
If we take down the ElasticSearch process (leaving the XDCR replication as it...

juan.musacchio's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

Bug in ClusterManager class?

Hi

I've been experiencing some connection issues ("Unable to connecto to cluster") while listing the couchbase buckets. After some debugging I realized that could be a race condition in the ClusterManager sendRequest method. The following are the involved lines (took it from master branch...

saransh2012's picture
Asked 6 months 1 week ago
Latest activity 5 months 4 weeks ago

How is buffer stored?

I am trying to use crypt module of node.js to encrypt the password of the user. The function return me a buffer which I store in couchbase. I want to know how does the node SDK of couchbase store the buffers? When I am trying to verify if the passwords are correct or not, it doesn't match....

oberon's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

Couchbase Lite and Oauth

Hello,

I'm testing with Couchbase Lite (Android) and Sync Gateway. I'm trying Oauth authentication, but I'm not able to.

Is there any example that can take a look?

Thank you very much.

jarod's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

How to query Couchbase using GetView StartKey and stringKey contains "&"

Im having problems querying Couchbase when the Startkey or EndKey contains "&" or "'".
Im using .Net SDK 1.3.0

protected IView GetView(string name,
string startKey, string endKey,...

qingdou's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

.NET SDK + Hammock

Hello,

I would like to use Hammock inside the .NET SDK, and I find a 'HammockHttpClient.cs' in the 'Couchbase.HttpClient' project. How should I use this HammockHttpClient.cs file in my project?

I tried to add '' to App.config. However I got the following error:

'The value of...

haakonl's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Out of Memory regularly on 2.0.1 and 2.1.1

Hi,

we have a cluster where the nodes fails regularly because of an out of memory crash. In the console, we find this message in the logs:

Control connection to memcached on 'ns_1@10.45.11.215' disconnected: {{badmatch,
{error,
closed}},
[{mc_client_binary,
...

Pages