cloudfoundry-attic / bosh-workspace

Gem for managing your bosh workspace
MIT License
22 stars 26 forks source link

please add proxy support #101

Closed funcode closed 8 years ago

funcode commented 8 years ago

We are behind firewall and can not download files from s3 without a proxy, but it seems bosh-workspace does not work with a proxy:

ruby 2.1.6p336 Pivotals-iMac  01.06.2016 12:16:31 in ~/workspace/fg-boshworkspace
± nf+yz |master ?:1 ✗| → bosh prepare deployment
Received bad HTTP response from director: connect to ssl proxy failed with status 403 Forbidden

ruby 2.1.6p336 Pivotals-iMac  01.06.2016 12:16:37 in ~/workspace/fg-boshworkspace
± nf+yz |master ?:1 ✗| → unsetproxy

ruby 2.1.6p336 Pivotals-iMac  01.06.2016 12:16:40 in ~/workspace/fg-boshworkspace
± nf+yz |master ?:1 ✗| → bosh prepare deployment

Fetching release 'cf' to satisfy template references
Version '226' has been checkout into:
- /Users/pivotal/workspace/fg-boshworkspace/.releases/cf

Uploading 'cf/226'
Recreating release from the manifest
Downloading from blobstore (id=3869f810-a232-49bc-a20e-780388e50280)...

(it gets stuck here)

rkoster commented 8 years ago

@funcode can you try adding your bosh director ip to no_proxy (export no_proxy={director_ip})

funcode commented 8 years ago

It works. Thanks!

On Wed, Jan 6, 2016 at 1:10 PM, Ruben Koster notifications@github.com wrote:

@funcode https://github.com/funcode can you try adding your bosh director ip to no_proxy (export no_proxy={director_ip})

— Reply to this email directly or view it on GitHub https://github.com/cloudfoundry-incubator/bosh-workspace/issues/101#issuecomment-169226172 .