Srigopal sharma
2021-05-12 17:16:30 UTC
Hi Guys ,
I'm trying to setup a sync gateway and below are parameter entries that i'm
making to my sync_gateway.json file but its failing while starting up.
{
"adminInterface": "11.22.22.111:4985",
"interface": "11.22.22.111:4986",
"databases": {
"syncgateway": {
"server": "http://testlabz512:8091",
"bucket": "Test1",
"username": "sync_gateway",
"password": "Test#2021",
"enable_shared_bucket_access": true,
"import_docs": true,
"num_index_replicas": 0,
"users": {
"GUEST": { "disabled": false, "admin_channels": ["*"] }
"allow_conflicts": false,
"revs_limit": 20
}
}
}
i see the couchbase is running and i can open the gui and access it as well
but unfortunately below is the log error message.
2021-05-12T22:25:03.714+05:30 ==== Couchbase Sync Gateway/2.8.2(1;4df7a2d)
EE ====
2021-05-12T22:25:03.714+05:30 ==== Couchbase Sync Gateway/2.8.2(1;4df7a2d)
EE ====
2021-05-12T22:25:03.721+05:30 [ERR] Error opening database syncgateway:
502 Unable to connect to Couchbase Server (connection refused). Please
ensure it is running and reachable at the configured host and port.
Detailed error: Fatal error connecting to bucket -- rest.RunServer() at
config.go:1086
What could be wrong here ?
Regards;
sri
I'm trying to setup a sync gateway and below are parameter entries that i'm
making to my sync_gateway.json file but its failing while starting up.
{
"adminInterface": "11.22.22.111:4985",
"interface": "11.22.22.111:4986",
"databases": {
"syncgateway": {
"server": "http://testlabz512:8091",
"bucket": "Test1",
"username": "sync_gateway",
"password": "Test#2021",
"enable_shared_bucket_access": true,
"import_docs": true,
"num_index_replicas": 0,
"users": {
"GUEST": { "disabled": false, "admin_channels": ["*"] }
"allow_conflicts": false,
"revs_limit": 20
}
}
}
i see the couchbase is running and i can open the gui and access it as well
but unfortunately below is the log error message.
2021-05-12T22:25:03.714+05:30 ==== Couchbase Sync Gateway/2.8.2(1;4df7a2d)
EE ====
2021-05-12T22:25:03.714+05:30 ==== Couchbase Sync Gateway/2.8.2(1;4df7a2d)
EE ====
2021-05-12T22:25:03.721+05:30 [ERR] Error opening database syncgateway:
502 Unable to connect to Couchbase Server (connection refused). Please
ensure it is running and reachable at the configured host and port.
Detailed error: Fatal error connecting to bucket -- rest.RunServer() at
config.go:1086
What could be wrong here ?
Regards;
sri
--
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchbase+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/56b5915b-e9da-498d-88b5-e72e8d5d151en%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mobile-couchbase+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/56b5915b-e9da-498d-88b5-e72e8d5d151en%40googlegroups.com.