You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2015/12/14 03:59:46 UTC
[jira] [Commented] (COUCHDB-2916) Unable Replicate from ACRA
[ https://issues.apache.org/jira/browse/COUCHDB-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15055346#comment-15055346 ]
Alexander Shorin commented on COUCHDB-2916:
-------------------------------------------
Works for me
{code}
$ echo '{"source": "http://get.acralyzer.com/distrib-acra-storage", "target": "db"}' | http -v http://localhost:5984/_replicate
POST /_replicate HTTP/1.1
Accept: application/json
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 76
Content-Type: application/json
Host: localhost:5984
User-Agent: HTTPie/0.9.2
{
"source": "http://get.acralyzer.com/distrib-acra-storage",
"target": "db"
}
HTTP/1.1 200 OK
Cache-Control: must-revalidate
Content-Length: 402
Content-Type: application/json
Date: Mon, 14 Dec 2015 02:58:31 GMT
Server: CouchDB/1.6.1 (Erlang OTP/18)
{
"history": [
{
"doc_write_failures": 0,
"docs_read": 1,
"docs_written": 1,
"end_last_seq": 2,
"end_time": "Mon, 14 Dec 2015 02:58:31 GMT",
"missing_checked": 1,
"missing_found": 1,
"recorded_seq": 2,
"session_id": "107c4b475ae0bf590989db386e58c108",
"start_last_seq": 0,
"start_time": "Mon, 14 Dec 2015 02:58:30 GMT"
}
],
"ok": true,
"replication_id_version": 3,
"session_id": "107c4b475ae0bf590989db386e58c108",
"source_last_seq": 2
}
{code}
Could you share the error from CouchDB logs?
> Unable Replicate from ACRA
> --------------------------
>
> Key: COUCHDB-2916
> URL: https://issues.apache.org/jira/browse/COUCHDB-2916
> Project: CouchDB
> Issue Type: Bug
> Components: Replication
> Reporter: Paijo RX
>
> today, i'm trying to use CouchDB. i want to connected my ACRA to CouchDB. when i try replicate database from remote database : http://get.acralyzer.com/distrib-acra-storage to local storage : acra-test, i got error on my browser console :
> POST http://127.0.0.1:5984/_replicate 500 (Internal Server Error)
> Uncaught Replication failed: could not open http://get.acralyzer.com/distrib-acra-storage.
> My Computer : windows 10, Chrome v 47
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)