Hello

I am using couchbase lite phonegap plugin to sync with gateway from android 
and ios devices. I am facing a 400 "java.lang.Exception" error while 
performing continuous replication. This error occurs in pull replication 
and not push. Also i get this error in a particular scenario which i am 
describing below : 

- Open cordova app on android device A
- Trigger sync
- Put 15-20 documents into cblite which get synced to Sync Gateway (SG)
- remove the app from device A
- Again install the app on device A
- Trigger sync
- Use the app with same user account credentials as previous so as to get 
all the data on SG synced back on device.
- It works as expected....i get back all the data that i entered previously.
- Close the app (don't uninstall) and reopen.
- Trigger Sync
- _active_tasks shows gives below error in console.log()

task{"progress":100,"target":"budgetappdb","error":[400,"java.lang.Exception: 
Change tracker stopped during continuous replication"],"source":"
http://192.168.1.100:4984/budgetappdb","type":"Replication","status":"Processed 
17 / 17 changes","task":"repl002"} 



I don't have any idea what does this error mean and any possible cause for 
it. Can it be result of some inappropriate or bad data in my docs. I don't 
think that might be a issue as sync works completely fine before refreshing.

Also my requests to SG are authenticated and i don't see any 404 auth 
errors in SG so authentication isn't the issue as far as i think.

The same thing occurs on IOS device too.

Any help would be really appreciated.

Thanks. 



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/37ca30dd-b4ad-46a2-bc0b-e9cd42b4fdf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to