Jens - I have tried that.
Here is my json config for sync gateway.
{
"interface":":4984",
"adminInterface":":4985",
"verbose":true,
"log":["REST", "CRUD", "Shadow"],
"databases":{
"dbsync":{
"username": "Administrator",
"password": "SECRET",
"bucket":"dbsync",
"sync":`function(doc) { if(doc.type=="co") channel(doc._id); else channel(
doc.co);}`,
"shadow": {
"server": "http://mydb:OTHERSECRET@MYSERVER:8091",
"bucket": "mydb"
}
}
}
}
The user/pass are the same I login to my couchbase console with.
The error I'm seeing is:
20:59:50.260325 Enabling logging: [REST CRUD Shadow]
20:59:50.260921 ==== Couchbase Sync Gateway/1.00 (1.0.1-18; commit 81a69a16) ====
20:59:50.261131 Configured Go to use all 2 CPUs; setenv GOMAXPROCS to override this
20:59:50.261350 Opening db /dbsync as bucket "dbsync", pool "default", server <
http://MYSERVER:8091>
20:59:50.549766 WARNING: Error from Incr in _reserveSequences(0): MCResponse status=0x20, opcode=SASL_AUTH, opaque=0, msg: Auth failure -- db.(*sequenceAllocator)._reserveSequences() at sequence_allocator.go:59
20:59:50.549954 FATAL: Error opening database: MCResponse status=0x20, opcode=SASL_AUTH, opaque=0, msg: Auth failure -- rest.RunServer() at config.go:358
Again, I'm sure it's some misconfiguration on my part but I can't seem to figure it out. Thanks.