I updated the sync gateway logging configuration, restarted SG, created a
document on one device, and launched the app on the other device to trigger
a pull. And here is the log I got:

Jan 10 15:47:21 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:21.357266
HTTP:  #031: GET /mydb/_local/6738235ebe0dc3781dbf4c60e1d41300baf00004
Jan 10 15:47:21 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:21.458146
HTTP:  #032: POST /mydb/_revs_diff
Jan 10 15:47:21 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:21.592168
HTTP:  #033: POST /mydb/_bulk_docs
Jan 10 15:47:21 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:21.593726
CRUD+: Invoking sync on doc "4CBDCF46-47B7-4A05-AB79-756E1770D6F2" rev
1-d0dd28be1217281025feebd90280ab4b
Jan 10 15:47:21 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:21.753224
Cache: SAVING #29
Jan 10 15:47:21 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:21.754983
CRUD: Stored doc "4CBDCF46-47B7-4A05-AB79-756E1770D6F2" /
"1-d0dd28be1217281025feebd90280ab4b"
Jan 10 15:47:26 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:26.869186
HTTP:  #034: PUT /mydb/_local/6738235ebe0dc3781dbf4c60e1d41300baf00004
Jan 10 15:47:35 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:35.823625
HTTP:  #035: GET /mydb/_local/9278eeb52d066d61a4fdf5390e2a40384443c827
Jan 10 15:47:35 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:35.823755
HTTP:  #036: GET /mydb/_local/03d822f2ced50a9a4a21a1c00115808151ffe4b4
Jan 10 15:47:35 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:35.825118
HTTP: #035:     --> 404 missing  (3.2 ms)
Jan 10 15:47:36 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:36.215847
HTTP:  #037: GET /mydb/_changes?feed=websocket
Jan 10 15:47:38 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:38.705134
HTTP:  #038: GET /mydb/_changes?feed=websocket
Jan 10 15:47:41 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:41.851050
HTTP:  #039: GET /
Jan 10 15:47:43 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:43.371586
HTTP:  #040: GET /mydb/_changes?feed=websocket
Jan 10 15:47:46 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:46.714613
HTTP:  #041: GET /
Jan 10 15:47:51 ip-10-37-182-214.ec2.internal bash[25234]: 15:47:51.908295
HTTP:  #042: GET /mydb/_changes?feed=websocket

---
Sébastien Arbogast
http://sebastien-arbogast.com

2015-01-10 16:33 GMT+01:00 ajres <[email protected]>:

> So you are getting docs back in the changes feed, which is what the mobile
> clients call to see which docs revisions need to be pulled.
>
> This suggests that the SG is setup correctly.
>
> Can you see the document ID of the document you expected to appear on the
> second mobile client?
>
> It would be useful if you can set the logging in SG as follows:
>
> "log": ["Access","Channels","Cache","CRUD+", "REST+", "Changes+"],
>
>
> restart SG
>
> Then post a snippet from your SG log showing a doc being pushed from
> Mobile client 1 and then mobile client 2 starting and (hopefully)
> connecting to SG with a request for the _changes feed.
>
> This will help a lot to debug the issue.
>
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mobile-couchbase/3fe357e4-5ae2-47f0-8b47-b204c86a4444%40googlegroups.com
> <https://groups.google.com/d/msgid/mobile-couchbase/3fe357e4-5ae2-47f0-8b47-b204c86a4444%40googlegroups.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_deAYoKN07SkA02NBN3NtC5whNNVk2zXY4i8Qazcew4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to