Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C49DB648D for ; Sun, 17 Jul 2011 07:25:04 +0000 (UTC) Received: (qmail 49532 invoked by uid 500); 17 Jul 2011 07:25:03 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 48883 invoked by uid 500); 17 Jul 2011 07:24:54 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 48869 invoked by uid 99); 17 Jul 2011 07:24:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jul 2011 07:24:49 +0000 X-ASF-Spam-Status: No, hits=3.6 required=5.0 tests=FS_REPLICA,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.210.180] (HELO mail-iy0-f180.google.com) (209.85.210.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jul 2011 07:24:43 +0000 Received: by iyh42 with SMTP id 42so4224766iyh.11 for ; Sun, 17 Jul 2011 00:24:22 -0700 (PDT) Received: by 10.42.28.195 with SMTP id o3mr5684027icc.297.1310887462050; Sun, 17 Jul 2011 00:24:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.178.68 with HTTP; Sun, 17 Jul 2011 00:24:02 -0700 (PDT) In-Reply-To: References: From: Jason Smith Date: Sun, 17 Jul 2011 14:24:02 +0700 Message-ID: Subject: Re: replication issues from couchone to local db (1.0.3/1.1.0) To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 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 lo= gging) > 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>, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 {{nocatch,{invalid_json,<<>>}}, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0[{couch_util,json_decode,1}, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 {couch_rep_reader,'-open_doc_revs/3-lc$^1/1-1-', > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1}, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 {couch_rep_reader,open_doc_revs,3}, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 {couch_rep_reader, > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 '-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,'-spaw= n_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 runn= ing). > > Does anyone have similar issues / are these known? > > Best regards, > > Jeroen Janssen > --=20 Iris Couch