Sync gateway crash
I have this sg config with test webhook filter to confirm if it is being triggered by document changes: { "adminInterface": ":4985", "interface": ":4984",...
View ArticleSync gateway webhook triggered too many times
I have this config: { "adminInterface": ":4985", "interface": ":4984", "log":["Events"], "databases": { "db": { "server": "some_url:8091", "bucket": "default", "username": "Administrator", "password":...
View ArticleUnable to add import_filter function to SG JSON config file
Following the docs instruction to use backticks for config properties that are javascript, we’ve created the following config file but are getting errors on our ent2.8 server that only go away when we...
View Articlejava.lang.UnsatisfiedLinkError couldn't find "libLiteCoreJNI.so" when...
For the past couple of weeks, I have noticed that my init() call is causing my application to crash roughly 50% of the time; if it does crash the first time, then simply restarting the app gets it to...
View ArticleSync Gateway + Peer 2 Peer, different behavior for the same document
Good morning everybody. I have this use case, and I need help about how to deal some kind of documents. We have a mobile application running on a single device (alias Master) connected to the sync...
View ArticleSwift 5 sub document array query question
So I’m trying to query a subdocument array. For refrence the data is like: Tireset{ … Wheels[ Wheel1{ tireID, FrontLeft}, Wheel2{ tireID, FrontRight}, Wheel3{ tireID, BackLeft}, Wheel4{ tireID,...
View ArticleCouchbase lite query from N1QL
I find QueryBuilder to be QUITE verbose and cumbersome. I would MUCH prefer to supply my own prepared N1QL statement for the many queries I need to execute, e.g. something along the lines of: val...
View ArticleCouchbase lite EE java 2.8 + support for android versions
Hello every one, I’m new to Couchbase and I have beed looking Ito the peer-to-peer feature. Like mentioned in here from verion 2.8 there is a vast support in peer-to-peer. connection over IP. I have...
View ArticleSync Gateway config file "is a directory"
log error with Sync Gateway, I am following this article https://blog.couchbase.com/using-docker-with-couchbase-mobile/ And have corrected error i found in the article with the config but still get...
View ArticleInter-Sync Gateway Replication not working as expected
I have two sync gateways: Active and Passive. There is a replication running between them. When I create or update a document in the database of the Active Gateway it is replicated in the database of...
View ArticleNo support for actual JSON in couchbase lite Android?
I think I MUST be mistaken, but am unable to find a single reference for how to actually store a JSON string to couchbase lite on Android. All I can find is a reference to creating strongly typed...
View Article"server TLS certificate untrusted" error connecting to sync gateway
I’m running into an error connecting a Couchbase Lite Android client to sync gateway over wss:// TLS, getting the error “server TLS certificate untrusted”. These are the logcat logs: 2021-01-14...
View ArticleGit tag commit changed?
Hello, Homebrew maintainer here. I noticed that the commit corresponding to the 2.8.0 tag for sync_gateway changed from 61ca30a14f10edf40a26f7b2189c962c16a04b8a to...
View Articlehelp with android
hi, will anyone have an app running where i can see the replication working? I’m lost and I don’t know what else to do, help! 2 posts - 2 participants Read full topic
View ArticleDoes Sync Gateway user require Full Admin Role?
According to the documentation of Couchbase SyncGateway configuration file, the databases.this_db.username property is “The RBAC user’s username for authenticating to Couchbase Server”. So I have the...
View ArticleWhat happens when sync function calls "requireUser(null)"?
I can’t find documentation about this. When the sync function calls requireUser(null). Will it reject the object, or will it allow it ? 1 post - 1 participant Read full topic
View ArticlePosting an empty JSON body seems to give valid session token/cookie?
Using the following curl request: curl --location --request POST 'https://<public api url>/<database>/_session' \ --header 'Accept: application/json' \ --header 'Content-Type:...
View ArticleOIDC username_claim using percent encoding
Hello, Using OIDC provider to authenticate and register users on sync-gateway:2.8.0-community results in new users created with percent encoding. oidc config… “username_claim”: “email”, “register”:...
View ArticleOIDC config not working via Admin API
When we add an OIDC provider to the config for a database via the Admin API it doesn’t seem to work. However, when we add the same configuration to the sync_gateway.json and restart the sync gateway...
View ArticleHaving issues with local couchbase lite on android
I am attempting to convert from couchbase lite 1.4 to couchbase lite 2.8.1 I seem to be able to create documents but when I try to query them. I get no resultSet. The code is as follows with log...
View Article