You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Leonel Nunez <li...@enelserver.com> on 2011/07/02 22:03:36 UTC

Replication crash

Hello ..

I'm having this error constantly and need to restart replication.

Once replication is started all works fine for 1 or 2 hours then error
happens again

I'm pulling the replication from a 1.0.1 to a 1.0.1  the target server
shows the error but no errors on the source server

This is the error

[Sat, 02 Jul 2011 16:58:04 GMT] [error] [<0.3477.3>] couch_rep_httpc
request failed after 10 retries: http://xxxx:yyyy@localhost:5555/mydb/

[Sat, 02 Jul 2011 16:58:09 GMT] [error] [<0.3468.3>] ** Generic server
<0.3468.3> terminating
** Last message in was {'EXIT',<0.3464.3>,
                           {http_request_failed,
                               <<"failed to replicate
http://xxxx:yyyy@localhost:5555/mydb/">>}}
** When Server state == {state,nil,nil,
                            [<0.3464.3>,
                             {http_db,
                                 "http://xxxx:yyyy@localhost:5555/mydb/",
                                 [],"_changes",
                                 [{"User-Agent","CouchDB/1.0.1"},
                                  {"Accept","application/json"}],
                                 [{"style",all_docs},
                                  {"heartbeat",10000},
                                  {"since",2671},
                                  {"feed",continuous}],
                                 get,nil,
                                 [{stream_to,{<0.3468.3>,once}},
                                  {response_format,binary}],
                                 10,500,<0.3469.3>},
                             2671,
                             [{<<"source">>,
                               <<"http://xxxx:yyyy@localhost:5555/mydb">>},
                              {<<"target">>,<<"otherdb">>},
                              {<<"continuous">>,true}]],
                            2844,<0.3469.3>,
                            {1309,625042,318003},
                            false,0,<<>>,
                            {<0.3471.3>,#Ref<0.0.1.169029>},
                            {[],[]}}
** Reason for termination ==
** {http_request_failed,<<"failed to replicate
http://xxxx:yyyy@localhost:5555/mydb/">>}


[Sat, 02 Jul 2011 16:58:09 GMT] [error] [<0.3468.3>] {error_report,<0.32.0>,
    {<0.3468.3>,crash_report,
     [[{initial_call,{couch_rep_changes_feed,init,['Argument__1']}},
       {pid,<0.3468.3>},
       {registered_name,[]},
       {error_info,
           {exit,
               {http_request_failed,
                   <<"failed to replicate
http://xxxx:yyyy@localhost:5555/mydb/">>},
               [{gen_server,terminate,6},{proc_lib,init_p_do_apply,3}]}},
       {ancestors,
           [<0.3464.3>,couch_rep_sup,couch_primary_services,couch_server_sup,
            <0.33.0>]},
       {messages,[]},
       {links,[]},
       {dictionary,[{timeout,{1309625914115969,#Ref<0.0.1.171587>}}]},
       {trap_exit,true},
       {status,running},
       {heap_size,2584},
       {stack_size,24},
       {reductions,24867}],
      []]}}



I hope you can lead me to any doc I can read to fix this ..


Thank you

Leonel