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

Sync gateway is not syncing with Couchbase server in Xamarin

I am trying to use couchbase for online and offline database in my xamarin application . the offline part is working good , but it doesn't sync . I followed this tutorial…
0
votes
1 answer

Replicate data from couchbase onpremise to AWS documentdb

I have a couchbase installation onpremise and the same data at real time needs to be replicated to AWS Document DB, what are the possible approaches? Can Synch Gateway help?
dvlpr
  • 311
  • 3
  • 17
0
votes
2 answers

What does it mean that Sync-gateway returns this error 401 Login required?

Sync-gateway returns this error 401 Login required, I don't understand why. Because I put in the header the basic auth with username and password, our root user to access to Couchbase. I did a get on Sync-Gateway and it returns an error: 401 Login…
Κωλζαρ
  • 803
  • 1
  • 10
  • 22
0
votes
0 answers

Couchbase Local Server asks for Authentication

I'm sending GET request at http://192.168.43.166:4984/grocery-sync/ {"error":"Unauthorized","reason":"Login required"} and it asks for Username and Password, I don't know which credentials it's asking as I have not entered any authentication…
miPlodder
  • 795
  • 8
  • 18
0
votes
1 answer

Couchbase receive Channel null

I am using the latest Couchbase Server with Sync Gateway. On the client application swift I push a document like this: let userChannel = "\(self.login)" config.channels = [userChannel, "zzzz", "nurse1"] config.replicatorType =…
tamtoum1987
  • 1,957
  • 3
  • 27
  • 56
0
votes
1 answer

Couchbase Lite 2.1 Replicator Issue .net

We have just upgraded our SyncGatewaty to 2.1. So now I’m refactoring our client code to use CouchbaseLite 2.1. When I try to replicate I get the error: Got LiteCore error: Not Found (6/404) I originally got the error when connecting to our Dev…
0
votes
2 answers

How to filter data by channel in config file of sync gate way in Couchbase?

I connected to sync gate way via Api ,but I don't know how to filter some data and use them in my laravel project.
0
votes
0 answers

Couchbase can't connect to sync gateway & can't find config file for sync gateway for iOS application?

override func viewDidLoad() { super.viewDidLoad() let database:Database // get the data base if its doesent exsist create one do { database = try Database(name: "my_db") } catch{ fatalError("Error opening…
0
votes
1 answer

Couchbase Sync gateway - File upload as attachment

How can i upload an image file to couchbase from node js using Sync-gateway The couchbase image document should look like below format after upload > "_attachments": { > "blahblahblah.jpeg": { > "content_type": "image/jpg", > …
ranjith
  • 414
  • 1
  • 4
  • 9
0
votes
2 answers

Configuring Couchbase Server and Couchbase Sync Gateway

I am successfully connecting my couchbase server with my application using localhost:3000 var express = require('express'); var bodyParser = require("body-parser"); var couchbase =require("couchbase"); var request = require("request"); var app =…
mandy Yiu
  • 81
  • 7
0
votes
1 answer

in Couchbase, How to know whether all documents are synced or not.?

For Example, I have pull replication running, which is syncing documents of user login, but whenever user entering the username and logging in, the document of the particular user is not yet synced and it is showing no user found. So how to overcome…
0
votes
2 answers

how do i receive push notification from URL in desktop .net application? How do i observe a response from URL

Explanation: Couchbase sync gateway provides changes feed sort of push notification, which basically emits change it receives. Url is looks like…
0
votes
1 answer

How to store android app data to couchbase server with couchbase lite

I need nosql database so I used couchbase lite to store data. I dont know if I need sync_gateway and if needed then how to make sync_gateway_config.json file to store data from mobile app to couchbase server? This is manager try { manager = new…
Varis Bhalala
  • 191
  • 1
  • 1
  • 4
0
votes
1 answer

Sync Gateway and Couchbase server configuration

I have a Couchbase 5.0 cluster that includes 3 nodes with 2 replicas. I want to configure the Sync Gateway machine to have access for all the Couchbase server cluster, since I don't want it to be a single point of failure, but I only have the server…
raven99
  • 1,341
  • 4
  • 13
  • 28
0
votes
1 answer

Couchbase sync gateway:: After make some update in document. I not get immediately update in view

If I add the new document in Couchbase Sync Gateway and try to fetch from the view, I do not get that document immediately, but after some time I get that document. What I miss??
Sanjeetjh
  • 31
  • 2
  • 13