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

Cannot connect to installed couchbase on the cloud

1 reply [Last post]
  • Login or register to post comments
Sat, 06/30/2012 - 10:32
viiveek
Offline
Joined: 06/29/2012
Groups: None

hi,
i installed the community version of couch base on m amazon clue. i am unable to connect it form a java program. I am able to access admin console and everything but its unable to connect from the program . i am using the example given in the couch base documentation to connect.

using the uri htto://localhost:8091/pools.
I am getting the below error. what am i missing.

 --http://127.0.0.1:8091/pools
     [java] 2012-06-30 17:15:55.639 WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP:  Connection problems with URI <a href="http://127.0.0.1:8091/pools" title="http://127.0.0.1:8091/pools">http://127.0.0.1:8091/pools</a> ...skipping
     [java] java.io.IOException: Server returned HTTP response code: 401 for URL: <a href="http://127.0.0.1:8091/pools<br />
" title="http://127.0.0.1:8091/pools<br />
">http://127.0.0.1:8091/pools<br />
</a>     [java] 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1612)
     [java] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readToString(ConfigurationProviderHTTP.java:322)
     [java] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:144)
     [java] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:126)
     [java] 	at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:154)
     [java] 	at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:156)
     [java] 	at com.couchbase.client.CouchbaseClient.<init>(CouchbaseClient.java:125)

Top
  • Login or register to post comments
Sun, 07/01/2012 - 17:31
mikew
Offline
Joined: 03/14/2011
Groups:

Can you post the code that generated this issue?

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