Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI HTTP Proxy document not mention http_proxy #24

Closed
wangf1 opened this issue Mar 17, 2017 · 5 comments
Closed

CLI HTTP Proxy document not mention http_proxy #24

wangf1 opened this issue Mar 17, 2017 · 5 comments
Labels

Comments

@wangf1
Copy link

wangf1 commented Mar 17, 2017

Using the cf CLI with an HTTP Proxy Server document only mentions https_proxy environment variable but not mention http_proxy.
While I found "cf logs [app name]" command will use http_proxy. If I do not set http_proxy, logs command will fail to connect log service, with following error:

C:>cf logs worker-app
FAILED
Timed out waiting for connection to Loggregator (wss://***.com:443).

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/141932629

The labels on this github issue will be updated when the story is started.

@ljarzynski
Copy link
Contributor

Thanks for filing this issue @wangf1 !

@dkoper -- Would appreciate your input on this. Should we mention on this page that users need to set http_proxy to be able to use the cf logs command?

@dkoper
Copy link
Contributor

dkoper commented Mar 17, 2017

@wangf1 Thanks for letting us know! It seems I have both environment variables enabled in my system so never noticed this.

@ljarzynski Can you move the tracker story, or a clone of it, into the CLI icebox?
We should make it work with https_proxy.

@ljarzynski
Copy link
Contributor

Thanks @dkoper! Just moved the story over.

@dkoper
Copy link
Contributor

dkoper commented Apr 13, 2017

This has been fixed in cf CLI 6.26.0. Thanks again for bringing it to my attention!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants