Search code examples
command-line-interfaceibm-cloudcloud-foundry

Error performing request: in cloud foundry CLI


I have tried login through cf cli using the below command:

C:\Users\sc00359878>cf l

API endpoint> http://api.au-syd.bluemix.net

Even I have tried using https://api.au-syd.bluemix.net but I'm getting the below error:

enter image description here


Solution

  • In my case it was proxy issue. I have set some proxy command by using below command.

    set http_proxy=8787
    

    But then i have just applied below command to remove the proxy and it works for me.

    set http_proxy=
    

    For https you can use below command

    set https_proxy=
    

    Thanks