sync gateway 2.8 error

23 views
Skip to first unread message

Srigopal sharma

unread,
May 12, 2021, 1:34:43 PM5/12/21
to Couchbase Mobile
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 

Jens Alfke

unread,
May 12, 2021, 1:36:01 PM5/12/21
to Couchbase Mobile
Please use the Couchbase forums for questions and discussion -- this group has been dormant for years (and we really should close it.)
Reply all
Reply to author
Forward
0 new messages