incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Franck Eyraud <franck+couchd...@nospam.yrnm.net>
Subject Replication through reverse proxy and
Date Sat, 17 May 2014 15:40:42 GMT
Hi List,

I'm trying to use a simple "home made" node.js reverse proxy to do some 
access control; I also want the replication to go through this, but it 
doesn't go well.

The error from the the log file is this one :

Error in process <0.17319.0> with exit value: 
{function_clause,[{string,tokens1,[undefined,";",[]]},{mochiweb_util,parse_header,1},{couch_httpd,get_boundary,1},{couch_httpd,parse_multipart_request,3},{couch_replicator_api_wrap,'-open_doc_revs/6-fun-1-',4},{couch_replicator_httpc...



[info] [<0.16444.0>] Retrying GET to 
http://...revs=true&open_revs=%5B%226-650708de185e793a94fab6718fc97e4c%22%5D&latest=true

in 600.0 seconds due to error {function_clause, [{string,
tokens1, [undefined,";",[]]},
{mochiweb_util,parse_header,1},
{couch_httpd,get_boundary,1},
{couch_httpd,parse_multipart_request,3},
{couch_replicator_api_wrap,'-open_doc_revs/6-fun-1-',4},
{couch_replicator_httpc,process_stream_response,5}]}


Some problem in parsing the headers, could it be because the node.js 
library transform all the headers in lower case ?
If yes, does someone have some suggestion or other solution to have this 
working ?
Or is this just some problem in the proxy ?

Thanks for your help.

Franck

Mime
View raw message