incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Replication error on Mac OS X 10.8
Date Wed, 27 Feb 2013 09:59:28 GMT
Hi,

It sounds like poor error handling on our part when you add a
_replicator document with a malformed URL. Can you show the document
(remember to remove passwords!)?

B.

On 27 February 2013 06:47, Gennady Denisov <denisovgena@gmail.com> wrote:
> Hello, everyone.
>
> When trying to replicate from remote database to my local database I get
> the following error:
>
> [Wed, 27 Feb 2013 06:35:53 GMT] [error] [<0.31518.0>] Badarg error in
> HTTP request
> [Wed, 27 Feb 2013 06:35:53 GMT] [info] [<0.31518.0>] Stacktrace:
> [{erlang,list_to_integer,
>                                    ["10.10.0.128:5984"],
>                                    []},
>                                   {ibrowse_lib,parse_url,4,
>                                    [{file,
>
> "/Users/jan/Work/build-couchdb-mac/build-couchdb/git-build/https%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fcouchdb.git%3Atags%2F1.2.1/src/ibrowse/ibrowse_lib.erl"},
>                                     {line,315}]},
>                                   {ibrowse_lib,parse_url,1,
>                                    [{file,
>
> "/Users/jan/Work/build-couchdb-mac/build-couchdb/git-build/https%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fcouchdb.git%3Atags%2F1.2.1/src/ibrowse/ibrowse_lib.erl"},
>                                     {line,183}]},
>                                   {couch_replicator_utils,ssl_params,1,
>                                    [{file,
>
> "/Users/jan/Work/build-couchdb-mac/build-couchdb/git-build/https%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fcouchdb.git%3Atags%2F1.2.1/src/couchdb/couch_replicator_utils.erl"},
>                                     {line,301}]},
>                                   {couch_replicator_utils,parse_rep_db,3,
>                                    [{file,
>
> "/Users/jan/Work/build-couchdb-mac/build-couchdb/git-build/https%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fcouchdb.git%3Atags%2F1.2.1/src/couchdb/couch_replicator_utils.erl"},
>                                     {line,194}]},
>                                   {couch_replicator_utils,parse_rep_doc,2,
>                                    [{file,
>
> "/Users/jan/Work/build-couchdb-mac/build-couchdb/git-build/https%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fcouchdb.git%3Atags%2F1.2.1/src/couchdb/couch_replicator_utils.erl"},
>                                     {line,40}]},
>                                   {couch_httpd_replicator,handle_req,1,
>                                    [{file,
>
> "/Users/jan/Work/build-couchdb-mac/build-couchdb/git-build/https%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fcouchdb.git%3Atags%2F1.2.1/src/couchdb/couch_httpd_replicator.erl"},
>                                     {line,34}]},
>                                   {couch_httpd,handle_request_int,5,
>                                    [{file,
>
> "/Users/jan/Work/build-couchdb-mac/build-couchdb/git-build/https%3A%2F%2Fgit-wip-us.apache.org%2Frepos%2Fasf%2Fcouchdb.git%3Atags%2F1.2.1/src/couchdb/couch_httpd.erl"},
>                                     {line,317}]}]
> [Wed, 27 Feb 2013 06:35:53 GMT] [error] [<0.31518.0>] Uncaught server
> error: badarg
> [Wed, 27 Feb 2013 06:35:53 GMT] [info] [<0.31518.0>] 127.0.0.1 - -
> POST /_replicate 500
>
> I have no idea whether it related to Jan's paths or not, but need help to
> fix.
>
> Best regards,
> Gennady

Mime
View raw message