Details
-
Improvement
-
Resolution: Fixed
-
Major
-
6.5.1, 6.6.0
-
1
Description
First check nslookup and make sure that you get DNS SRV
nslookup -type=SRV _couchbases._tcp.some-cloud-dns-svr.com
|
Server: 2001:558:feed::1
|
Address: 2001:558:feed::1#53
|
Non-authoritative answer:
|
_couchbases._tcp.some-cloud-dns-svr.com service = 0 0 11207 cb-0001.some-cloud-dns-svr.com.
|
_couchbases._tcp.some-cloud-dns-svr.com service = 0 0 11207 cb-0002.some-cloud-dns-svr.com.
|
_couchbases._tcp.some-cloud-dns-svr.com service = 0 0 11207 cb-0000.some-cloud-dns-svr.com.
|
Try cbq
./cbq -no-ssl-verify couchbases://some-cloud-dns-svr.com
|
No input credentials. In order to connect to a server with authentication, please provide credentials.
|
Disabling SSL verification means that cbq will be vulnerable to man-in-the-middle attacks.
|
ERROR 100 : N1QL: Connection failed Post https://some-cloud-dns-svr.com:18091/query/service: dial tcp: lookup some-cloud-dns-svr.com: no such host
|
N1QL: Unable to connect to cluster endpoint https://some-cloud-dns-svr.com:18091/. Error Get https://some-cloud-dns-svr.com:18091/pools: dial tcp: lookup some-cloud-dns-svr.com: no such host
|
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-39892 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
132241,5 | MB-39892 cbq can connect to clusters deployed on the cloud through a DNS SRV | master | godbc | Status: MERGED | +2 | +1 |
134451,1 | MB-39892 cbq can connect to clusters deployed on the cloud through a DNS SRV | mad-hatter | godbc | Status: ABANDONED | 0 | 0 |
134889,3 | MB-39892: Support access to DNS SRV in cbq - use only couchbase and couchbases as allowed url scheme. | mad-hatter | query | Status: MERGED | +2 | +1 |