incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-256) Replicating from a write-protected server fails
Date Wed, 09 Sep 2009 16:08:57 GMT

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

Adam Kocoloski commented on COUCHDB-256:
----------------------------------------

Hi Jens, would you care to try this again with a new checkout?  There shouldn't be any problem
replicating from a protected source server.  You can also replicate to a write-protected server
if you supply the proper credentials in the POST body.

If you do encounter the problem, can you include the syntax you used to trigger the replication
in a comment?  Thanks,

Adam

> Replicating from a write-protected server fails
> -----------------------------------------------
>
>                 Key: COUCHDB-256
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-256
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>         Environment: SVN r743373 (2/11/09); Mac OS X 10.5.6; current DarwinPorts versions
of dependencies.
>            Reporter: Jens Alfke
>            Assignee: Adam Kocoloski
>
> I attempted to follow the example in jchris's "My Couch Of Yours?" post (http://jchris.mfdz.com/code/2008/11/my_couch_or_yours__shareable_ap),
pulling a copy of his Twitter client CouchApp from his server. Unfortunately the replication
fails. In his reply to my mailing list post, Jan said "At the moment, replication does not
fully work with authentication-enabled replication sources. But this is being worked on [...]
I don't think we have an open JIRA ticket for this." So I'm filing a ticket for it.
> The Replicator in the Futon interface doesn't show any errors, it just never stops the
spinny progress indicator. But this immediately gets dumped to the log file:
> [Sun, 15 Feb 2009 03:58:57 GMT] [error] [emulator] Error in process <0.214.0> with
exit value: {{nocatch,{unauthorized,<<39 bytes>>}},[{couch_db,validate_doc_update,3},{couch_db,'-update_docs/4-lc$^1/1-8-',2},{lists,zipwith,3},{couch_db,update_docs,4},{couch_rep,save_docs_buffer,3}]}
> [Sun, 15 Feb 2009 03:58:57 GMT] [error] [<0.49.0>] {error_report,<0.22.0>,
>    {<0.49.0>,std_error,
>     {mochiweb_socket_server,235,
>         {child_error,
>             {{nocatch,
>                  {unauthorized,
>                      <<"You are not a server or database admin.">>}},
>              [{couch_db,validate_doc_update,3},
>               {couch_db,'-update_docs/4-lc$^1/1-8-',2},
>               {lists,zipwith,3},
>               {couch_db,update_docs,4},
>               {couch_rep,save_docs_buffer,3}]}}}}}

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