Couchbase Questions: sync-gateway

Have a Question? Get it answered by our community

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...

kanundrum's picture
Asked 5 months 4 weeks ago

How to get Android CBLite client to store session cookie

I setup my own authentication endpoint as per the directions here http://docs.couchbase.com/sync-gateway/#custom-indirect-authentication . It doesn't seem like getting the cookie using a DefaultHttpClient sets...

abo's picture
Asked 7 months 2 weeks ago

Upload synchronizable documents to server

Hi!

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 8 months 1 week ago
Latest activity 8 months 1 week 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 sync_gateway.zip. I unzipped it and ran ./sync_gateway ~/config.json. The ports are set for the default gateway ports...

kanundrum's picture
Asked 8 months 2 weeks 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 10 months 17 hours ago
Latest activity 9 months 4 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 10 months 4 days ago
Latest activity 10 months 2 days 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 http://docs.couchbase.com/sync-gateway/#custom-indirect-authentication. The issue is the last bit "...