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 | |
---|---|---|---|---|
How to handle lost network connection to sync gateway? | 12 | 4964 | May 6, 2017 | |
Do CBLite replications give up reconnection attempts when offline? | 9 | 1128 | June 15, 2018 | |
Couchbase Lite replicator errors when offline | 1 | 974 | November 23, 2017 | |
[cblite 2.8.4] [Android] Replicator Stop after SocketTimeout | 2 | 1333 | October 16, 2021 | |
Replication does not continue when back online | 9 | 1274 | January 30, 2019 |