Why can I not see in Couchbase Lite that a document has been removed from sync?
Hi I have changed my sync. formula slightly so that a specific type of documents that previously was added to the “!” channel now is not added to that channel any more. I have taken the db offline,...
View ArticleHow to get more info in debug log
When an error occurs I’m only seeing some basic info. 2021-04-08T21:35:45.037Z [INF] HTTP: #37869: PUT /salesrabbit/_user/auth0%7CQonGEZfIY45NQt-9F172k (as ADMIN) 2021-04-08T21:35:45.038Z [INF] HTTP:...
View ArticleChanges feed from CBL 2 DB
Does CBL 2 have some kind of API/feature for “changes feeds”? Is it possible to get changed documents in order from a CBL 2 DB with some kind of “since” parameter? 2 posts - 2 participants Read full...
View ArticleSync Gateway is closing websocket changes feed connection after 5 minutes of...
Hi all, while implementing the Couchbase Sync Gateway changes feed using a websocket, we noticed that the sync gateway closes the connection after 5 minutes of inactivity. The sync gateway isn’t...
View ArticleRevoking access to a document by clearing its channels
Hello We have some difficulties with Couchbase Lite, when we decide to revoke the access to a document. For example, we want to remove the access to a document for a user after a validation from our...
View ArticleExpiry time setup in SYNC gw function
Hi Team, we wanted to create a function in sync-gw to set the expiry time when the data comes from sync-gw. CB document says we can use expiry function but how do we set it if the days are 90 days? is...
View ArticleCBL 2.8 Android cannot query docs. Error: Caused by:...
Hello, I am using CBL 2.8 and Sync Gateway 2.8. Recently I got the following error, when I try to execute query, after I got data from server via push-pull replication: Caused by:...
View ArticleSync gateway user and password with Danish national characters
I have discovered that we have a problem that is related to using national Danish characters (æøåÆØÅ) in passwords. We have an app-server where we control changes to users in the sync.gateway like...
View ArticleSync Gateway return an error 409 : conflicts with newer version
Hello, I work with CB LiteCore 2.7.1 et Sync Gatreway 2.7.0 et couchbase server 6.0.0 CE in environment Windows 10 / .NET Core 2. Rarely, we have somme errors 409 (conflicts with newer version) But...
View ArticleBasic Authentication disable in Cblite
Hi Team, we have enabled OIDC in SYNC-GW level and we would like to disable the BASIC AUTH from replicator side. Is there a way to do this? From mobile side, they have to use only ID_TOKEN for...
View ArticleHow to update a document with cblite utility
Hi I use cblite utility for analyse some data with then “select” option. (couchbase-mobile-tools/README.cblite.md at master · couchbaselabs/couchbase-mobile-tools · GitHub) But i want too update some...
View ArticleUninstalled Sync Gateway, Now can't Re Install
I uninstalled couchbase sync gateway version 2.8 for some reasons. To do this, I have remove directories from /opt, /home and /lib/systemd/system. Then disabled and removed the service from systemctl....
View ArticleReplication - 409 Document update conflict
Hi, we have an Android app which uses the couchbaseLite for storing data and the Sync-Gateway for replication. Sometimes after around 5 minutes of inactivity, we are getting a setCheckpoint error...
View ArticleUnable to install sync-gateway on Ubuntu 18.04
I am following the instruction here https://docs.couchbase.com/sync-gateway/current/get-started-install.html but after i succesfully downloaded the .deb file, when i run the dpkg command I get the...
View ArticleDelete Database In 2.8.5
Hi @priya.rajagopal , I am facing an issue while deleting database after upgrading to the couchbase 2.8.5. Here I tried everything but I am getting exceptions. As per your new documentation...
View ArticleHttpOnly flag when start synchronization
Hello, When Starting synchronisation whith Sync gateway we add a cookie. To protect this cookie does Couchbase add HttpOnly flag in the request query? Thanks, Youssef 2 posts - 2 participants Read...
View Article[Couchbase lite 2.8.4] Merge conflict resolver never called
Hi all, I’m trying to create a custom conflict handler for managing conflicts during a client update between sync gateway and a couchbase lite but the merge resolver is neved called. The sequence of...
View ArticleDocument update on couch base server not synced
Hello, I’m working with a couchbase lite database on some clients and I want to update some documents directly on the couchbase server and to see modifications on all the clients synchronized on this...
View ArticleWhat is the proper way to install a pre-built database
Following a discussion with @priya.rajagopal about the proper way of creating a working database in your app using a prebuilt database, I’ve become uncertain if I’m doing it the right way - or perhaps...
View ArticleConnecting to Sync Gateway + Server + Lite from NodeJs Server
Hello, I am developing an application that involves distributed nodes, both desktop and mobile that need to share a synced database. I am hoping to use Server, Lite and Sync gateway to achieve this....
View Article