Sync Gateway Get the following information,help


#1

I am a novice, not quite understand
Configuration file is as follows:
{
“interface”: “:4984”,
“adminInterface”: “:4985”,
“log”: [“”],
“databases”: {
“grocery-sync”: {
“server”: “http://localhost:8091”,
“bucket”: “grocery-sync”,
“sync”: function(doc) {channel(doc.channels);},
“users”: {
“GUEST”: {
“disabled”: false,
“admin_channels”: ["
"]
}
},
“shadow”: {
“server”: “http://localhost:8091”,
“bucket”: “default”
}
}


#2

What are you trying to do, and what is the problem you’re seeing? Aside from the fact that you’re using bucket shadowing for what looks like the grocery-sync sample application - which shouldn’t be needed - I don’t see anything unusual in your config.

If you’re sharing logs, I’d also recommend using something like gist instead of screenshots.


#3

Thank you very much. I have solved the problem.But I observed Gateway Sync and found that every time it would happen599 error:WSASend TCP 10.10.2.105:4985:An established was aborted by the software in your host machine.
Is this because my App is closed?
In addition I have found that sometimes it will produce
404 missing

Finally,
I would like to give my bucket to establish access rights, but not
quite understand how to complete through the configuration file, you can
teach me?

Thank you~


#4

Authentication topics are covered in this section of the documentation.