Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-256

Replicating from a write-protected server fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • Database Core
    • None
    • SVN r743373 (2/11/09); Mac OS X 10.5.6; current DarwinPorts versions of dependencies.

    Description

      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}

      ]}}}}}

      Attachments

        Activity

          People

            kocolosk Adam Kocoloski
            snej Jens Alfke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: