Couchbase Questions: Couchbase Sync Gateway

Have a Question? Get it answered by our community

satyaguna's picture
Asked 15 hours 9 min ago
Latest activity 9 hours 46 min ago

Couchbase Sync gateway not detecting properly

Hi I have Amazon EC2 instance with server + sync gateway. I tried add a document using sync gateway and I tried to add document in server buck both working fine.

But I have a problem while syncing. The document which i am adding in the either in server or through sync gateway it is not...

Diabolus333's picture
Asked 4 weeks 1 day ago
Latest activity 4 weeks 11 hours ago

Error while trying to sync via SSL

Hi everyone,

i'm trying to sync my data between an iOS-App and a CB server using the Sync Gateway and I want to use a crypted connection using SSL. This is my config-file, the certificate is a self-signed one:

...
dgriffin's picture
Asked 1 month 1 week ago
Latest activity 1 month 1 week ago

Multiple sessions for users and using session on the client

Hey guys,

We are using App server to generate session_id for user. I have question on multiple session for same user.

In the following dataflow when you make 2nd request to CreateSessionB, does CreateSessionA is still valid?

1st Request: User A -> Device A -> App...

dgriffin's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 2 weeks ago

Limiting Initial pull

Hey guys,

We are using Sync Gateway channels as users to save user specific data.

Lets say user have data for 1 year, all the documents have "date_created" field.

On the reinstall/fresh install, How do I make pull request for last 3 months data?

I know we can create...

dgriffin's picture
Asked 2 months 1 week ago
Latest activity 2 months 6 days ago

Sync gateway shutting down on closing ssh connection

Hey guys,

I have Couchbase server and sync-gateway running on the same Amazon EC2 instance. everything is working as expected.

Except, soon as I close the SSH window from my local machine, sync gateway on server shuts down.
I am starting sync gateway with $./sync_gateway...

flo_vonderuni's picture
Asked 2 months 3 weeks ago
Latest activity 2 months 3 weeks ago

lexical error: invalid char in json text

Hello experts,

we are getting a new error now when trying to use lots of channels:

17:18:00.803 WARNING: JSON error parsing _changes feed: lexical error: invalid char in json text.

We set the channels via the channels property of the pull replication, but it seems there is...

flo_vonderuni's picture
Asked 2 months 3 weeks ago

lexical error: invalid char in json text

Hello experts,

we are getting a new error now when trying to use lots of channels:

17:18:00.803 WARNING: JSON error parsing _changes feed: lexical error: invalid char in json text.

We set the channels via the channels property of the pull replication, but it seems there is...

flo_vonderuni's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 2 weeks ago

Performance problems when using channels with CBL (iOS) and Sync Gateway

Hello,

according to your recommendations on my earlier question (see: http://www.couchbase.com/communities/q-and-a/how-partition-dataset-synce... ) we implemented the...

flo_vonderuni's picture
Asked 3 months 3 weeks ago
Latest activity 3 months 3 weeks ago

"returned unparseable data" warning

Hello experts,

I'm getting lots of warnings like this during a big sync:

WARNING CBLRemoteJSONRequest . . .
sync_gateway/_all_docs?include_docs=true returned unparseable data '{"rows":[
{"id":"asset_3201670","key":"asset_3201670","value":{"rev":"1-...

flo_vonderuni's picture
Asked 3 months 4 weeks ago
Latest activity 3 months 3 weeks ago

How to partition the dataset that is synced to Couchbase Lite (via Sync Gateway)

Hello,

I’m developing a document management app with Couchbase Lite and Sync Gateway.

We have a few thousand documents, and everyone one has a (potentially unique) subset of natural languages assigned to it (Languages are given as an array property for every document in CB. We...

Pages