Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Recent build - view authentication

6 replies [Last post]
  • Login or register to post comments
Sun, 07/22/2012 - 22:36
chaehb
Offline
Joined: 03/18/2012
Groups: None

I'm testing the recent build.

In the recent build, It seems to be added the authentication for view functions.

How can I access them?

When I delete the password for my bucket, views work well no password.
But when I set a password for my bucket, I can't access views without authentication.

Top
  • Login or register to post comments
Mon, 07/23/2012 - 16:22
scalabl3
Offline
Joined: 07/18/2012
Groups:

This is normal behavior, if you have a password set for a bucket, then you need to authenticate with the client library sdk you are using for the connection to couchbase.

__________________

@scalabl3
Technical Evangelist
Couchbase Inc.
 

Top
  • Login or register to post comments
Mon, 07/23/2012 - 22:28
chaehb
Offline
Joined: 03/18/2012
Groups: None

Thanks the answer, scalable.
But your answer is not my case.

In previous versions, I could use 'views' without any authentication whether a bucket had or hadn't got a password.

But in the recent build, the views return 'authentication error' both java client and browser's direct url call when my bucket set up the password.

I tried basic auth like CouchDB, but it's not worked.

However, when unset my bucket's password, it worked.

Top
  • Login or register to post comments
Mon, 07/23/2012 - 22:35
scalabl3
Offline
Joined: 07/18/2012
Groups:

Thanks for your reply, there may be an authentication issue with java sdk, I am having this looked into for you!

__________________

@scalabl3
Technical Evangelist
Couchbase Inc.
 

Top
  • Login or register to post comments
Mon, 07/23/2012 - 23:54
ingenthr
Offline
Joined: 03/16/2010
Groups:

chaehb wrote:

I tried basic auth like CouchDB, but it's not worked.

However, when unset my bucket's password, it worked.

Just to verify, you tried using the bucket's name and the password you assigned the bucket in the Web Console UI and you could not use that via the Java client or something like curl to make requests of views? If so, this would be a bug. Which build are you using?

Thanks for pointing it out!

Top
  • Login or register to post comments
Mon, 07/23/2012 - 23:59
chaehb
Offline
Joined: 03/18/2012
Groups: None

Thanks, scalabl3.

But I don't think it's a problem of java sdk.

When I call views with curl(command line) or browsers, occurs same authentication error.(with or without basic auth)

Top
  • Login or register to post comments
Tue, 07/24/2012 - 00:07
chaehb
Offline
Joined: 03/18/2012
Groups: None

I use currently build-1464

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