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
2 answers

Android Couchbase SyncGateway Cookie

salam i do this for enable cookie in android project, but in sync-gateway log return : 401 login required session_id("6e2b5106712c0aa3e0048c5b724b302df63d5fbf") is valid for 20 year couchbase server is in another local pc(192.168.137.137) try…
sadegh
  • 33
  • 6
0
votes
1 answer

Setting up PouchDB to Sync Gateway Walrus replication

I'm having a hard time setting up the replication between PouchDB and Sync Gateway. I tried to follow Couchbase's blog post, but I wasn't successfull, either. I'm building an Ionic application with angular-pouchdb and ng-pouchdb. Here's what I got…
0
votes
1 answer

Couchbase Sync Gateway

I am learning about couchbase. It's my first experience with NoSQL databases. In the case of a central server and many users with mobile devices. I want every user on your database has different data. I have doubts about the sync. To synchronize,…
user60108
  • 3,270
  • 2
  • 27
  • 43
0
votes
1 answer

sync existing oracle data base with Couchbase server

We hope to implement Couch base Mobile for our mobile application to add the offline support. Is it possible to sync our existing oracle data base with Couch base server. Our mobile application developed using xamarin and it is a xamarin form…
0
votes
1 answer

Can't install Couchbase sync gateway

Hey I'm trying to install Couchbase Sync Gateway in my iOS app but it doesn't work. I am trying many but not sync or connect with Couchbase Server. if you guys Know then tell me proper method or way to do that. thanks
Jack
  • 11
  • 1
0
votes
1 answer

Validate Couchbase Sync Gateway Credentials from Android

I am working on an Android app which uses Couchbase Lite and Sync Gateway. I'm authenticating against the Sync Gateway using basic HTTP authentication. Is there a way to validate a user's credentials without triggering a replication? I believe I…
Alan
  • 2,962
  • 2
  • 15
  • 18
0
votes
0 answers

Couchbase 'SKIP' attribute for pagination not working

I am working on couchbase-sync-gateway for my new project. I need pagination some of my documents list. Couchbase pagination attribute "SKIP" not working for me. for example my query string is like _all_docs?limit=5&skip=10 "LIMIT" is working…
Jahanzaib Aslam
  • 2,731
  • 3
  • 21
  • 26
0
votes
1 answer

Couchbase-lite replication error

working with pure java and couchbase-lite. running following code: Manager manager = new Manager(new JavaContext("data"), Manager.DEFAULT_OPTIONS); Manager.enableLogging("Sync", Log.VERBOSE); final Database db =…
Waqas
  • 49
  • 4
0
votes
1 answer

Authorizing Users in couchbase sync gateway

Authorizing User through code: String url = "http://localhost:4984/sync_gateway/_user/GUEST"; URL obj = new URL(url); HttpURLConnection con = (HttpURLConnection) obj.openConnection(); con.setRequestMethod("POST"); …
0
votes
1 answer

couchbase lite xamarin pull replication with sync-gateway

I want to pull documents with username attribute as user1 for user1 like that for each user only attribute with their name. This is my replication code. private void setupreplication(){ Console.WriteLine ("Setting up replication"); …
0
votes
2 answers

Integrating xamarin, CouchBaseLite, MVVMCross and SyncGateway such that View changes with database

I am working on a xamarin project where i use CouchBase Lite as my Local database. I also want to use MVVMCross library. Could anyone specify where should i include couchbase-Lite library, MVVMCross - hot tuna library(like class library or portable…
0
votes
1 answer

How to establish connection between couchbase server and couchbase sync gateway in Mac OS?

Establishing connection between couchbase server and couchbase sync gateway in Mac OS - $ ../sync_gateway ==== Couchbase Sync Gateway/1.0.4(34;04138fd) ==== Configured Go to use all 2 CPUs; `setenv GOMAXPROCS` to override this Opening db…
Chethan Pasupuleti
  • 111
  • 1
  • 1
  • 4
0
votes
1 answer

Create a new user inside the couchbase-sync-gateway's sync-function?

I am about to use the couchbase-sync-gateway. I would like it to be the only backend, so this is my question: Is it possible to implement the user registration logic inside the Sync Gateway? check whether username exists if yes return an error…
Skip
  • 6,240
  • 11
  • 67
  • 117
0
votes
1 answer

How to manage Roles in Couchbase?

I have a Couchbase backend hosted in a remote server and I want to update my sync function in order to grant data access to users. The users are generated by Passport.js, and my trouble is to perform basic CRUD operations on roles. The official…
0
votes
1 answer

Start sync gateway service when system restarts

I start the sync gateway server from command line like this: $ ./sync_gateway_service_install.sh But I have to do this every time I reboot the server. Is there any way to make this script run at server start up? I'm running Ubuntu 14.04.1 on my…
Hadi Sharghi
  • 903
  • 16
  • 33
1 2 3
15
16