You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/03/04 15:38:21 UTC

[GitHub] [couchdb] nickva commented on issue #2626: Replication remote -> local doesn't work in 3.0

nickva commented on issue #2626: Replication remote -> local doesn't work in 3.0
URL: https://github.com/apache/couchdb/issues/2626#issuecomment-594608736
 
 
   There was a similar issue reported and I think it's related:
   
   https://github.com/apache/couchdb/issues/2594
   
   We had figured out there that Fauxton grabs the URL from the browser's location and uses parts of for the "local" replications. I can see how proxies or container environments would interfere with that. As the URL the browser connect to the server might not be accessible for the server to connect to itself especially with `localhost` being used.
   
   Try to reproduce the issue outside Fauxton and just using the API directly.
   
   Somethings to keep in mind with a proxy:
   
     * Make sure that it doesn't buffer requests, as say _changes feeds APIs need to stream data
   
     * They may alter the `Set-Cookie` headers and prevent servers behind the reverse proxies to authenticate requests properly. To avoid the issue can switch to basic auth only by setting
      ```
     [replicator]
     auth_plugins = couch_replicator_auth_noop
      ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services