我正在尝试使用以下config.json文件将同步网关连接到couchbase服务器
{
"interface":":4984",
"adminInterface":":4985",
"log":["REST"],
"databases":{
"sync_gateway":{
"server":"http://localhost:8091",
"bucket":"sync_gateway",
"sync":`function(doc) {channel(doc.channels);}`,
"users": {
"GUEST": {
"disabled": false, "admin_channels": ["*"]
}
},
"shadow": {
"server": "http://localhost:8091",
"bucket": "copy"
}
}`enter code here`
}
}
但我无法进行遮蔽......显示以下错误
2016-06-30T17:54:57.013 + 05:30警告:数据库" sync_gateway":无法连接 t到外部存储桶进行遮蔽:502无法连接到影子存储桶:否b ucket命名副本 - 休息。(* ServerContext)._ getOrAddDatabaseFromConfig()at serve r_context.go:793