You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Jochen Kempf (JIRA)" <ji...@apache.org> on 2010/07/02 22:06:49 UTC

[jira] Commented: (COUCHDB-720) Pull replication fails due to "401 Authentication required" while push replication works fine

    [ https://issues.apache.org/jira/browse/COUCHDB-720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884795#action_12884795 ] 

Jochen Kempf commented on COUCHDB-720:
--------------------------------------

Daniel,

I tried your configuration with a complete new server setup and indeed I do not get couchdb errors anymore when triggering a pull replication.
However, I still cannot do pull replication when the source db has design documents in it.

Once it hits a design document a 301 http response is returned and the replication process just freezes.

Here is a typical log entry:
[Fri, 02 Jul 2010 20:02:28 GMT] [info] [<0.1132.0>] 201.215.36.77 - - 'GET' /rrhh_jobs/_design%2FJob?open_revs=["2854-eee80115b5b381b4f55a44b8cdd6dafb"]&revs=true&latest=true 301


I deactivated authentication in couchdb setting...
 authentication_handlers = {couch_httpd_auth, null_authentication_handler}

What else can I do to make pull replication work?



> Pull replication fails due to "401 Authentication required" while push replication works fine
> ---------------------------------------------------------------------------------------------
>
>                 Key: COUCHDB-720
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-720
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon, HTTP Interface, Replication
>    Affects Versions: 0.10.1, 0.11
>         Environment: Remote server having Nginx reverse proxy and basic authentication enabled
>            Reporter: Jochen Kempf
>            Priority: Blocker
>
> Pull replication fails using both Futon Replicator and http request throwing an "401 Authentication required" error. This just happens when design documents are existent.
> Push replication on the other hand works fine.
> See used code here: http://gist.github.com/364072

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.