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 D/Database﹕ asyncTaskStarted() updated asyncTaskCount to 1
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?