You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Robert Newson (JIRA)" <ji...@apache.org> on 2017/05/26 09:52:04 UTC

[jira] [Created] (COUCHDB-3426) 403 denial reported as db_not_found by replicator

Robert Newson created COUCHDB-3426:
--------------------------------------

             Summary: 403 denial reported as db_not_found by replicator
                 Key: COUCHDB-3426
                 URL: https://issues.apache.org/jira/browse/COUCHDB-3426
             Project: CouchDB
          Issue Type: Bug
          Components: Replication
            Reporter: Robert Newson


In various places we've improved the status code of errors from 401 Unauthorised to 403 Forbidden to better match the HTTP spec.

Unfortunately the replicator was not taught to anticipate this and so sends misleading db_not_found errors when it can't open a database because of a 403 forbidden result.

I'll submit a small PR to improve error handling.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)