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

Joan Touzet commented on COUCHDB-3142:
--------------------------------------

OK, after dropping Fauxton and going straight to curl, I can reproduce this 
error. The command used is (excuse the double-quote escaping, this is required 
for using curl on Windows from the cli):

{noformat}
E:\relax\curl-7.49.1\src>curl -XPOST localhost:15984/_replicate -d 
"{\"source\":\"https://skimdb.npmjs.com/registry\";, \"target\": \"testfoo\", 
\"create_target\": true}" -H "Content-Type: application/json"
{"error":"checkpoint_commit_failure","reason":"Error updating the source 
checkpoint document: conflict"}
{noformat}

All 3 nodes' couch.log files are full of lines like this: 
{noformat}
[error] 2016-09-12T04:53:49.628000Z node2@127.0.0.1 <0.16422.1> -------- 
Replicator: couldn't write document `validatr`, revision 
`1-feec25229077b0f2426dc9d205bc532a`, to target database 
`http://127.0.0.1:15984/testfoo/`. Error: `forbidden`, reason: `Please log in 
before writing to the db`.
{noformat}

> replication is broken in admin party
> ------------------------------------
>
>                 Key: COUCHDB-3142
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3142
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>            Reporter: Robert Kowalski
>
> After replication of 4 documents in admin party I get:
> [error] 2016-09-11T13:35:44.251445Z node2@127.0.0.1 <0.9183.0> -------- 
> Replicator: couldn't write document `spmbatch`, revision 
> `1-3d3f983c5948661dca3708b6662d9bd2`, to target database 
> `http://127.0.0.1:35984/blerg/`. Error: `forbidden`, reason: `Please log in 
> before writing to the db`.
> Which was never the case before. Replication then stalls / retries forever



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to