[ 
https://issues.apache.org/jira/browse/COUCHDB-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Newson updated COUCHDB-2180:
-----------------------------------

    Issue Type: Bug  (was: Task)

> Issue replicating from behind firewall using http_proxy
> -------------------------------------------------------
>
>                 Key: COUCHDB-2180
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2180
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: Replication
>            Reporter: Prakash Babu T
>
> Hi,
> 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.
> 1.
> curl -x http://<proxyurl>:80 -X POST http://10.137.115.211:5984/_replicate 
> -d...@npmregistry.json -H "Content-Type: application/json"
> cat npmRegistry.json 
> {"source":"http://isaacs.iriscouch.com/registry";, "target":"registry", 
> "continuous":true, "create_target":true}
> 2. 
> curl -x http://<proxyurl>:80 -X POST http://10.137.115.211:5984/_replicate -d 
> '{"source":"http://isaacs.iriscouch.com/registry/";, "target":"registry", 
> "create_target":true}' -H "Content-Type: application/json" 
> 3. 
> curl  -X POST http://10.137.115.211:5984/_replicate -d 
> '{"source":"http://isaacs.iriscouch.com/registry/";, "target":"registry", 
> "create_target":true, "proxy":"http://<proxyurl>:80" }' -H "Content-Type: 
> application/json" 
> 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
(v6.1.5#6160)

Reply via email to