Unable to start Sync Gateway with Couchbase local cluster

Hi,

I am new to couchbase and I am trying to setup sync gateway with local couchbase cluster and cblite db on Android. I am unable to get sync gateway to run.

Getting the following error

  • 2023-03-24T12:06:36.301-04:00 [INF] Config: Couldn't initialize cluster agent: check server ports and cluster encryption setting: dial tcp [::1]:11207: connect: connection refused - will retry... 2023-03-24T12:06:37.342-04:00 [WRN] gocb: Pipeline Client 0x140005b0fc0 failed to bootstrap: check server ports and cluster encryption setting: dial tcp [::1]:11207: connect: connection refused -- base.GoCBCoreLogger.Log() at logger_external.go:80 2023-03-24T12:06:40.348-04:00 [WRN] gocb: CCCPPOLL: Failed to retrieve CCCP config. check server ports and cluster encryption setting: dial tcp [::1]:11207: connect: connection refused -- base.GoCBCoreLogger.Log() at logger_external.go:80 2023-03-24T12:06:40.350-04:00 [WRN] gocb: CCCPPOLL: Failed to retrieve config from any node. -- base.GoCBCoreLogger.Log() at logger_external.go:80

the bootstrap config file is the same as on the tutorial website - Verify a Sync Gateway Install | Couchbase Docs

I have created RBAC user with the same credentials as mentioned in the tutorial too.

Nothing is listening on port 11207.

I’m hitting a 100 percent reproducible hang at startup that appears to be a bug in SG in its startup succession while associating with Couchbase Server. The extremely least some mistake condition ought to be imparted assuming that some sort of blunder is hit, however in all probability the failure to manage the startup succession is its very own imperfection given that CB 5.0 and CB 5.1 dislike a similar design. I’m making the can and RBAC client as follows (with this having turned out only great before 5.5): reverberation “Making ${APP_DATA_BUCKET} bucket…” couchbase-cli can make - c http://127.0.0.1:8091 - u ${APP_ADMIN_USERNAME} - p ${APP_ADMIN_PASSWORD} \ - - bucket=${APP_DATA_BUCKET} \ - - can type=couchbase \ - - can ramsize=512 \ - - empower record replica=0 couchbase-cli client oversee - c http://127.0.0.1:8091 \ - - username ${APP_ADMIN_USERNAME} \ - - secret word ${APP_ADMIN_PASSWORD} \ - - set \ - - rbac-username ${APP_DATA_BUCKET} \ - - rbac-secret word ${APP_COUCHBASE_RBAC_PASSWORD} \ - - roles=“bucket_admin[${APP_DATA_BUCKET}],views_admin[${APP_DATA_BUCKET}],query_manage_index[${APP_DATA_BUCKET}],query_select[${APP_DATA_BUCKET}]” \ - - auth-space nearby

192.168.100.1 192.168.1.1

Hi - can you show the command without running it through the translator?
And what version of couchbase server do you have?
Thanks,
Mike

Hi - can you show the command without running it through the translator? Thanks.

And what version of couchbase server do you have?

Mike