couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bykov <m.by...@gmail.com>
Subject replication: lexical error: invalid char in json text
Date Fri, 05 Oct 2012 14:33:21 GMT
Hi,

Local couchdb works great, but replication does not work.

Replication worked perfectly several days ago. You can see the correct
(that was replicated) part of it here:
http://diglossa.ru:5984/_utils/database.html?greek

Please advice how can I find invalid record in local DB?

I got this in log:


=CRASH REPORT==== 5-Oct-2012::18:16:23 ===
  crasher:
    initial call: couch_replicator:init/1
    pid: <0.720.0>
    registered_name: []
    exception exit: {worker_died,<0.727.0>,
                        {{nocatch,
                             {invalid_json,
                                 {{error,
                                      {1,
                                       "lexical error: invalid char in
json text.\n"}},
                                  <<"<html>\r\n<head><title>413
Request Entity Too Large</title></head>\r\n<body
bgcolor=\"white\">\r\n<center><h1>413 Request Entity Too
Large</h1></center>\r\n<hr><center>nginx/1.1.9</center>\r\n</body>\r\n</html>\r\n">>}}},
                         [{ejson,nif_decode,1,[{file,"ejson.erl"},{line,57}]},
                          {ejson,decode,1,[{file,"ejson.erl"},{line,38}]},
                          {couch_replicator_httpc,process_response,5,
                              [{file,"src/couch_replicator_httpc.erl"},
                               {line,88}]},



-- 
лю.

http://diglossa.ru
xmpp://m.bykov@jabber.ru

Mime
View raw message