Unable to create a cluter 7.6.2 CE version

Dear Experts,

i’m getting this error while initialising the couchbase cluster , could you help me to fix this issue.
have deployed 6 pods all from all the places i’m facing this issue. the same helm charts are working fine for EE image , for CE 7.6.2 i’m facing this issue.

root@ispstg1cb-couchbasece-cluster-0:/# couchbase-cli cluster-init -c [240b:c0e0:104:5461:9817:2:31:6d04]:8091 -o json -d --cluster-username naveen --cluster-password naveenk --cluster-name ispstg1 --services kv --ip-family ipv6-only --node-to-node-encryption on --cluster-ramsize 4098 --cluster-port 8091
GET http://[240b:c0e0:104:5461:9817:2:31:6d04]:8091/pools
ERROR: Unable to connect to host at http://[240b:c0e0:104:5461:9817:2:31:6d04]:8091: HTTPConnectionPool(host=‘240b:c0e0:104:5461:9817:2:31:6d04’, port=8091): Max retries exceeded with url: /pools (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f1a623fa350>: Failed to establish a new connection: [Errno 111] Connection refused’))
root@ispstg1cb-couchbasece-cluster-0:/# ping6 240b:c0e0:104:5461:9817:2:31:6d04
PING 240b:c0e0:104:5461:9817:2:31:6d04(240b:c0e0:104:5461:9817:2:31:6d04) 56 data bytes
64 bytes from 240b:c0e0:104:5461:9817:2:31:6d04: icmp_seq=1 ttl=64 time=0.053 ms
64 bytes from 240b:c0e0:104:5461:9817:2:31:6d04: icmp_seq=2 ttl=64 time=0.054 ms
^C
— 240b:c0e0:104:5461:9817:2:31:6d04 ping statistics —
2 packets transmitted, 2 received, 0% packet loss, time 1011ms
rtt min/avg/max/mdev = 0.053/0.053/0.054/0.000 ms
root@ispstg1cb-couchbasece-cluster-0:/# couchbase-server -s
Couchbase Server is not running
root@ispstg1cb-couchbasece-cluster-0:/# couchbase-server
Protocol ‘cb’: register/listen error: {not_started,[{local,inet_tcp_dist}]}
root@ispstg1cb-couchbasece-cluster-0:/#

“Connection refused” means nothing is listening at that host:port

did u try 18091 port
or try without node-to-node encryption and enable later

2 Likes

Hi @kanamani92 !

–node-to-node-encryption on

Node-to-node encryption is not available in Community Edition.

Reference: Enterprise Edition vs. Community Edition vs. Couchbase Capella

–ip-family ipv6-only

Same for IPv6 (i think?) but I’m having a harder time finding a reference more authoritative than this forum post: Ipv6 support in community edition

I suspect couchbase-cli is attempting to connect to the server via an IPv6 address, but gets no response because Community Edition does not bind to IPv6 addresses.

thank you @mreiche @vsr1 @david.nault for spending time on this query .
please share the info if you got any news from the couchbase product dev team when/where they are implementing the ipv6 availability for CE.

finally have the conclusive evidence that CE can support only ipv4 family till 7.6.2 CE versions
using cli we can initilize the cluster using localhost , if we add ipv6 ip or its FQDN it is not picking and giving the errors like below

here are the ip-family for CE till 7.6.2 version support ipv4.

there is a limitation on couchbase community edition to use ipv6 family till v7.6.2 CE