Sync Gateway - Mobile Replication - 503 - Service Unavailable
Sync Gateway - Mobile Replication - 503 - Service Unavailable Setup: Sync Gateway v3.0.0 Community Edition 7.0.2 build 6703 Couchbase Lite (Kotlin) v3.0.0 Couchbase Lite Test Tool (GitHub -...
View ArticleCouchbase lite sync - and Access Removed
Hi I often get notices like this on the console when debugging my app: Received ID: User:1D21AAE3DCBFEEB5C1258221004D2AFC (access removed) Basically, a message from the replication that I have...
View ArticleBest practices for creating indexes in Couchbase Lite
I’m trying to improve performance of queries in my app and therefore revisit a topic that I have looked at quite some time ago. I tried to get “best practices” during another thread - but that...
View ArticleFiltered index in CBL
When will we have Filtered index in CBL. With large size couchbase lite having filtered index will be really helpful. 1 post - 1 participant Read full topic
View ArticleMissed document after sync with sync-gateway
I have couchbase 6.6 and sync-gateway 3.1. After sync I got 22 documents instead of 38 that visible via couchbase web interface (I used GUEST without any password). Then I dump and restore database to...
View ArticleCouchbase Maven repo seems to be down
I can use/download the community edition from the Maven Central repo but it just seems to take a while on your own repo and then shows a build error. 2 posts - 2 participants Read full topic
View ArticleOne user for syncing multiple real users using channels
Hi, We have mobile application which use 10000+ users. Application use Couchbase lite to store users data. Currently we would like to upload users data using Sync Gateway. We have an idea to create...
View ArticleCouchbase Sync Gateway V3.0
Hello All. I am trying to write a frontend GUI for the Couchbase Sync Gateway V3.0 EE. When I create (POST) or update (PUT) a user account: --- REQUEST...
View ArticleSync Gateway 3.0 enable Google Auth
Hi, I am using the Sync Gateway 3.0 Bootstrap config and try to enable the Google Authentication API endpoint, but the only documenation I can find is about the legacy pre-3.0 config implementation....
View ArticleCouchbase Lite for a Kotlin Multiplatform project
I’m evaluating Couchbase Lite for a project I’m building with Kotlin Multiplatform. The idea is to have most of the code in a pure Kotlin module and then build as little platform-specific code as...
View ArticleWhat's the best way to store data and time separately?
In some DB, For example, MySQL has DATE, DATETIME, and TIMESTAMP types? But in Couchbase Lite, we only have DATETIME, right? So, what’s the suggestion to store DATE and TIME separately and have a date...
View ArticleExpression.isNullOrMissing documents that Expression.isValued is the...
Here is the documentation for the now deprecated Expression.isNullOrMissing: /** * Creates an IS NULL OR MISSING expression that evaluates whether or not the current * expression is null or missing. *...
View ArticleAndroid C BLIPConnection.hh related crash
The Couchbase Lite 3.01 for Android C is crashing with the below stacktrace. The following warnings/error are logged before the crash: {N8litecore9websocket16BuiltInWebSocketE#23} No response received...
View ArticleUpdate sync-gw users role
Hi team, I have to update all the sync-gw users role through a process. we can write a batch to do this but is there a better way to do this. Requirement is, update the user role for A to B for X...
View ArticleDelete incorrect config using sync gateway 3 on macOS
As I am trying to figure out Sync Gateway 3, I’ve initiated it using a legacy config with an invalid database / cluster name. The config was automatically converted to be the new version, the database...
View ArticleBucket user must have Bucket Full Access and Bucket Admin roles to retrieve...
Using the Capella UI, I have created a user called sync-gateway, with read & write access to all buckets and scopes. When adding a DB via Sync Gateway using a CURL command, I still get 403 error....
View ArticleCan PouchDB with Ionic (web & mobile) be used with Sync Gateway?
Having difficulties setting it up and wanted to make sure that PouchDB can in fact be used with the Sync Gateway 3.x. If so, can anyone point to any official or unofficial (up to date) example(s)...
View ArticlePurged document (access removed) does not trigger QueryChangeFlow
Hallo, I am using queryChangeFlow() on my Query to keep the documents updated inside a RecyclerView. When documents get updated/deleted and pulled to the device, everything works fine. But when...
View ArticleAdmin login required problem
Hi, I’m literally going insane of how insufficient details about authentication is given in the docs. step 1: create sync gateway with server username and password with bootstrap json–> OK step 2:...
View ArticleAndroid v3.0.0 "setDocumentExpiration()" hangs when is used inside "inBatch()"
Instead of the direct deletion of documents we use a “trashbin” - specially marked documents with the expiration set. Essentially the Kotlin function is like this: fun deleteDocuments(vararg docIds:...
View Article