This topic is related to
Here is the latest config file I have created.
{
“log”:[““],
“databases”: {
“batch-test”: {
“server”:“http://172.16.1.76:8091/”,
“bucket”:“batch-test”,
“sync”: function (doc) { channel (doc.channels); }
,
“users”: {
“GUEST”: {
“disabled”: false,
“admin_channels”: [””],
“channels”:[““]
},
“couchbase_user”: {
“disabled”: false,
“admin_channels”: [””],
“channels”:[““] ,
“password”: “mobile”
}
}
}
},
“CORS”: {
“Origin”: [””],
“LoginOrigin”: [“*”],
“Headers”: [“Content-Type”],
“MaxAge”: 17280000
}
}
But it’s still the same issue. I have run the curl script you have shared. But it works for push not for pull. Pull works fine unauthenticated. Channel filtering works fine for the unauthenticated user as well. I can’t figure it out why it’s not working. I suspect its a issue with a configuration on the server or syncgateway.
I have attached the curl reques results, syncgateway logs and sample project as well.
sg_error.zip (1.3 KB)JsonObjectCreator.zip (19.7 KB)
Waiting for a solution since we have to complete the R&D Quickly. Thanks in advance