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
2
votes
1 answer

How can I see the tree of a document in couchbase server in N1QL?

My platform is Couchbase Server on version: 4.6.1-3652 Enterprise Edition (build-3652). I have seen that in every document there is the history with the list of revisions. In N1QL, does anyone know how to get all the different bodies of each…
Κωλζαρ
  • 803
  • 1
  • 10
  • 22
2
votes
1 answer

Couchbase sync-gateway

Recently I've installed couchbase sync-gateway, and i'm having following issues from step one, 1) When doing an initial replication from couchbase to pouchdb through syncgateway, there are excess documents coming through. Eg: Having only 3 objects…
EdwardKenway
  • 161
  • 1
  • 1
  • 9
2
votes
2 answers

Couchbase: Sync data with conditions

I am building chat application where mobile app user keeps data on his device. We try to sync only user-related data from the server to client( couchbase server to couchbase mobile ). But from mobile using swift all Bucket is stored from server to…
Himanshu Pandey
  • 1,250
  • 2
  • 23
  • 38
2
votes
2 answers

why Sync-Gateway shows "404 no such database" error?

I wrote an android app to create a Couchbase Lite database according to this tutorial and it works correctly from what Log shows. I also Installed Couchbase Serever and created a bucket named "mycouchbasedb" as shown: When I run Sync gateway using…
Mdeh
  • 451
  • 4
  • 8
2
votes
0 answers

Couchbase lite Sync Warning

I am new to couch base and I am using couchbaselite-1.4.0 for my JAVAFX application. When I start the application, after few seconds, I am getting the below warning. And my database is not syncing with remote database anymore. Dec 11, 2017 12:45:07…
2
votes
0 answers

Unable to sync couchbase view in pouchdb using couchbase sync gateway

I am trying to get couchbase view result in pouchdb,but pouchdb unable to sync when i tried this code : remoteDatabase url is(sync gateway url)=http://localhost:4984/sync_gateway database.replicate.from(remoteDatabase, { live: true, retry:…
2
votes
1 answer

Couchbase Microservice Architecture

I've read a lot of articles about having a datastore per microservice. I'm going to use this approach but want to know the best way to go about it using Couchbase Sync Gateway since I want to use Sync Gateway REST API calls both from mobile AND…
gcc
  • 283
  • 1
  • 3
  • 14
2
votes
1 answer

How to sync data saved by server into couchbaselite

It is possible to sync data saved by server application into mobile apps? Now i have got sync between couchbaselite -> sync_gateway -> couchbase_server and now i wanna sync in that way: java application -> couchbase_server -> sync_gateway ->…
Łukasz Woźniczka
  • 1,625
  • 3
  • 28
  • 51
2
votes
0 answers

List of NoSQL DB available for electron app which are easy to sync with couchbase?

I have a Desktop application, which is built using Electron. Lets say, this application, runs offline most of the time. and I want to sync the data with the cloud database ( couchbase). I would like to know, which NoSQL database will be suitable…
ravindar
  • 406
  • 4
  • 13
2
votes
1 answer

How to setup sync URL in couchbase sync gateway to connect to couchbase server

I am trying to use CouchBase Lite for my mobile app. I have seen in tutorial of couchbase but it shows how to add sync URL for walrus server not couchbase server. How can I set up sync URL for couchbase server. Following is the code which I am using…
2
votes
2 answers

Can Sync gateway views be pulled/replicated on client side?

I have this use case, where I have created server side views on sync gateway based on a rolling time window of 10 days. Is there a way to directly pull those on my device side? When I look at the documentation, I see that there's no way these can…
Sagar
  • 229
  • 4
  • 14
2
votes
2 answers

Documents added from java code not syncing with couchbase lite

I did syncing from local couchbase server to my android and IOS application and it is working fine for mobile to server and server to mobile. Then i tried to insert document from JAVA Web application to local server and i succeed to do that. But the…
2
votes
2 answers

Java: Any need to use sync gateway in web application for communicating with couchbase server?

I am new in couchDB database. I am trying to connect couchbase server using JAVA client, but I am confused in Couchbase sync gateway. My question is, Couchbase sync gateway is only for mobile application or can we use for web application? is this…
2
votes
1 answer

Couchbase facebook pull authenticator

I am using couchbase mobile for an application and I want to use facebook for authentication. As per documentation, couchbase offers it's own implementation for authentication, the only required thing would be the token which I retrieve from the…
2
votes
2 answers

How does Couchbase Sync Gateway get Couchbase Server changes?

What mechanism does Couchbase Sync Gateway use for getting the database changes in the couchbase server. Does it do a long Poll or create a websocket connection ? Or does is frequently invokes Couchbase server REST API ? If so then which REST API…
ajaygopal07
  • 150
  • 8
1 2
3
15 16