Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 1.8.x

I am getting this error WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP: Provided URI http://localhost:

1 reply [Last post]
  • Login or register to post comments
Fri, 03/09/2012 - 04:34
suesh
Offline
Joined: 03/08/2012
Groups: None

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

-->

Top
  • Login or register to post comments
Fri, 03/09/2012 - 14:33
mikew
Offline
Joined: 03/14/2011
Groups:

You are connecting to the wrong URI. Please connect to:

http://localhost:8091/pools

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker