Hey,

My problem is similar to this: 
https://github.com/couchbase/couchbase-lite-ios/issues/565 but this issue 
is closed and maybe I'm doing something wrong.
I want to handle custom session expiration, but when Sync Gateway returns 
401, I'm getting "Processed 0/0" task status. 

Everything is based on Phonegap TodoLite example, with difference that I'm 
using custom session cookie instead of facebook token, so my sync 
definition looks similar to this:

source : {
     "url": "http://address:4984/my_db";,
     "headers" : "SyncGatewaySession=a8s7df69a87s6d9f7a98s766df97a6s"
},
target : "my_db",
continuous : true


I've tried also with original TodoLite example, connecting it to my sync 
gateway and removing session cookie from database. Result is the same. 401 
from sync gateway, auth-challenge handler is not called.

-- 
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/d4aa222d-beb2-472b-a3b0-de67c31be4c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to