You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/12/20 03:03:03 UTC

[GitHub] eiri commented on issue #1821: Cryptic error for chttpd_auth_cache:username

eiri commented on issue #1821: Cryptic error for chttpd_auth_cache:username
URL: https://github.com/apache/couchdb/issues/1821#issuecomment-448842008
 
 
   This is not from a db's VDU, but from [auth_cache](https://github.com/apache/couchdb/blob/master/src/chttpd/src/chttpd_auth_cache.erl#L191). The field `username` of user's doc [has to have `org.couchdb.user:` prefix](https://docs.couchdb.org/en/latest/intro/security.html?highlight=username#why-the-org-couchdb-user-prefix).
   
   This is not exactly a bug, more of exception not been handled gracefully, because assumption here is that validation on `_users` database should prevent creation of users without that prefix, so they can't get into the cache.
   
   @akircher Check out for a doc `e43caea614fb6e2250df47e4da043d64` in `_users` database or whatever database set in config's `[chttpd_auth]` as `authentication_db`.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services