I'm developing the custom indirect authentication feature for the 
Todolite-Phonegap app and I'm running into an issue with a post to the 
_changes REST API timing out.

here is the sync_gateway log:
10:04:37.743256 HTTP:  #042: POST /todos/_session  (ADMIN)
10:04:37.744779 HTTP:  #043: POST /todos/_session  (ADMIN)
10:04:38.478256 HTTP:  #044: GET 
/todos/_local/af15df81caae105f83c929e1c8df909fc5d87031  (as 
deefactor...@gmail.com)
10:04:38.884683 HTTP:  #045: GET 
/todos/_local/ad3b8a69fb39f3cee764f04c677db7399d7aa92c  (as 
deefactor...@gmail.com)
10:04:38.970138 HTTP:  #046: POST /todos/_changes  (as 
deefactor...@gmail.com)
10:05:39.803525 HTTP:  #047: POST /todos/_changes  (as 
deefactor...@gmail.com)

this is the error.
07-22 13:05:28.082: E/ChangeTracker(2343): 
com.couchbase.lite.replicator.ChangeTracker@b22c97f8: Exception in change 
tracker
07-22 13:05:28.082: E/ChangeTracker(2343): java.net.SocketTimeoutException
07-22 13:05:28.082: E/ChangeTracker(2343):     at 
java.net.PlainSocketImpl.read(PlainSocketImpl.java:491)

When I add a list or task it pushes the document to the sync gateway fine. 
I'm just getting an error with the ChangeTracker timing out.
The issue happens when I log in using Facebook or custom authentication.
Any pointers or hints of where I could look would help.

The code is public available on github.com
https://github.com/deefactorial/TodoLite-PhoneGap/tree/srvauth

The command to clone the repo locally is:
git clone -b srvauth https://github.com/deefactorial/TodoLite-PhoneGap.git

Cheers,
Dominique 

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/ab082fb2-e80f-47a7-a6b1-becf1c720c26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to