Quantcast
Channel: Mobile - Couchbase Forums
Browsing all 1116 articles
Browse latest View live

CBL C SDK CBLQuery_AddChangeListener deadlocks when called in transaction...

I’ve run into a bug with an extension on my Kotlin Multiplatform Couchbase Lite library where I add a query change listener within a transaction. This code works on Android and JVM using the Java SDK...

View Article


Sync_gateway is not working as expected

Even after having full access still sync_gateway is not able to connect my couchbase. All ports are enabled and able to telnet. Getting error like failed to sync xxxx . Connect to xxx:4984 failed:...

View Article


Couchbase Lite Android 3.1.0 APK size

Hi, I have two applications with Couchbase Lite to store data locally. The first is an “old” one with Couchbase Lite v3.0.5. When building the APK, I only get one .so file in each architecture folders...

View Article

SyncGateway Multi Tenancy

A summary of what I am trying to do: We have multiple tenants connecting to our sync gateway. As we have never worked out how to apply multi tenancy, we have ended up creating new buckets for each...

View Article

Image may be NSFW.
Clik here to view.

Documents not syncing to mobile clients with reserved internal property _rev...

Hello, since upgrading to 3.1.0, we have problems where the sync between sync gateway and mobile clients hangs indefinitely while couchbase lite is stuck on busy. We have created an issue for the cb...

View Article


Couchbase Init Error

We have a function that initializes CouchDb. A crash occurred when this function was called and it was recorded in FirebaseCrahslytics. I have never encountered this error during development, but I...

View Article

Image may be NSFW.
Clik here to view.

Deleted documents reappearing

I’m facing issues where deleted docs are reappearing after a time in my bucket. I suspect it has something to do with my sync gateway but I’m unsure where to even start troubleshooting here. Current...

View Article

Not able Perform CRUD operation through couchbase sync gateway using Rest API

{ “bootstrap”: { “server”: “couchbase://localhost”, “use_tls_server”: false, “username”: “Administrator”, “password”: “password” }, “api”: { “public_interface”: “0.0.0.0:4984”, “admin_interface”:...

View Article


Advice on order of operations during application shutdown

I’ve got a weird error in syncing that occurs during application shutdown. Its a little complex to describe, but here goes… I have an iPad and Mac running my software, syncing to a remote server. Both...

View Article


Image may be NSFW.
Clik here to view.

Couchbase Keyspace issue!

I am currently working on syncing documents using Sync Gateway and Postman, but I am encountering an issue with setting up the keyspace correctly. I have followed the documentation available at Public...

View Article

Syncgateway user creation with user channel

Hi team, we have a requirement to create a sync-gw user when valid OIDC token passed and assign a correspoding user channel when it is created. Is this possible? I know creation of user is possible...

View Article

Couchbase Lite core 2.8.4 having memory allocation issue

When we do extensive read-and-write operations on the couchbaseLite. After a certain time, Couchbase Lite is throwing an error of memory allocation. Please see the details below. 2023-08-04...

View Article

Invalid Java code in Android docs

In the Android docs, the example code in the Fleece data encoding section won’t compile: Map<String, Object> doc = collection.getDocument(someDoc.getId()).toMap(); Long testVal =...

View Article


Sync gateway not syncing documents with cb lite, replicator stuck on busy

Hi all, we’re experiencing the issue that documents are not synced to couchbase lite (using the Flutter cbl package Version 3.1.1 and tested with 3.1.0, cbl | Dart Package) Sync on cb lite is stuck on...

View Article

Deleted document not sync to app

Hello All, I have upgraded Couchbase 4.5 to the 5.5 enterprise version(planning to upgrade to the 7.0.3 version) and sync gateway from 1.4 to 1.5. After the upgrade some documents I need to delete...

View Article


Possible bug in handling of an app crash during sync

I’ve got something weird with the sync engine when there is an app crash. It’s been around for a long time, but was rare enough that I ignored it. It turns out this happens most of the time if the app...

View Article

OutOfMemoryError

Hi I have seeing a number of these crashes in my logs, I am currently running couchbaselite 3.1.1. Not sure where is best to start debugging, any help would be much appreciated. Fatal Exception:...

View Article


Sync Gateway does an "Unexpected Panic" on startup after upgrade to 3.1.0 or...

I upgraded a working 3.0.8 sync gateway on Ubuntu 20.04.6 LTS to 3.1.1 (I’ve tried 3.1.0 too). On startup, I get a Panic due to a nil pointer (log is below). Looking at the trace - the failure is in...

View Article

Xamarin Forms Couchbase Lite >= 3.1.0

Hi All, I’m working on a xamarin form project with target just android. I’ve tried to update the couchbase.lite pack to the latested one 3.1.1. Everything works fine. But the apk size was increased....

View Article

Joining documents based on nested ids inside array

Lets say we have some documents of type “file” like this: { "_id": "file::001", "type": "file", "name": "this is a file", "tags": [ { "tagId": "tag::001", "addedAt": "32095823", }, { "tagId":...

View Article
Browsing all 1116 articles
Browse latest View live