I'm trying to create a Vagrant/Ansible setup that builds a box hosting 
Couchbase Server and the Sync Gateway. Getting the server installed, 
initialized and creating a bucket works just fine, thanks to the scripts 
available at https://github.com/couchbaselabs/ansible-couchbase-server. I 
can also install the sync gateway using apt. However when starting the 
gateway with "./sync_gateway -url http://localhost:8091 -bucket mybucket" I 
get a 401 Unauthorized response. What I haven't been able to figure out 
from the docs is:

a) if it's correct that the sync gateway connects to the admin port (8091 
by default) instead of the API port – the docs do not mention either but 
always use the default admin port
b) how the sync gateway authenticates with the server – there are no 
documented command line or config options for authentication

Any clues?

-- 
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/3e373ed8-66d6-496b-a5ae-3461d27cca18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to