Hi,

That's odd, haproxy should be passing any http method, can you share the 
haproxy config?

I would also compare to hitting a node directly on port 5984, I expect you'll 
get the same problem.

B.

> On 15 Oct 2018, at 16:33, Holger Frohloff <hol...@holgerfrohloff.de> wrote:
> 
> Hi. all
> 
> If this is the wrong place to pose this question please excuse me. If you 
> could point me towards a better place, please do so.
> 
> Situation:
> I followed the README at https://github.com/apache/couchdb-docker to create a 
> local cluster with three Couchdb instances behind a haproxy. I could use the 
> CouchDB API to creates 100k docs on the cluster.
> Now I wanted to replicate these docs to a local PouchDB in the browser.
> I get a 405 Method Not Allowed probably because the proxy does not allow the 
> OPTIONS request, that is send by PouchDB replicate.
> 
> My questions:
> - How can I modify the proxy to allow the OPTIONS request so the replication 
> could follow?
> - Does anybody have a similar setup and can tell me something about possible 
> speed gains compared to a single instance?
> 
> Thank you very much for any help.
> 
> Kind Regards,
> 
> Holger Frohloff
> ______________________
> Holger Frohloff, Ing.
> Software Development & Consulting
> 
> https://www.holgerfrohloff.de
> 
> 
> 

Reply via email to