Open Galaloo opened 10 years ago
This is an issue we are also facing on Android with a continuous replication over HTTPS. From what we understand, the connection is closed after it has been idle for some time. However, on Android, the replication starts again after this error, then the error appears, then it starts again...
On iOS, we face a similar issue but the connection is killed silently, i.e. we do not get any error message and the replication does not recover from the error since it is not even detected.
The workaround we use so far is to automatically restart the replication after it has been idle for 50 seconds so we avoid the connexion being closed unintentionally.
For a proper fix, it seems that working on the heartbeat parameter can be an interesting lead, as discussed here https://groups.google.com/forum/#!topic/mobile-couchbase/edjN7wRNLM0
This appears to be an open issue with couchbase-lite-android: couchbase/couchbase-lite-android#330
I've subscribed to that issue and will update the module when the underlying library is fixed. A temporary workaround might be to use one-shot replication (continuous=false
) and trigger it periodically via a timer.
hello i also faced that problem is that issue fixed now ?
Running into some errors with replication.
Gives me the following errors after a minute or two
The error messages will appear every few minutes.
Removing authentication with
Still throws the 'ChangeTracker' error. In both instances replication of changes still work.
Setting continuous to FALSE then no more error.