On Jun 13, 2014, at 3:54 PM, CouchbaseLover <[email protected]> wrote:

> #3763: GET /horse/_changes?feed=websocket
> 23:38:29.922535 HTTP: #3763:     --> 401 Login required  (0.0 ms
> No clue what's "going wrong" cause we have no idea what the process should 
> be..

CBL is using a WebSocket to connect to the continuous _changes feed, and it 
looks like the credentials aren't getting sent along with that request for some 
reason, so it gets a 401 error. This could be a CBL bug, but to diagnose it I 
need to know how you're authenticating the CBLReplication.

I'm not clear on how you're setting up authentication. First you show code for 
configuring a username/password with NSURLCredential, but then in step 3 you 
say you're creating a session cookie through a custom protocol to your 
application server. Those shouldn't both be necessary. And once you get the 
session cookie from the app server, what's the code you're using to register it 
with the CBL replication?

--Jens

-- 
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/E31BA015-EF22-49F0-BE45-79FCB88B4F74%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to