Questions tagged [couchbase-sync-gateway]

Couchbase Sync Gateway is an add-on that enables Couchbase Server 2.0 and later to act as a replication endpoint for Couchbase Lite. Sync Gateway runs an HTTP listener process that provides a passive replication endpoint and uses a Couchbase Server bucket as persistent storage for all database documents.

Couchbase Sync Gateway is an add-on that enables Couchbase Server 2.0 and newer versions to act as a replication endpoint for Couchbase Lite. Sync Gateway runs an HTTP listener process that provides a passive replication endpoint and uses a Couchbase Server bucket as persistent storage for all database documents.

Resources:

230 questions
0
votes
1 answer

Couchbase openIDConnect Authentication ios

I am trying to use couchbase DB and set up authentication for it using Authorization Code flow. I followed the steps in this link. I prepared ConfigJson accordingly. Using Pods i installed Couchbase lite for ios and gave the authenticator in…
Bharath Reddy
  • 636
  • 1
  • 5
  • 21
0
votes
1 answer

_count method returning 0, reduce=false returning docs

I want to query a CouchDB server (in this case Couchbase Sync Gateway) in order to count the number of documents matching a given key. My view is below { "views": { "wordlist_count": { "map": "function(doc) { if…
Adamski
  • 3,585
  • 5
  • 42
  • 78
0
votes
1 answer

sync only one latest updated document in pouchdb through couchbase sync gateway

In my angular Js application I am fetching data from pouchdb synced with couchbase sync gateway.I have set rev_limit to 5 in sync gateway config file. while syncing in pouchdb through sync gateway all revisions of each document are getting synced in…
swat
  • 71
  • 7
0
votes
1 answer

Sync Gateway REST API deletion over capacity

I am using couchbase sync gateway public API DELETE /{db}/{doc}+?rev=+_rev for multiple documents async deletion and got error: error: Service Unavailable, reason: Database server is over capacity I noticed that Some of the documents deleted…
leonsPAPA
  • 657
  • 2
  • 13
  • 29
0
votes
1 answer

How do you process large amount of data to be render?

In the below code example, 50 thousand Customer needs to be loaded using ListView or RecyclerView // current process, I am using pagination to load items List customers = mCustomerModule.get(limit, offset); mAdapter.addItems(customer); …
0
votes
2 answers

Couchbase Sync Gateway doesn't sync between Couchbase Lite and Couchbase Server

i have a very big problem. I'm building an app at the moment. When I start the App with the Android emulator it works fine. I can save some Data and it will show me these too. So it saves the Data locally. (Couchbase Lite) I work with an ionic…
0
votes
1 answer

How to remove a user from a channel via sync function

How is a user removed from a channel when the user was granted access via sync function? As I understand it adding a document to a channel operates on the document revision. It is therefore easy to remove a document from a channel (or remove a…
J. Reynolds
  • 151
  • 3
  • 14
0
votes
2 answers

Getting 409 trying to insert attachment to existing doc via Sync Gateway

I am trying to add an attachment to an existing document. I am using the nano library to send the data and attachments, for later access via CBLite. Those documents I created from the db.attachment.insert seem to be fine. However, now I need to add…
Adamski
  • 3,585
  • 5
  • 42
  • 78
0
votes
2 answers

Sync Gateway no longer sync widht the client, error "406 Response is multipart"

What exactly does the error message "406 Response is multipart" and how can I solve the error?
Andreas
  • 1
  • 2
0
votes
1 answer

Android Emulator Couchbase Replication Database not found error

Facing an issue with the integration of couchbase sync-gateway with couchbase-server from an android emulator Environment Details Android Emulator running on Windows Couchbase Lite installed on Windows VirtualBox hosting couchbase server and…
0
votes
1 answer

couchbase server not return id within record using c# code

when we get records from couchbase server using select query not get id of each record my code below . what i am missing var clientConfiguration = new ClientConfiguration(); clientConfiguration.Servers = new List { new…
0
votes
0 answers

How to achieve mysql WHERE IN in CouchBase?

I am trying to search my documents of specific type which have specific id's. But I have id's in an array. I could do that easily in MySQL using WHERE IN clause. But how to do that in CouchBase? My Query may look like this - SELECT token FROM…
rafi
  • 1,493
  • 3
  • 31
  • 43
0
votes
0 answers

No old revisions CPU use hight Sync Gateway Couchbase

we have web application and mobile application using shadow bucket I use Couchbase Sync Gateway 1.3.1 Couchbase Server 4.5.1 Couchbase lite 1.3.1 Problem: in my log of sync Gateway there are too many lines of CRUD+: No old revision "ID-DOCUMENT" /…
0
votes
1 answer

Couchbase lite .net SDK Replication Error

I'm working with couchbase lite .net sdk, and I got a example from below url. and my configuration file is like below. { "log": ["HTTP+"], "adminInterface": "0.0.0.0:4985", "interface": "0.0.0.0:4984", "databases": { "db": { "server":…
Meteoric
  • 136
  • 11
0
votes
1 answer

Conditions in WHERE clause in Couchbase

I am newbie to couchbase. Cannot find online what I am trying to achieve. I am trying to use condition for specific document type. My condition will be like this - if document type is 'type1' then find specific id in that document and document type…
rafi
  • 1,493
  • 3
  • 31
  • 43