One good way to debug this is to use a tool like HTTPScoop or CharlesProxy.
 (or an even lower level tool like ngrep or tcpdump)

I wrote a blog article
<http://tleyden.github.io/blog/2013/11/20/debugging-http-traffic-in-android-apps-with-a-proxy/>
about how to use CharlesProxy, and HTTPScoop is even easier to use but I
don't have a writeup for it.  (essentially you just need to make sure it is
scooping on the ports you are using, typically port 4984 or port 80)

With those tools you can see the traffic between the replicator and sync
gateway, and you can see if the replicator is active or not.  For example
the pull replicator should be constantly hitting the _changes endpoint on
the sync gateway.




On Wed, Sep 17, 2014 at 10:07 PM, Azhar Bandri <[email protected]>
wrote:

>
>> If replication is failing, there must be some other reason behind it.
>> What other symptoms or logs do you see?
>>
>> —Jens
>>
>
> Below the Error the Log shows these,
>
> W/Sync(10089): Puller@421d3bb0[http://ip:port/DBName/]: starting
> ChangeTracker with since=null mode=OneShot
> W/Sync(10089): Puller@421d3bb0[http://ip:port/DBName/]: started
> ChangeTracker com.couchbase.lite.replicator.ChangeTracker@4227baa0
>
>
> --
> 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/f550699e-1167-4572-8e16-3ad2a55c0fd5%40googlegroups.com
> <https://groups.google.com/d/msgid/mobile-couchbase/f550699e-1167-4572-8e16-3ad2a55c0fd5%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/CACSSHCGkQigcDKY45TZJ7VQuPjhdKwXyZ%3DNJ%3DmzWjkDrMsgEwg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to