couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeroen Janssen <jeroen.jans...@gmail.com>
Subject Re: replication issues from couchone to local db (1.0.3/1.1.0)
Date Sun, 17 Jul 2011 16:11:51 GMT
Hi,

switching to https did not solve the problem, (on 1.0.3) it still fails with:

[Sun, 17 Jul 2011 16:08:30 GMT] [info] [<0.181.0>] recording a
checkpoint for https://fdmanana.couchone.com/less_json_test/ ->
less_json_test at source update_seq 7036
[Sun, 17 Jul 2011 16:08:34 GMT] [error] [emulator] Error in process
<0.8097.0> with exit value: {{nocatch,{invalid_json,<<0
bytes>>}},[{couch_util,json_decode,1},{couch_rep_reader,'-open_doc_revs/3-lc$^1/1-1-',1},{couch_rep_reader,open_doc_revs,3},{couch_rep_reader,'-spawn_document_request/4-fun-0-',5}]}

Any other ideas?

Jeroen

On Sun, Jul 17, 2011 at 9:24 AM, Jason Smith <jhs@iriscouch.com> wrote:
> Jeroen, this is a longshot because you seem to be in a web-friendly
> country, the Netherlands, however perhaps try replicating via https
> instead.
>
> Using HTTPS will reduce the chance of interference by "transparent"
> proxies that some ISPs have in place. For example, where I live, I
> cannot replicate more than a few hundred changes before getting
> errors; but when I switch the URL to https, everything is fine.
>
> On Sun, Jul 17, 2011 at 2:04 PM, Jeroen Janssen
> <jeroen.janssen@gmail.com> wrote:
>> Hi,
>>
>> I am trying to replicate http://fdmanana.couchone.com/less_json_test
>> to a local couchdb running on Windows.
>>
>> With CouchDB 1.0.3 replication gets stuck at #305, last log related to
>> replication shows:
>> [info] [<0.169.0>] recording a checkpoint for
>> http://fdmanana.couchone.com/less_json_test/ -> less_json_test at
>> source update_seq 305
>> and then nothing else happened (no progress, no additional replication logging)
>> I restarted my local couchdb and tried again, and now it gets to:
>> [Sun, 17 Jul 2011 07:00:17 GMT] [info] [<0.163.0>] recording a
>> checkpoint for http://fdmanana.couchone.com/less_json_test/ ->
>> less_json_test2 at source update_seq 6223
>> [Sun, 17 Jul 2011 07:00:18 GMT] [error] [<0.182.0>] ** Generic server
>> <0.182.0> terminating
>> ** Last message in was {'DOWN',#Ref<0.0.0.143953>,process,<0.6789.0>,
>>                           {{nocatch,{invalid_json,<<>>}},
>>                            [{couch_util,json_decode,1},
>>                             {couch_rep_reader,'-open_doc_revs/3-lc$^1/1-1-',
>>                                 1},
>>                             {couch_rep_reader,open_doc_revs,3},
>>                             {couch_rep_reader,
>>                                 '-spawn_document_request/4-fun-0-',5}]}}
>>
>> full log is at http://db.tt/ifENhue
>>
>> With CouchDB 1.1.0 replication fails with:
>> [Sun, 17 Jul 2011 06:48:06 GMT] [info] [<0.218.0>] starting new
>> replication "8d0a6aa18187a53bfc6593cd74d043a0+continuous" at <0.602.0>
>> [Sun, 17 Jul 2011 06:48:06 GMT] [info] [<0.218.0>] 127.0.0.1 - -
>> 'POST' /_replicate 202
>> [Sun, 17 Jul 2011 06:48:12 GMT] [info] [<0.602.0>] recording a
>> checkpoint for http://fdmanana.couchone.com/less_json_test/ ->
>> less_json_test at source update_seq 1063
>> [Sun, 17 Jul 2011 06:48:16 GMT] [error] [emulator] Error in process
>> <0.3015.0> with exit value: {{nocatch,{invalid_json,<<0
>> bytes>>}},[{couch_util,json_decode,1},{couch_rep_reader,'-open_doc_revs/3-lc$^1/1-1-',1},{couch_rep_reader,open_doc_revs,3},{couch_rep_reader,'-spawn_document_request/4-fun-0-',5}]}
>>
>> full log is at http://db.tt/RDXOztc
>>
>> With CouchDB 1.2.0a replication seems to go ok (it's currently still running).
>>
>> Does anyone have similar issues / are these known?
>>
>> Best regards,
>>
>> Jeroen Janssen
>>
>
>
>
> --
> Iris Couch
>

Mime
View raw message