I'm sure I'm missing something obvious but I'm trying to get syncgateway to 
connect to a bucket that is password protected.

I have tried setting something like 

...
"databases":{ "mysyncdb": {
   "server":"http://mysyncdb:[email protected]";,
   ...
} } ...


I've tried setting a separate "password"  key in the database stanza.

I found a pull request that mentioned how to do this for shadowed buckets 
(put the name of the bucket as the username).

This is the error I'm seeing.

18:28:37.187523 FATAL: Error opening database: 502 Unable to connect to 
server: HTTP error 401 Unauthorized getting 
"http://db-00.lvlr.io:8091/pools":  -- rest.RunServer() at config.go:358

Am I missing something obvious?


I'll admit I've not dug into the actual source of sync gateway yet, but 
that's next.

Thanks.

-jeremy

-- 
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/64bc3e81-f63a-4cfc-9cc7-9237e37db3ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to