Couchbase Questions: sync-gateway

Have a Question? Get it answered by our community

dgriffin's picture
Asked 4 weeks 16 hours ago
Latest activity 4 weeks 13 hours 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 6 days ago
Latest activity 1 month 6 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...

kanundrum's picture
Asked 5 months 2 weeks ago

How to get Android CBLite client to store session cookie

I setup my own authentication endpoint as per the directions here . It doesn't seem like getting the cookie using a DefaultHttpClient sets...

abo's picture
Asked 7 months 1 day ago

Upload synchronizable documents to server


I'm developing a simple android app, and i'm using CouchbaseLite on my phone. I'm following the GrocerySync example, and it works fine. But i have a little problem. I have got some json file, and i want to upload them to the couchbase server. I could do that using cbdocloader, but...

bmhardy's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 3 weeks ago

How to hit the sync url included with the AMI for Amazon

I recently downloaded and ran the pre-built couch base server + sync gateway on ec2.
I have the server running and I can hit it at port 8091. I see in the home directory a I unzipped it and ran ./sync_gateway ~/config.json. The ports are set for the default gateway ports...

kanundrum's picture
Asked 8 months 1 day ago

Syncgateway buckets and database

I have an app I'm developing where each user has their own database and I want them to be able to sync across devices. It seems as if buckets and databases should have a one to one relationship (I tried putting two databases I created via the sync-gateway admin api in one bucket and the item...

merdan's picture
Asked 9 months 2 weeks ago
Latest activity 9 months 2 weeks ago

Sync Gateway for Server to Server Sync

Hello Couchbase team!
I am considering moving my "stock management" application from sql server to Couchbase.
My application is windows based(WPF), and is installed on geologically distributed stores. There are local servers that are synchronized with each other. In my country(...

kanundrum's picture
Asked 9 months 2 weeks ago
Latest activity 9 months 2 weeks ago

How to setup sync gateway authentication using google login

Based on the documentation I should be implementing a custom authentication using my own server as per The issue is the last bit "...