Skip to content

Problem Replicating via nginx proxy #196

Open
@janl

Description

@janl

Hi,

I'm having major problems trying to replicate a remote database onto
the local server. The remote is behind a nginx proxy with SSL enabled.
Replication works perfectly when I use an SSH tunnel directly to the
server, so nginx must be messing something up along the way.

Most of the documents get replicated fine, but the design docs do not,
and the process takes a long time before it gives up. My nginx config
and stack trace can be found here:

http://gist.github.com/459343

I find the erlang back traces very difficult to read and can't make
out what the specific reason could be.

Eventually, the couchdb log will come up with more stack traces and
this single liner:

couch_rep_httpc request failed after 10 retries:

http://couchdb.ityzen.com/plazaycanales_loreal/_design/Project

Has anyone managed to get replication working via an nginx proxy? Any
pointers as to how I can better debug the erlang backtrace or provide
more information?

This of course is using CouchDB 0.11 and versions 0.5, 0.6, and 0.7 of
nginx (same problem in all versions tried.)

Many thanks,
sam
token=40859aae6b9645cadaaa9f68d22b1800login=janl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions