Hey all, I've really been struggling with the grocery sync application and 
could use some advice.  We're looking to move our android application to 
couchbase and use the syncing.  I need to demo/prototype it to sell the 
technology.

I have the grovery sync app installed and running however I can't get it to 
sync between devices.

I installed couchbase server and sync gateway on ubuntu 12.  I added the 
guest user using:
curl -X PUT localhost:4985/sync_gateway/_user/GUEST --data 
'{"disabled":false, "admin_channels":["public"]}'

I set the SYNC_URL="http://<myserverip>:4984/sync_gateway"

And left everything else the same.

And started the application in my device and an emulator.  From both 
devices I can see activity on the server, reading:
00:20:42.455918 HTTP:  #533: GET 
/sync_gateway/_changes?feed=longpoll&limit=50&h
eartbeat=300000
00:20:44.463402 HTTP:  #534: POST /sync_gateway/_revs_diff
00:20:45.298603 HTTP:  #535: POST /sync_gateway/_bulk_docs
00:20:47.571836 HTTP:  #536: PUT 
/sync_gateway/_local/e8f6e0ce7e9466bf361ef54f62
f164e24f4118bc
00:20:55.533451 HTTP:  #537: POST /sync_gateway/_revs_diff
00:20:55.751152 HTTP:  #538: POST /sync_gateway/_bulk_docs
00:20:58.002003 HTTP:  #539: PUT 
/sync_gateway/_local/e8f6e0ce7e9466bf361ef54f62

etc.  

I can never get changes to sync between devices, or persist between a cache 
clearing.

Thanks so much for any help, I think couchbase is the technology we need to 
use but I'm having some troubles prototyping it to sell it to our 
organization.

Thanks again for the time and any advice.

-james

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/4f0a2826-48cd-41b3-acf7-1307da0c0947%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to