I'm attemping to use cf login and used API endpoint as https://api.system.aws-usw02-pr.ice.predix.io. An error is reported: Error performing request: Get https://api.system.aws-usw02-pr.ice.predix.io/v2/info: http: error connecting to proxy http://104.129.196.38:18000/: dial tcp 104.129.196.38:18000: i/o timeout
How can this be resolved?
Answer by Tom Turner · Feb 05, 2019 at 11:36 AM
CLI uses proxy env vars
HTTP_PROXY
HTTPS_PROXY
http_proxy
https_proxy
no_proxy
If you update those with the correct proxy when behind the firewall it'll work.
Read this article, which provides a script to help you set it. https://www.predix.io/resources/tutorials/tutorial-details.html?tutorial_id=1565&tag=1608&journey=Development%20tools%20and%20tips&resources=1565,1560
Answer by Siva Balan · Feb 05, 2019 at 10:20 AM
It looks like your connection to proxy is not working. Can you jump on a network that is not BlueSSO, remove your proxy settings from terminal and try it again?
What is Cloud Foundry? 3 Answers
Cloud foundry java client usage against Predix.io 1 Answer
Diego ETA Update 2 Answers