Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6953907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:32:17+00:00 2026-05-27T14:32:17+00:00

I have a CouchDB server that is running behind a front end proxy which

  • 0

I have a CouchDB server that is running behind a front end proxy which only allows GET, HEAD and OPTIONS requests. POST, PUT and DELETE are all disallowed.

When I set up replication on my local machine to pull from the remote server it works fine, until it reaches the end, when it tries to POST to /_ensure_full_commit. This returns a 401 Unauthorized response and causes the replication to crash, and restarts at the beginning.

Can I prevent CouchDB replication from calling /_ensure_full_commit or do I need to change the front end proxy configuration to allow POSTs to this url?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T14:32:18+00:00Added an answer on May 27, 2026 at 2:32 pm

    It looks like the replicator code just always tries to commit to BOTH servers as part of the replication checkpoint process: https://github.com/apache/couchdb/blob/master/src/couch_replicator/src/couch_replicator.erl#L695

    So for now the quickest solution would be to fake a “success” response at the proxy level or simply pass that request through, especially since neither of us know whether it’s “necessary” or not.

    But I’d also strongly encourage you to ask on the mailinglist and/or file a bug about this though — it seems strange that you can’t do a pull replication using only GET requests.

    Update: Just remembered there’s a pretty significant rewrite of the replicator code that recently landed on the develop branch, so another consideration is to try out the new replicator in 1.2 first!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am running nginx 0.6.32 as a proxy front-end for couchdb. I have my
I have a production server running an app that uses CouchDB as its main
I'm running couchdb 1.0.1 on ubuntu and everything is working OK - except that
Can I replicate a CouchBase datbase running on Android to a CouchDB (1.1) server
I am writing an iPhone app, that requires cloud back-end DB storage. I have
I have an application running on AppEngine that uses about 50 CPU hours a
I have couchdb. Sunspot was correctly indexing everything. But the Solr server crashed. I
I'm building an application in Python2.6 that needs to get data from CouchDb. I'm
I have a CouchDB (v0.10.0) database that is 8.2 GB in size and contains
I have a bunch of MP3 metadata in CouchDB. I want to return every

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.