Couchbase Questions: Couchbase Sync Gateway

Have a Question? Get it answered by our community

Diabolus333's picture
Asked 2 weeks 10 hours ago
Latest activity 1 week 6 days 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 3 weeks 6 days ago
Latest activity 3 weeks 6 days 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 5 days ago
Latest activity 1 month 5 days 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 1 month 3 weeks ago
Latest activity 1 month 3 weeks 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 1 week ago
Latest activity 2 months 1 week 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 1 week 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 1 day ago
Latest activity 3 months 1 day 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 1 week ago
Latest activity 3 months 6 days 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 1 week ago
Latest activity 3 months 1 week 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...

flo_vonderuni's picture
Asked 4 months 1 week ago

Node.js, Sync Gateway, CBL: best way to transfer small files

Hello,

I'm trying to transfer some image files of thumbnails (one per CB document) to the iOS app that I'm writing.

I'm entering documents into my main bucket using the Node.js API, and the data gets synced to the iOS devices using the CB Sync Gateway and CBL.

I've seen that...

Pages