I am getting this error WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP: Provided URI http://localhost:
Please help me on this how to get out of this error....
While I am running this code
The code I am using is :
List uris = new LinkedList();
Boolean do_delete = false; //
// Connect to localhost or to the appropriate URI
uris.add(URI.create("http://localhost:8091/index.html"));
CouchbaseClient client = null;
try {
client = new CouchbaseClient(uris, "default", "");
I am getting this error.
WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP: Provided URI http://localhost:8091/index.html has an unparsable response.. java.text.ParseException: Can not read base
at com.couchbase.client.vbucket.config.ConfigurationParserJSON.parseBase(ConfigurationParserJSON.java:56)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:149)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:125)
at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:139)
at com.couchbase.client.CouchbaseClient.(CouchbaseClient.java:155)
at com.couchbase.client.CouchbaseClient.(CouchbaseClient.java:124)
at com.couchbase.client.CouchbaseClient.(CouchbaseClient.java:76)
at com.couchbase.Main.main(Main.java:28)
Error connecting to Couchbase: null
-->
You are connecting to the wrong URI. Please connect to:
http://localhost:8091/pools