Ah I didn't know about this logging configuration. Indeed there seems to be an issue with the pull replication:
2015-01-10 21:46:50.886 Pixync[17016:4109092] Logging Sync, SyncVerbose to NSLog 2015-01-10 21:46:50.886 Pixync[17016:4109092] ### Couchbase Lite 1.0-Debug (unofficial) ### 2015-01-10 21:46:50.907 Pixync[17016:4109092] Sync: CBLReplication[to http://backend.server.com/mydb]: offline, progress = 0 / 0, err: (null) 2015-01-10 21:46:50.909 Pixync[17016:4109158] Sync: CBL_Pusher[ http://backend.server.com/mydb] STARTING ... 2015-01-10 21:46:50.948 Pixync[17016:4109158] Sync: CBL_Pusher[ http://backend.server.com/mydb]: Reachability state = <backend.server.com>:unreachable (00), suspended=0 2015-01-10 21:46:50.951 Pixync[17016:4109158] Sync: CBL_Pusher[ http://backend.server.com/mydb]: Reachability state = <backend.server.com>:reachable (02), suspended=0 2015-01-10 21:46:50.951 Pixync[17016:4109158] Sync: CBL_Pusher[ http://backend.server.com/mydb]: Going online 2015-01-10 21:46:50.954 Pixync[17016:4109158] Sync: CBL_Pusher[ http://backend.server.com/mydb] Progress: set active = 1 2015-01-10 21:46:50.954 Pixync[17016:4109158] SyncVerbose: CBL_Pusher[ http://backend.server.com/mydb]: postProgressChanged (0/0, active=1 (batch=0, net=1), online=1) 2015-01-10 21:46:50.955 Pixync[17016:4109158] SyncVerbose: CBL_Pusher[ http://backend.server.com/mydb]: GET _local/79b9c21cdbfadc67d1b19e68ad364d3485e171d9 2015-01-10 21:46:50.957 Pixync[17016:4109092] Sync: CBLReplication[from http://backend.server.com/mydb]: offline, progress = 0 / 0, err: (null) 2015-01-10 21:46:50.971 Pixync[17016:4109158] SyncVerbose: CBL_Pusher[ http://backend.server.com/mydb]: postProgressChanged (0/0, active=1 (batch=0, net=1), online=1) 2015-01-10 21:46:50.975 Pixync[17016:4109158] Sync: CBL_Puller[ http://backend.server.com/mydb] STARTING ... 2015-01-10 21:46:51.015 Pixync[17016:4109158] Sync: CBL_Puller[ http://backend.server.com/mydb]: Reachability state = <backend.server.com>:reachable (02), suspended=0 2015-01-10 21:46:51.017 Pixync[17016:4109158] Sync: CBL_Puller[ http://backend.server.com/mydb]: Going online 2015-01-10 21:46:51.018 Pixync[17016:4109158] Sync: CBL_Puller[ http://backend.server.com/mydb] Progress: set active = 1 2015-01-10 21:46:51.018 Pixync[17016:4109158] SyncVerbose: CBL_Puller[ http://backend.server.com/mydb]: postProgressChanged (0/0, active=1 (batch=0, net=1), online=1) 2015-01-10 21:46:51.019 Pixync[17016:4109158] SyncVerbose: CBL_Puller[ http://backend.server.com/mydb]: GET _local/c8b86535d45db2aa1aa609149a640bacc7e4a407 2015-01-10 21:46:51.020 Pixync[17016:4109158] SyncVerbose: CBL_Puller[ http://backend.server.com/mydb]: postProgressChanged (0/0, active=1 (batch=0, net=1), online=1) 2015-01-10 21:46:51.055 Pixync[17016:4109092] Sync: CBLReplication[to http://backend.server.com/mydb]: active, progress = 0 / 0, err: (null) 2015-01-10 21:46:51.057 Pixync[17016:4109092] Sync: CBLReplication[from http://backend.server.com/mydb]: active, progress = 0 / 0, err: (null) 2015-01-10 21:46:51.506 Pixync[17016:4109158] Sync: CBL_Pusher[ http://backend.server.com/mydb]: Replicating from lastSequence=(null) 2015-01-10 21:46:51.508 Pixync[17016:4109158] SyncVerbose: CBL_Pusher[ http://backend.server.com/mydb]: Received 0 revs 2015-01-10 21:46:51.509 Pixync[17016:4109158] Sync: CBL_Pusher[ http://backend.server.com/mydb] Progress: set active = 0 2015-01-10 21:46:51.509 Pixync[17016:4109158] SyncVerbose: CBL_Pusher[ http://backend.server.com/mydb]: postProgressChanged (0/0, active=0 (batch=0, net=0), online=1) 2015-01-10 21:46:51.510 Pixync[17016:4109092] Sync: CBLReplication[to http://backend.server.com/mydb]: idle, progress = 0 / 0, err: (null) 2015-01-10 21:46:51.513 Pixync[17016:4109158] Sync: CBL_Puller[ http://backend.server.com/mydb]: Replicating from lastSequence=(null) 2015-01-10 21:46:51.518 Pixync[17016:4109158] SyncVerbose: CBL_Puller[ http://backend.server.com/mydb] starting ChangeTracker: mode=3, since=(null) 2015-01-10 21:46:51.520 Pixync[17016:4109158] SyncVerbose: CBLWebSocketChangeTracker[0x17018b870 mydb]: GET // backend.server.com/mydb/_changes?feed=websocket 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 2015-01-10 21:46:53.730 Pixync[17016:4109158] SyncVerbose: CBLWebSocketChangeTracker[0x17018b870 mydb]: GET // backend.server.com/mydb/_changes?feed=websocket 2015-01-10 21:46:53.930 Pixync[17016:4109158] CBLWebSocketChangeTracker[0x17018b870 mydb]: Connection error #2, retrying in 4.0 sec: The operation couldn’t be completed. HTTP/1.1 502 BAD_GATEWAY 2015-01-10 21:46:57.936 Pixync[17016:4109158] SyncVerbose: CBLWebSocketChangeTracker[0x17018b870 mydb]: GET // backend.server.com/mydb/_changes?feed=websocket 2015-01-10 21:46:58.159 Pixync[17016:4109158] CBLWebSocketChangeTracker[0x17018b870 mydb]: Connection error #3, retrying in 8.0 sec: The operation couldn’t be completed. HTTP/1.1 502 BAD_GATEWAY --- Sébastien Arbogast http://sebastien-arbogast.com 2015-01-10 20:08 GMT+01:00 Jens Alfke <[email protected]>: > The logs show the second client asking for changes from the server, but > then not downloading any documents. Which is strange, since the earlier > output of /mydb/_changes that you posted includes a valid list of revisions. > > Let's look at the client-side replication logs. Turn on the "SyncVerbose" > logging mode > <https://github.com/couchbase/couchbase-lite-ios/wiki/Logging> on the > client that's doing the pull. > > —Jens > > -- > 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/0DDAA3C2-4344-445D-BCFE-BF29E131EE94%40couchbase.com > <https://groups.google.com/d/msgid/mobile-couchbase/0DDAA3C2-4344-445D-BCFE-BF29E131EE94%40couchbase.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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/CAG1DMa__RjKy-wZFn6yRB9j5VWwCJQ6F2W%2BogvY%3DZxQevrEGEw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
