Deleting a document doesn't seem to actually delete?
@canadianmacguy wrote: I’m working on an app where I’ve written some delete code (calling deleteDocument(id)). But the server seems to not actually delete the document, judging by the cbllog’s: [DB]:...
View ArticleCouchbase Lite Join multiple records
@AlexanderGreckov wrote: Hi everyone! I I have the following documents: Person { "vehicle": { "couchId": "someid" } } OtherThing: { "name": "thing one", "vehicle": { "couchId": "someid" } } { "name":...
View Article'document value was too large' error getting user information from Sync Gateway
@shannon wrote: I’m getting an error getting the Sync Gateway user information for a particular user. I’m calling the /{database}/_user/{username} API and Sync Gateway is returning the following error...
View ArticleCan Couchbase use the localstorage API
@Nemo wrote: Hi everyone, I just started learning about Couchbase (and more generally, about PWAs and mobile local storage), so I hope that my question hasn’t been answered elsewhere and that its...
View ArticleSync gateway 2.1 /understanding deduplication
@sasumadu wrote: We have the client reporting cancellation of reservation which seems to be user request being cancelled. Client exception logged from kafka: “ActionName” : “MoveNext”,...
View ArticleLiteC issue on Windows: non-blocking socket operation error
@victorberger wrote: Hello, I am receiving the following error when attempting to begin replication. I am compiling couchbase-lite-C from the master branch using CMake. This happens only when compiled...
View ArticleLive query and databse.addChangeListener not called some time while changes...
@Vishal_Vaishnav wrote: I am using couchdb as server and couchbase lite 1.4.4 in android app. Live query and database add change listener not called some times while changes in document. Below is my...
View ArticleWhy extra Documents are created in Read only Database?
@zahra.darvishian wrote: Hi everyone. I have configured one of my Sync Gateway configes in a way to make it “read-only”. The “Read-only” rule is controlled by the bellow if condition...
View ArticleHow to create a collection in Couchbase Lite?
@Nayab_Sarfraz wrote: I am developing an Android application in which i am trying to integrate couchbase lite for storing customers information. Each customer information is in the form of a nested...
View ArticleDocument ID Conflict Resolution
@wanda_a wrote: There is a well known conflict resolution system for the contents of document synced between couchbase server and couchbase lite. This is not about that. Imagine this scenario: one...
View ArticleSync Gateway Not Starting
@chvishwakarma wrote: We have Couchbase with 3 data nodes, 1 query node and 2 index node. we have created couchbase bucket and using following sync gateway configuration { “log”: [ “" ], “databases”:...
View ArticleData not getting with query while first time install app android?
@Vishal_Vaishnav wrote: Below is my code; val query = database?.createAllDocumentsQuery() query?.startKey = "refill-device-SERIAL-AB121-0" query?.endKey = "refill-device-SERIAL-AB121-7" var result:...
View ArticleHow to authenticate Sync gateway webhook url using OAuth
@nagendrakumars wrote: A microservice API which is secured with OAuth2 authentication should be called when a change detected. For eg:- "event_handlers": { "document_changed": [ {"handler": "webhook",...
View ArticleSync Gate Way Suddenly Killed
@wanda_a wrote: My sync gateway keeps getting killed. No error message, no signs of struggle or forced entry. It will be sending documents to a client (through Http, its version 1.4 or thereabouts)...
View ArticleHow to implement DATABASE TRANSACTIONS in couchbase lite?
@Nayab_Sarfraz wrote: Hi, I have integrated Couchbase Lite in my android application, now i want to use Database transactions in it. I have documents of 2 types “Customer” and “Sync” . Whenever a...
View ArticleHow to query a Mutable Document?
@Nayab_Sarfraz wrote: I have saved a JSON Object as Mutable Document. The object looks as follows { “id”:“title”, “options”:[ { “desc”:“Mr”, “code”:“01”, “parent”:“M” }, { “desc”:“Miss”, “code”:“02”,...
View ArticleSync gateway restrict 4985 port via authentication
@sudhir_baru wrote: Hi , Any way i can restrict public access to 4985 port. May be via username/password or certificate authentication. Posts: 2 Participants: 2 Read full topic
View ArticleWebsocket connection closed by peer error in CBL
@pankaj.sharma wrote: Hi All, We are getting "Got LiteCore error: WebSocket error 1001 “WebSocket connection closed by peer” in CBL. And app keeps on trying the same changes and stuck at the same...
View ArticleAdd additional User key/values
@MartinMc wrote: Is it possible to add additional key values pairs to the user object when creating them via the admin api? I would like to add a users Licence expiry date. Posts: 4 Participants: 2...
View ArticleReproducable bug: document with attachment not pulled down
@benjamin_glatzeder wrote: Reproducable: yes CBL 2.7 Android SG 2.7 CB 6 CE One-shot pulling down all documents of my user account never downloads 1 specific document. The logs show: ... 2020-02-26...
View Article