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
> On Feb 22, 2015, at 11:59 PM, Pascal wrote:
>
> 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
I’m not clear on the distinction between those ports. 8091
Thanks Jens. I wanted to test that suggestion but sync-gateway (1.0.3)
doesn't accept any config files:
$ /opt/couchbase-sync-gateway/bin/sync_gateway -url http://localhost:8091
-bucket eponyms couchbase-sync-gateway.json
16:43:21.989336 FATAL: Error reading config file
couchbase-sync-gateway.j
> On Feb 27, 2015, at 8:49 AM, Pascal wrote:
>
> "users": {
> "GUEST": {"disabled": false},
> "admin_channels": ["public"]
> }
That’s wrong — the “admin_channels” property needs to be inside
Ah indeed, d'oh! Thanks a lot Jens!
Interestingly, it does NOT work when I specify username/password, but works
if I don't specify anything and have sync-gateway and server running on the
same machine. I guess I'm still not understanding how authentication
between the two works.
In any case, I'
> On Mar 2, 2015, at 3:19 AM, Pascal wrote:
>
> Interestingly, it does NOT work when I specify username/password, but works
> if I don't specify anything and have sync-gateway and server running on the
> same machine. I guess I'm still not understanding how authentication between
> the two wo
On Monday, March 2, 2015 at 5:55:30 PM UTC+1, Jens Alfke wrote:
>
>
> On Mar 2, 2015, at 3:19 AM, Pascal >
> wrote:
>
> Interestingly, it does NOT work when I specify username/password, but
> works if I don't specify anything and have sync-gateway and server running
> on the same machine. I gues
Just found that Couchbase actually has a nice board with a lot of answers,
thanks, I'll stop spamming the list. :)
https://forums.couchbase.com/t/sync-gateway-with-couchbase-server/1947
On Monday, March 2, 2015 at 9:55:45 PM UTC+1, Pascal wrote:
>
> On Monday, March 2, 2015 at 5:55:30 PM UTC+1,
> On Mar 2, 2015, at 12:55 PM, Pascal wrote:
>
> Since it works without specifying username/password and since this is secure
> because it only works locally all is well and I'm satisfied. I just tried to
> understand how sync gateway would talk to a non-local Couchbase server. Is
> that not