Description
I am not certain when this started failing (there was a testware issue masking failures that I did not get around to fixing until now, my deepest apologies). I have an ipv6 server setup with a query service, but I can only connect to it through port 8093, all the other methods do not work ( of the ones I have tried). The ipv6 VM i am using is http://s10502-ip6.qe.couchbase.com:8091 , however you will need Aruna's permission if you wish to use the VM to fiddle around. When I first wrote my IPv6 tests we had confirmed that for sure all the ::1 scenarios worked, so this should be a regression
[root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=couchbase://[::1]
ERROR 100 : N1QL: Connection failed Post http://[s10502-ip6.qe.couchbase.com:8091]:8093/query/service: dial tcp: lookup s10502-ip6.qe.couchbase.com:8091: no such host
Path to history file for the shell : /root/.cbq_history
cbq> [root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=[::1]
ERROR 100 : N1QL: Connection failed Post http://[s10502-ip6.qe.couchbase.com:8091]:8093/query/service: dial tcp: lookup s10502-ip6.qe.couchbase.com:8091: no such host
Path to history file for the shell : /root/.cbq_history
cbq> [root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=[::1]:8091
ERROR 100 : N1QL: Connection failed Post http://[s10502-ip6.qe.couchbase.com:8091]:8093/query/service: dial tcp: lookup s10502-ip6.qe.couchbase.com:8091: no such host
Path to history file for the shell : /root/.cbq_history
cbq> [root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=[::1]:8093
Connected to : http://[::1]:8093/. Type Ctrl-D or \QUIT to exit.
Path to history file for the shell : /root/.cbq_history
[root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=http://s10502-ip6.qe.couchbase.com:8093
Connected to : http://s10502-ip6.qe.couchbase.com:8093/. Type Ctrl-D or \QUIT to exit.
Path to history file for the shell : /root/.cbq_history
cbq> [root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=http://s10502-ip6.qe.couchbase.com:8091
ERROR 100 : N1QL: Connection failed Post http://[s10502-ip6.qe.couchbase.com:8091]:8093/query/service: dial tcp: lookup s10502-ip6.qe.couchbase.com:8091: no such host
Path to history file for the shell : /root/.cbq_history
cbq> [root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=http://s10502-ip6.qe.couchbase.com
ERROR 100 : N1QL: Connection failed Post http://[s10502-ip6.qe.couchbase.com:8091]:8093/query/service: dial tcp: lookup s10502-ip6.qe.couchbase.com:8091: no such host
Path to history file for the shell : /root/.cbq_history
cbq> [root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=s10502-ip6.qe.couchbase.com
ERROR 100 : N1QL: Connection failed Post http://[s10502-ip6.qe.couchbase.com:8091]:8093/query/service: dial tcp: lookup s10502-ip6.qe.couchbase.com:8091: no such host
Path to history file for the shell : /root/.cbq_history
cbq> [root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=s10502-ip6.qe.couchbase.com:8093
Connected to : http://s10502-ip6.qe.couchbase.com:8093/. Type Ctrl-D or \QUIT to exit.
Path to history file for the shell : /root/.cbq_history
cbq> [root@s10502-ip6 ~]# /opt/couchbase/bin/cbq -u Administrator -p password -e=s10502-ip6.qe.couchbase.com:8091
ERROR 100 : N1QL: Connection failed Post http://[s10502-ip6.qe.couchbase.com:8091]:8093/query/service: dial tcp: lookup s10502-ip6.qe.couchbase.com:8091: no such host
Path to history file for the shell : /root/.cbq_history
It seems like they all have the same problem, that it tries to append port 8093 to the end unless its expressly appended at the end, and also it appears to append 8091 inside of the brackets no matter what as well.