【发布时间】:2014-07-12 21:01:04
【问题描述】:
我想复制 CouchDB 数据库https://github.com/kirel/detexify-data
很遗憾,我收到一个错误:
$ curl -X POST -H "Content-Type:application/json" -d '{"source":"https://kirelabs.cloudant.com/detexify","target":"detexify"}' http://localhost:5984/_replicate
{"error":"checkpoint_commit_failure","reason":"Failure on source commit: {error,<<\"unauthorized\">>}"}
这似乎是以下错误:https://issues.apache.org/jira/browse/COUCHDB-1524
谁能告诉我是否有解决方法?如何获取数据?
失败的尝试
$ curl -X POST -H "Content-Type:application/json" \
-d '{"source":"https://kirelabs.cloudant.com/detexify",
"target":"detexify",
"use_checkpoints":false}'
http://localhost:5984/_replicate
{"error":"checkpoint_commit_failure",
"reason":"Failure on source commit: {error,<<\"unauthorized\">>}"}
【问题讨论】:
标签: couchdb