couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-720) Pull replication fails due to "401 Authentication required" while push replication works fine
Date Mon, 05 Jul 2010 21:52:50 GMT

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

Filipe Manana commented on COUCHDB-720:
---------------------------------------

Klaus,

instead of

klausi@devil:~$ curl -vX POST http://admin:secret@127.0.0.1:5991/_replicate -d '{"source":"test_suite_db_a","target":"http://127.0.0.1:5991/test_suite_db_b"}'


try

klausi@devil:~$ curl -vX POST http://admin:secret@127.0.0.1:5991/_replicate -d '{"source":"test_suite_db_a","target":"http://admin:secret@127.0.0.1:5991/test_suite_db_b"}'


(add user:passwd@ to the target url in the json content)

does it help?

> 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.


Mime
View raw message