Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 49236 invoked from network); 15 Jul 2010 21:12:06 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Jul 2010 21:12:06 -0000 Received: (qmail 31069 invoked by uid 500); 15 Jul 2010 21:12:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 31018 invoked by uid 500); 15 Jul 2010 21:12:04 -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 31010 invoked by uid 99); 15 Jul 2010 21:12:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 21:12:04 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=FS_REPLICA,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Bharat.Bharat@citrix.com designates 216.219.126.165 as permitted sender) Received: from [216.219.126.165] (HELO sbapExch05.ad.corp.expertcity.com) (216.219.126.165) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jul 2010 21:11:56 +0000 Received: from SBAPEXCH05.ad.corp.expertcity.com ([10.1.6.25]) by sbapexch05 ([10.1.6.25]) with mapi; Thu, 15 Jul 2010 14:10:33 -0700 From: Bharat Bharat To: "user@couchdb.apache.org" Date: Thu, 15 Jul 2010 14:11:32 -0700 Subject: Re: Replication hangs w/redirected URL Thread-Topic: Replication hangs w/redirected URL Thread-Index: AcskYikrkb+xQY/QTTSSXVWHA2axDA== Message-ID: References: <04C8F027-293D-44C1-976B-52D54C822981@calftrail.com> In-Reply-To: <04C8F027-293D-44C1-976B-52D54C822981@calftrail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-ems-proccessed: oXeMnjjQeARSDE4UqeV8aA== x-ems-stamp: TdiXA/py0J391Pkt8ZYfjw== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I noticed the exact same time out problem while trying to replicate a 0.11 = DB to 1.0. I tried through couchdbx but I am assuming it will be the same v= ia straight curl request. On Jul 15, 2010, at 9:05 AM, Nathan Vander Wilt wrote: > First of all, congrats to all on the 1.0 release! >=20 > I am having some trouble replicating a database from CouchDBX-0.11.0-R13B= 04-64bit-Snow-Leopard to CouchDBX-1.0.0-7-Universal, however. On the new ve= rsion, the replicate request gets stuck in this loop: >=20 > 1> [error] [<0.163.0>] streaming att. ended but more data requested {1279= ,208676,683283} > 1> [info] [<0.163.0>] request for "_design%2Fwebviewer/index.html" timed = out, retrying in 0.5 seconds > 1> [error] [<0.163.0>] streaming att. ended but more data requested {1279= ,208677,197296} > 1> [info] [<0.163.0>] request for "_design%2Fwebviewer/index.html" timed = out, retrying in 0.5 seconds > 1> [error] [<0.163.0>] streaming att. ended but more data requested {1279= ,208677,709212} > 1> [info] [<0.163.0>] request for "_design%2Fwebviewer/index.html" timed = out, retrying in 0.5 seconds > 1> [error] [<0.163.0>] streaming att. ended but more data requested {1279= ,208678,225227} > 1> [info] [<0.163.0>] request for "_design%2Fwebviewer/index.html" timed = out, retrying in 0.5 seconds > .... >=20 > The old version (running on port 5983) is showing the following activity = while this is happening: >=20 > 1> [info] [<0.98.0>] 127.0.0.1 - - 'GET' /t1i_digipics/_design%2Fwebviewe= r/index.html?rev=3D1-6513a876c403710e07df0c8a7d5dfebe 301 > 1> [info] [<0.98.0>] 127.0.0.1 - - 'GET' /t1i_digipics/_design/webviewer/= index.html?rev=3D1-6513a876c403710e07df0c8a7d5dfebe 200 > 1> [info] [<0.98.0>] 127.0.0.1 - - 'GET' /t1i_digipics/_design%2Fwebviewe= r/index.html?rev=3D1-6513a876c403710e07df0c8a7d5dfebe 301 > 1> [info] [<0.98.0>] 127.0.0.1 - - 'GET' /t1i_digipics/_design/webviewer/= index.html?rev=3D1-6513a876c403710e07df0c8a7d5dfebe 200 > 1> [info] [<0.98.0>] 127.0.0.1 - - 'GET' /t1i_digipics/_design%2Fwebviewe= r/index.html?rev=3D1-6513a876c403710e07df0c8a7d5dfebe 301 > 1> [info] [<0.98.0>] 127.0.0.1 - - 'GET' /t1i_digipics/_design/webviewer/= index.html?rev=3D1-6513a876c403710e07df0c8a7d5dfebe 200 > .... >=20 > I can pull up the document fine in Safari. Is the replication in 1.0 not = handling the redirect properly? >=20 > When I try to run in the opposite direction (starting fresh) by pushing f= rom the old database to the new I get an "Replication failed: undefined" al= ert in the /_config/ interface, and the following logged by each instance: >=20 > Starting CouchDB... > Eshell V5.7.5 (abort with ^G) > 1> Apache CouchDB 0.11.0 (LogLevel=3Dinfo) is starting. > 1> Apache CouchDB has started. Time to relax. > 1> [info] [<0.35.0>] Apache CouchDB has started on http://127.0.0.1:5983/ > 1> [info] [<0.111.0>] 127.0.0.1 - - 'GET' /_all_dbs 200 > 1> [info] [<0.98.0>] 127.0.0.1 - - 'GET' /_session 200 > 1> [info] [<0.98.0>] 127.0.0.1 - - 'GET' / 200 > 1> [info] [<0.116.0>] starting new replication "680eba2b70fe92691ae066e15= 9fab5d7" at <0.136.0> > 1> [info] [<0.136.0>] replication terminating due to target_error: <<"bad= _content_type">> > 1> [info] [<0.116.0>] 127.0.0.1 - - 'POST' /_replicate 500 > 1>=20 >=20 >=20 > Starting CouchDB... > Eshell V5.7.5 (abort with ^G) > 1> Apache CouchDB 1.0.0 (LogLevel=3Dinfo) is starting. > 1> Apache CouchDB has started. Time to relax. > 1> [info] [<0.36.0>] Apache CouchDB has started on http://127.0.0.1:5984/ > 1> [info] [<0.106.0>] 127.0.0.1 - - 'HEAD' /photos/ 200 > 1> [info] [<0.130.0>] 127.0.0.1 - - 'GET' /photos/ 200 > 1> [info] [<0.138.0>] 127.0.0.1 - - 'GET' /photos/_local%2F680eba2b70fe92= 691ae066e159fab5d7 404 > 1> [info] [<0.139.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.140.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.141.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.142.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.144.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.145.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.146.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.106.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.106.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.106.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> [info] [<0.130.0>] 127.0.0.1 - - 'POST' /photos/_bulk_docs 415 > 1> [info] [<0.106.0>] 127.0.0.1 - - 'POST' /photos/_missing_revs 200 > 1> =20 >=20 > Any tips or pointers to what's going wrong and how to correct would be ap= preciated. For now, I've just deleted my photo couchapp's design document f= rom the source repo and replication seems to be progressing nicely. >=20 > thanks, > -natevw