gambolputty commented on issue #741: error "Unauthorized" (401) when loading 
"_security"-doc
URL: https://github.com/apache/couchdb/issues/741#issuecomment-321640362
 
 
   @rnewson I am getting a 200 status code!
   
   ```
   curl http://admin:password@server:5984/databse/_security -v
   
   *   Trying 1.2.3.4...
   * TCP_NODELAY set
   * Connected to 1.2.3.4 (1.2.3.4) port 5984 (#0)
   * Server auth using Basic with user 'admin'
   > GET /database/_security HTTP/1.1
   > Host: 1.2.3.4:5984
   > Authorization: Basic longstring==
   > User-Agent: curl/7.52.1
   > Accept: */*
   >
   < HTTP/1.1 200 OK
   < X-CouchDB-Body-Time: 0
   < X-Couch-Request-ID: 57fcb3932b
   < Server: CouchDB/2.1.0 (Erlang OTP/18)
   < Date: Thu, 10 Aug 2017 18:42:21 GMT
   < Content-Type: application/json
   < Content-Length: 137
   < Cache-Control: must-revalidate
   <
   {"error":"unauthorized","reason":"You are not authorized to access this 
db.","admins":{"names":["admin"]},"members":{"names":["admin"]}}
   * Curl_http_done: called premature == 0
   * Connection #0 to host 1.2.3.4 left intact
   ```
   
   Hm. I didn't execute any CURL commands before, nor did I touch the 
`_security` doc. Is it Fauxton-related?
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to