couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prakash Babu T (JIRA)" <>
Subject [jira] [Created] (COUCHDB-2180) Issue replicating from behind firewall using http_proxy
Date Fri, 28 Feb 2014 15:06:21 GMT
Prakash Babu T created COUCHDB-2180:

             Summary: Issue replicating from behind firewall using http_proxy
                 Key: COUCHDB-2180
             Project: CouchDB
          Issue Type: Task
      Security Level: public (Regular issues)
          Components: Replication
            Reporter: Prakash Babu T


I am setting up a local repository for npm. The couchdb sync fine while not behind a firewall.
But our hosted replication server is in a zone where we need to use http_proxy for hitting
the external sites.

For couch db replicate I tried with proxy settings similar to given below, but all the combinations
that I tried did not work.. 

These are the several options that I tried. Could someone please help to fix this? or let
me know if I am missing something.

curl -x http://<proxyurl>:80 -X POST -d@npmRegistry.json
-H "Content-Type: application/json"

cat npmRegistry.json 
{"source":"", "target":"registry", "continuous":true,


curl -x http://<proxyurl>:80 -X POST -d '{"source":"",
"target":"registry", "create_target":true}' -H "Content-Type: application/json" 


curl  -X POST -d '{"source":"",
"target":"registry", "create_target":true, "proxy":"http://<proxyurl>:80" }' -H "Content-Type:

4. I tried from the web interface of couched

5. I tried with the npm replicate application, after setting up npm set config http-proxy

All these options did not work.

This message was sent by Atlassian JIRA

View raw message