{"log": ["CRUD", "REST+", "Access"],"databases": {"mydb": {"server":"http://127.0.0.1:8091","bucket":"mydb","users": {"GUEST": {"disabled": false, "all_channels": ["*"], "admin_channels": ["*"]}},"sync": `function(doc, oldDoc) {channel(doc.channels);}`}}}
let url = NSURL(string: "http://myserver.com/mydb")
let push = database.createPushReplication(url)
let pull = database.createPullReplication(url)
push.continuous = true
pull.continuous = true
NSNotificationCenter.defaultCenter().addObserver(self, selector: "replicationChanged:", name: kCBLReplicationChangeNotification, object: push)
NSNotificationCenter.defaultCenter().addObserver(self, selector: "replicationChanged:", name: kCBLReplicationChangeNotification, object: pull)
self.push = push
self.pull = pull
self.push!.start()
self.pull!.start()
On Sat, Jan 10, 2015 at 11:20 AM, ajres <an...@couchbase.com> wrote:
Does your test document contain a "channels" property with a single or an array of channel names?Andy
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/38c9824b-006c-4cf4-9247-1472d447227d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
{"results":[
{"seq":"6:3","id":"doc2","changes":[{"rev":"1-07d2e73d7e2408837dfcb4f7fe0cb94e"}]}
,{"seq":6,"id":"_user/GUEST","changes":[]}
],
"last_seq":"6"}
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/1a9adfc8-b526-448a-a36a-ddc73a5f6a7c%40googlegroups.com.
"log": ["Access","Channels","Cache","CRUD+", "REST+", "Changes+"],
restart SG
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/3fe357e4-5ae2-47f0-8b47-b204c86a4444%40googlegroups.com.
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/0DDAA3C2-4344-445D-BCFE-BF29E131EE94%40couchbase.com.
On Jan 10, 2015, at 12:50 PM, Sebastien ARBOGAST <sebastien...@gmail.com> wrote:2015-01-10 21:46:51.729 Pixync[17016:4109158] CBLWebSocketChangeTracker[0x17018b870 mydb]: Connection error #1, retrying in 2.0 sec: The operation couldn’t be completed. HTTP/1.1 502 BAD_GATEWAY
Andy
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/82A1745B-96DA-41BE-A0A0-7A210C725AC7%40couchbase.com.
On Sat, Jan 10, 2015 at 11:58 PM, ajres <an...@couchbase.com> wrote:
Are you running SG behind a load balancer, we have had issues with nginx not passing web socket connections onto SG without custom config, we have a page describing the setup here.Andy
--
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 mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/0e677594-877c-448e-9111-c1416237e1cd%40googlegroups.com.