Thanks for reporting this. I filed bug https://github.com/couchbase/couchbase-lite-java-core/issues/112
On Wed, Mar 19, 2014 at 8:03 AM, Anna <kryhitka.anne...@gmail.com> wrote: > I have a simple Android application that at the start is supposed to > replicate data from the remote database. The problem is that somethings it > works well and I get all the data at the first time when application is run > and newly local databases are created, but sometimes without any changes in > the code with the same condition that I run the application for the first > time, the replication stuck and I do not get anything happening after this > Logs: > > 03-19 15:41:16.977 13840-13840/sample.project.in D/Database﹕ Loading > storage engine: com.couchbase.lite.android.AndroidSQLiteStorageEngine > 03-19 15:41:16.977 13840-13840/sample.project.in V/TDCollateJSON﹕ > SQLite3 handle is 2003825232 > 03-19 15:41:16.987 13840-13840/sample.project.in V/Database﹕ > Puller@418909b0[https://---:---@randomname.iriscouch.com/anna_1] STARTING > ... > 03-19 15:41:16.987 13840-13840/sample.project.in D/Database﹕ > Puller@418909b0[https://---:---@ > randoname.iriscouch.com/anna_1]|Thread[main,5,main<http://randoname.iriscouch.com/anna_1%5D%7CThread%5Bmain,5,main>]: > fetchRemoteCheckpointDoc() calling asyncTaskStarted() > 03-19 15:41:16.987 13840-13840/sample.project.in D/Database﹕ > Puller@418909b0[https://---:---@ > randomname.iriscouch.com/anna_1]|Thread[main,5,main<http://randomname.iriscouch.com/anna_1%5D%7CThread%5Bmain,5,main>]: > asyncTaskStarted() called, asyncTaskCount: 0 > 03-19 15:41:16.987 13840-13840/sample.project.in D/Database﹕ > Puller@418909b0[https://---:---@randomname.iriscouch.com/anna_1] > Progress: set active = true > 03-19 15:41:16.987 13840-13840/sample.project.in D/Database﹕ > asyncTaskStarted() updated asyncTaskCount to 1 > 03-19 15:41:16.997 13840-13840/sample.project.in V/Database﹕ > Pusher@420919c8[https://---:---@randomname.iriscouch.com/anna_1] STARTING > ... > 03-19 15:41:16.997 13840-13840/sample.project.in D/Database﹕ > Pusher@420919c8[https://---:---@ > randomname.iriscouch.com/anna_1]|Thread[main,5,main<http://randomname.iriscouch.com/anna_1%5D%7CThread%5Bmain,5,main>]: > fetchRemoteCheckpointDoc() calling asyncTaskStarted() > 03-19 15:41:16.997 13840-13840/sample.project.in D/Database﹕ > Pusher@420919c8[https://---:---@ > randomname.iriscouch.com/anna_1]|Thread[main,5,main<http://randomname.iriscouch.com/anna_1%5D%7CThread%5Bmain,5,main>]: > asyncTaskStarted() called, asyncTaskCount: 0 > 03-19 15:41:16.997 13840-13840/sample.project.in D/Database﹕ > Pusher@420919c8[https://---:---@randomname.iriscouch.com/anna_1] > Progress: set active = true > 03-19 15:41:16.997 13840-13840/sample.project.in D/Database﹕ > asyncTaskStarted() updated asyncTaskCount to 1 > > From CouchbaseLite sources I may suspect that it stucks in Replication - > public void fetchRemoteCheckpointDoc() at sendAsyncRequest, but why it > happens and what I have to do to be sure that the replication will always > function and I could track its status? > > -- > 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-couchbase+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/mobile-couchbase/b1e7c84a-0c42-446b-bc69-45e900e2bb94%40googlegroups.com<https://groups.google.com/d/msgid/mobile-couchbase/b1e7c84a-0c42-446b-bc69-45e900e2bb94%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 mobile-couchbase+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/CACSSHCF1xZ8%2BFO9hrj9F5cDt1HR%3DoLb%2BEKFQveykSzE6J2dbJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.