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