I use Couchbase Lite to replicate data in a P2P network on Android platform. Sometimes the remote peer may be offline, when I try to pull/push data with remote offline peer, I wanna know that it is offline and I can do something to handle this exception. I thought replication.start() will throw this kind of exception, but it does not, so how can I catch this exception?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
SocketTimeoutException on Couchbase Lite Android | 18 | 4620 | December 7, 2017 | |
Couchbase Lite replicator errors when offline | 1 | 961 | November 23, 2017 | |
Couchbase Lite to CouchDB filtered replication in Android | 11 | 4105 | May 12, 2017 | |
[cblite 2.8.4] [Android] Replicator Stop after SocketTimeout | 2 | 1316 | October 16, 2021 | |
OperationTimeoutException when reading from replicas | 7 | 4373 | March 10, 2015 |