cloudfoundry / cli

The official command line client for Cloud Foundry
https://docs.cloudfoundry.org/cf-cli
Apache License 2.0
1.75k stars 926 forks source link

Error unmarshalling the following into a cloud controller error: #2037

Open basurohit77 opened 4 years ago

basurohit77 commented 4 years ago

C:\Users\rohit\OneDrive\Desktop\Microfrofile\Day5\test>cf login -u passcode -p cmbZfThGaC API endpoint: https://cloud.ibm.com Error unmarshalling the following into a cloud controller error: FAILED

C:\Users\rohit\OneDrive\Desktop\Microfrofile\Day5\test>cf7 push No API endpoint set. Use 'cf7 login' or 'cf7 api' to target an endpoint. FAILED

C:\Users\rohit\OneDrive\Desktop\Microfrofile\Day5\test>cf7 login API endpoint: cloud.ibm.com Error unmarshalling the following into a cloud controller error: FAILED

cf-gitbot commented 4 years ago

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

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

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

JenGoldstrich commented 4 years ago

Hello @basurohit77

Thanks for reporting this!

Can you please include your cf api and cf CLi versions, which OS you're using (obviously Windows in your case but is it 7 or 10?)

Also having what terminal you are using for this would be helpful so we can try to reproduce your error.

Thanks! Jenna

JAspeling commented 5 months ago

I'm getting the same trying to login using sso:

>cf login --sso
API endpoint: https://api.sys.cfd04.aws.xxxx.cloud
Error unmarshalling the following into a cloud controller error: <html>
<head><title>403 Forbidden</title></head>
<body>
<center><h1>403 Forbidden</h1></center>
</body>
</html>

Windows 11 Pro cf.exe version 8.7.8+515cf4e5c.2024-02-08

From what I can see, my colleagues on Mac does not get this error.