Hi Vishesh, this looks not right. Can you by chance share the affected database? It looks like it has to do with attachments. Can you share some informations about the type of docs and attachments you have?
Best Jan -- > On 1 Jan 2017, at 14:36, Vishesh Mittal <v...@platomedical.com> wrote: > > I am syncing all my databases from CouchDB 1.6 server to a CouchDB 2.0 server. > > Most of the databases sync correctly. However, some of them are not syncing. > The log file shows the following error. Any clue? > > Thank you so much > > > > [error] 2017-01-01T13:27:46.123435Z couchdb@localhost emulator -------- Error > in process <0.24284.71> on node couchdb@localhost with exit value: > {{nocatch,{mp_parser_died,noproc}},[{couch_att,'-foldl/4-fun-0-',3,[{file,"src/couch_att.erl"},{line,591}]},{couch_att,fold_streamed_data,4,[{file,"src/couch_att.erl"},{line,642}]},{couch_att,foldl,4,[{file,"src/couch_att.erl"},{line,595}]},{couch_httpd_multipart,atts_to_mp,4,[{file,"src/couch_httpd_multipart.erl"},{line,208}]}]} > > [error] 2017-01-01T13:27:46.126624Z couchdb@localhost <0.22292.71> -------- > Replicator, request PUT to > "https://dbuser:*****@domainname.com/sampledb/332743f619a73eac3aa6b0137e131a42?new_edits=false > > <http://domainname.com/sampledb/332743f619a73eac3aa6b0137e131a42?new_edits=false>" > failed due to error {error, > {'EXIT', > {{{nocatch,{mp_parser_died,noproc}}, > [{couch_att,'-foldl/4-fun-0-',3, > [{file,"src/couch_att.erl"},{line,591}]}, > {couch_att,fold_streamed_data,4, > [{file,"src/couch_att.erl"},{line,642}]}, > {couch_att,foldl,4,[{file,"src/couch_att.erl"},{line,595}]}, > {couch_httpd_multipart,atts_to_mp,4, > [{file,"src/couch_httpd_multipart.erl"},{line,208}]}]}, > {gen_server,call, > [<0.21293.71>, > {send_req, > {{url, > > "https://dbuser:dbpassw...@domainname.com/sampledb/332743f619a73eac3aa6b0137e131a42?new_edits=false > > <https://dbuser:dbpassw...@domainname.com/sampledb/332743f619a73eac3aa6b0137e131a42?new_edits=false>", > "domainname.com <http://domainname.com/>",443,"dbuser", > "dbpassword", > > "/sampledb/332743f619a73eac3aa6b0137e131a42?new_edits=false", > https,hostname}, > [{"Accept","application/json"}, > {"Content-Length",4189603}, > {"Content-Type", > "multipart/related; > boundary=\"53ca4a19006ae47a8ae90ca4c20b53c3\""}, > {"User-Agent","CouchDB-Replicator/2.0.0"}], > put, > {#Fun<couch_replicator_api_wrap.11.73678657>, > > {<<"{\"_id\":\"332743f619a73eac3aa6b0137e131a42\",\"_rev\":\"3-4a83572c4e5010c254b8e14ed0647b7e\",\"type\":\"file\",\"folder_id\":\"b2f789dd56c44f22604e1fd3a7e6832f\",\"last_edited\":1433264101,\"priority\":2,\"original_filename\":\"00117/5.jpg\",\"_deleted\":true,\"_revisions\":{\"start\":3,\"ids\":[\"4a83572c4e5010c254b8e14ed0647b7e\",\"dd0d5b019730b478ced047b875b76d61\",\"4cdf532cd8ad2101e4dd65b68b552ae8\"]},\"_attachments\":{\"pic.jpg\":{\"content_type\":\"image/jpeg\",\"revpos\":2,\"digest\":\"md5-skV4l0YZjqxi9E+8zfwOKw==\",\"length\":4188814,\"follows\":true}}}">>, > [{att,<<"pic.jpg">>,<<"image/jpeg">>,4188814,4188814, > > <<178,69,120,151,70,25,142,172,98,244,79,188,205,252, > 14,43>>, > 2, > {follows,<0.21235.71>,#Ref<0.0.7340036.89524>}, > identity}], > <<"53ca4a19006ae47a8ae90ca4c20b53c3">>,4189603}}, > [{response_format,binary}, > {inactivity_timeout,30000}, > {is_ssl,true}, > {socket_options,[{keepalive,true},{nodelay,false}]}, > {ssl_options,[{depth,3},{verify,0}]}], > infinity}}, > infinity]}}}} > [error] 2017-01-01T13:27:46.127162Z couchdb@localhost <0.19216.71> -------- > Replicator, request PUT to > "https://dbuser:*****@domainname.com/sampledb/17a11816fa87774384e690a6c1cc70ff?new_edits=false > > <http://domainname.com/sampledb/17a11816fa87774384e690a6c1cc70ff?new_edits=false>" > failed due to error {error, > {'EXIT', > {{{nocatch,{mp_parser_died,noproc}}, > [{couch_att,'-foldl/4-fun-0-',3, > [{file,"src/couch_att.erl"},{line,591}]}, > {couch_att,fold_streamed_data,4, > [{file,"src/couch_att.erl"},{line,642}]}, > {couch_att,foldl,4,[{file,"src/couch_att.erl"},{line,595}]}, > {couch_httpd_multipart,atts_to_mp,4, > [{file,"src/couch_httpd_multipart.erl"},{line,208}]}]}, > {gen_server,call, > [<0.22144.71>, > {send_req, > {{url, > > "https://dbuser:dbpassw...@domainname.com/sampledb/17a11816fa87774384e690a6c1cc70ff?new_edits=false > > <https://dbuser:dbpassw...@domainname.com/sampledb/17a11816fa87774384e690a6c1cc70ff?new_edits=false>", > "domainname.com <http://domainname.com/>",443,"dbuser", > "dbpassword", > > "/sampledb/17a11816fa87774384e690a6c1cc70ff?new_edits=false", > https,hostname}, > [{"Accept","application/json"}, > {"Content-Length",4190105}, > {"Content-Type", > "multipart/related; > boundary=\"c43b2dad07b5138dc9b30ada15e9ca5e\""}, > {"User-Agent","CouchDB-Replicator/2.0.0"}], > put, > {#Fun<couch_replicator_api_wrap.11.73678657>, > > {<<"{\"_id\":\"17a11816fa87774384e690a6c1cc70ff\",\"_rev\":\"3-16c5227fc08878733b41d80a0080afba\",\"type\":\"file\",\"folder_id\":\"c00e9ba24734ea5b9298e7eb59de6d53\",\"last_edited\":1433264101,\"priority\":1,\"original_filename\":\"00150/2.jpg\",\"_deleted\":true,\"_revisions\":{\"start\":3,\"ids\":[\"16c5227fc08878733b41d80a0080afba\",\"bc6ba1602ea0e6118fc565a384acd4f7\",\"ff1e6b23f9cd9072ad9e2f6bbe9b7bf5\"]},\"_attachments\":{\"pic.jpg\":{\"content_type\":\"image/jpeg\",\"revpos\":2,\"digest\":\"md5-sPkZwLKmcTgYI5e0Ap01VQ==\",\"length\":4189312,\"follows\":true}}}">>, > [{att,<<"pic.jpg">>,<<"image/jpeg">>,4189312,4189312, > <<176,249,25,192,178,166,113,56,24,35,151,180,2,157, > 53,85>>, > 2, > {follows,<0.21439.71>,#Ref<0.0.7602179.21775>}, > identity}], > <<"c43b2dad07b5138dc9b30ada15e9ca5e">>,4190105}}, > [{response_format,binary}, > {inactivity_timeout,30000}, > {is_ssl,true}, > {socket_options,[{keepalive,true},{nodelay,false}]}, > {ssl_options,[{depth,3},{verify,0}]}], > infinity}}, > infinity]}}}} > -- Professional Support for Apache CouchDB: https://neighbourhood.ie/couchdb-support/