Skip to Content
0

CF connection Error (CF API)

Jun 12, 2017 at 01:40 PM

47

avatar image

When I connected to CF via below command.

cf api http://api.cf.us10.hana.ondemand.com

I got below errors.

Request error: Get http://api.cf.us10.hana.ondemand.com/v2/info: dial tcp 52.205.80.155:80: i/o timeout

TIP: If you are behind a firewall and require an HTTP proxy, verify the https_proxy environment variable is correctly set. Else, check your network connection.

FAILED

I had set the proxy as below, but it does not work.

set HTTP_PROXY_HOST=proxy

set HTTP_PROXY_PORT=8080

set HTTPS_PROXY_HOST=proxy

set HTTPS_PROXY_PORT=8080

set HTTP_NON_PROXY_HOSTS="localhost"

BTW, I found that http://api.cf.us10.hana.ondemand.com/v3 is fine, but I could not access http://api.cf.us10.hana.ondemand.com/v2.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers