Setting a network security configuration causes Couchbase to not be able to...
I have made a network security configuration xml file to whitelist some HTTP URLs used by my app. But doing that causes Couchbase to not be able to access the internet. I guess I need to add some...
View ArticleAuthentication issue with WebSocket using SyncGateway Public REST API 2.8
I was trying to create a WebSocket using the public SGW REST API call, “/{db}/_changes/”, on our Flutter Web app. But it is not possible to set the required authentication SyncGatewaySession cookie...
View ArticleRegex on id field not returning any results and throws no error
ENvrionment is Android, CBL 2.8.0. The id is set as follows: order_12_23_9898989 which matches: order_storeId_productId_orderId I want to filter out all orders for store 12, product 23 and did the...
View ArticleStart multiple replicator can crash on android device
when we start multiple replicator at the same time, it mush crash after run 2-3 minute,we use android sdk version is 2.8.1 and client/gateway/server is community version, here is our demoActivity and...
View ArticleCurrent Sync Gateway OpenAPI (Swagger) yaml definition contains errors
I encountered errors generating a c# client from the current version of sync-gateway-public.yaml using both AutoRest and NSwagStudio. When I validated the yaml content with https://editor.swagger.io,...
View ArticleCouchbase Lite Android Fatal Exception: java.lang.OutOfMemoryError
I am using Couchbase Lite 1.4 version. Sometimes I got following in my crash logs: Fatal Exception: java.lang.OutOfMemoryError Failed to allocate a 128 byte allocation with 4194304 free bytes and 6MB...
View ArticleCouchbase Lite Kotlin - Unable to import Replicator Type
I’m putting together a wrapper API for Couchbase Lite in Kotlin Multiplatform, using the Java SDK for Android and Objective-C SDK for iOS (Kotlin/Native doesn’t support direct pure Swift interop yet)....
View ArticleXamarin pre-built CRM with Couchbase Lite
See here a schema of my setup !! I want to use the pre-built Xamarin App: XamarinCRM from https://www.xamarin.com/prebuilt But I want to remove the Azure devops services and change it with Couchbase...
View ArticleRevoking access to a channel
I have some “access control” docs like this: {"username": "some_user", "channel_assignments": ["channel1", "channel2"]}. I use access(doc.username, doc.channel_assignments) to assign channels to users...
View ArticleHow can I make a geo location query in CBL?
I am using CBL for Android. I have the latitude and longitude values that the user saved earlier. And there are also values for the location the user has marked on the map. I need to make a query on...
View ArticleDeleted documents reappearing in database
Couchbase Server Community Edition 6.5.1 build 6299 Sync gateway 2.7.3 Couchbase Lite Android 2.8.1 We are experiencing a problem where deleted documents are reappearing on our Couchbase server. Here...
View ArticleDllNotFoundException: Could not find LiteCore.dll! Nothing is going to work!
Here’s how I produced the error. Create a class library Add a reference to CouchBaseLite Create a WPF application Add a reference to the class library in the WPF application Run the application The...
View ArticleWebsocket connection closed with error
Hi, Using CBL 1.4, SyncGate 2.1.2 and CBS 6.0.0. Suddenly changes feed stopped to work. Back end is written with NodeJS (no modifications done in months). Today after rebooting the server errors start...
View ArticleUsing CouchbaseLite Java in a Docker container (Linux)
I’m writing a Java application that will run in a Linux Docker container. I’m a little new at working with Docker, but I’ve managed to resolve the dependencies on the ICU libraries and zlib. The Java...
View ArticleSetup ip ports on Windows Server
I have couchbase server 6.6 on a Windows Server Machine. And have Sync-gateway 2.8 installed. When I go to 127.0.0.1:4984 I get the response: { “couchdb”: “Welcome”, “vendor”: { “name”: “Couchbase...
View ArticleCouchbase lite 2x how to get rid of blob_/ prefix for attachment? (problems...
Hello! We are trying to migrate from Couchbase Lite 1.4 to more modern Couchbase Lite 2.8. My experiments shows that in CBL 1.4 we got following attchment structure on server:...
View ArticleSync Gateway Backup
We are running Couchbase 6.6 CE and sync gateway 2.1. We use cbbackup to backup our data bucket. Is there any data in the sync gateway that needs backing up (users?)? If so what needs backing up and...
View ArticleCBL 2.8 Queries based on Indices works very slow
Hello! I am using following code for creating an index: database.createIndex( “PledgeTaskWithStatusIndex”, IndexBuilder.valueIndex( ValueIndexItem.property(“type”),...
View ArticlePre-built database for Xamarin and UWP
Hello, I followed your guides and created a pre-built database by pulling it initially in the application. Then, I copied it to the Assets folder in UWP and I am trying to use that database to make...
View ArticleUnable to PUSH document changes. CBL 2.8 conflicts with newer server revision
Hello! I am migrating my app from CBL 1.4 to CBL 2.8! I am getting ReplicatedDocument{1d34f636-fdb2-420d-b773-01cd9e8ea14a,err=CouchbaseLiteException{CouchbaseLite,10409,'conflicts with newer server...
View Article