inceptivetech opened a new issue #604: {"error":"unauthorized","reason":"Name
or password is incorrect."} even if access is granted to user
URL: https://github.com/apache/couchdb/issues/604
I was following the authorization topic mentioned in below link
http://docs.couchdb.org/en/2.0.0/intro/security.html
created an user using endpoints port 5986, then executed the command as per
documentation for e.g.
curl -X PUT http://localhost:5984/eventdb/_security -u admin:***** -H
"Content-Type: application/json" -d '{"admins": { "names": [], "roles": [] },
"members": { "names": ["fan"], "roles": [] } }'
please note password is hidden for obvious purpose
which returns below result for me
{"ok":true}
Now when I tried to access database using below api
curl -u fan:apple http://localhost:5984/eventdb
it results below response for me
{"error":"unauthorized","reason":"Name or password is incorrect."}
I am pretty much sure about name and password here.
I am novice to couchdb however believe that porting _users to 5986 might
have resulted this issue
Please note I am using couchdb 2.0.0
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services