I’m getting this error try to XDCR to the couchbase-elastic plugin.
I know i’m connecting to the couchbase jetty service hosted in the ES plugin, as i was getting auth problems to http://localhost:9091/pools which i’ve now resolved.
2017-09-05 21:18:16 127.0.0.1:Can’t get nodes information for cluster 127.0.0.1:9091, err=Failed on calling host=127.0.0.1:9091, path=/pools/nodes, err=, statusCode=404
From what i’ve read in the CAPI server docs (https://github.com/couchbaselabs/couchbase-capi-server) CB should be making a call to localhost:9091/pools/default (which works) and the following which gives.
Adams-MBP:elasticsearch-5.4.2 adamhawkins$ curl -u Administrator:qwaszx http://127.0.0.1:9091/pools/default/buckets/cbpass
{“nodes”:[{“hostname”:“127.0.0.1:9091”,“couchApiBase”:“http://127.0.0.1:9091/cbpass",“ports”:{“direct”:9091}}],“bucketType”:“membase”,“saslPassword”:"",“name”:“cbpass”,“bucketCapabilities”:[“couchapi”],“vBucketServerMap”:{“vBucketMap”:[[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1]],“serverList”:[“127.0.0.1:9091”]},“uri”:"/pools/default/buckets/cbpass?bucket_uuid=a42d23ab198b470ea6082a67067c6040",“uuid”:"a42d23ab198b470ea6082a67067c6040”}Adams-MBP:elasticsearch-5.4.2 adamhawkins$
Since ES plugin appears to be responding as expected i can only assume its a CB5 beta problem though i’ve not tried 4.x .
Could there be a setting that i’m missing thats trying to access ‘nodes’ rather than ‘default’