couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Newson (JIRA)" <>
Subject [jira] [Resolved] (COUCHDB-2180) Issue replicating from behind firewall using http_proxy
Date Fri, 28 Feb 2014 18:46:21 GMT


Robert Newson resolved COUCHDB-2180.

    Resolution: Incomplete

Without details of the errors you encountered, we can't really help.

Please re-open when you have the errors from the couchdb log.

> Issue replicating from behind firewall using http_proxy
> -------------------------------------------------------
>                 Key: COUCHDB-2180
>                 URL:
>             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 -d@npmRegistry.json
-H "Content-Type: application/json"
> cat npmRegistry.json 
> {"source":"", "target":"registry", "continuous":true,
> 2. 
> curl -x http://<proxyurl>:80 -X POST -d '{"source":"",
"target":"registry", "create_target":true}' -H "Content-Type: application/json" 
> 3. 
> 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