Recent build - view authentication
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.
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.
Thanks for your reply, there may be an authentication issue with java sdk, I am having this looked into for you!
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!
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)
I use currently build-1464
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.