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
Cannot use Cloud Foundry command line #1027
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/135805311 The labels on this github issue will be updated when the story is started. |
Hi, The issue was that the cf.exe config was reading from an empty / 0kb file located here: I deleted this file and it was recreated when I ran cf.exe again. The CLI then continued to work as normal. I guess if you do have some valid config in there then it may be worth making a backup of it first. |
Great Adrian!! I renamed the file, executed the command and it works again Thank you very much! Ernesto |
@jemartineza @AdrianLThomas We've had a similar report quite recently. If you can figure out why your config.json got empty/corrupted/stopped working, please let us know. Maybe there is a plugin, or even a cf CLI corner case that corrupts it and we should address that. Cheers, |
@dkoper I think I started noticing the issue when I was setting a password in the HTTP_PROXY / HTTPS_PROXY environment variables. I had a special character in my password (a colon). I think from then on I started to see the issue (even after I had removed the environment variable. Hope that helps, |
@AdrianLThomas I tried setting http_proxy with a password with a colon and doing a I don't think we have enough information to investigate deeper. Closing. Feel free to reopen or submit a new issue if you run into it again and have reproducible steps for us, or at least more details for us to go from. |
I also ran into this issue. Relevant details below with initiating steps on my build
cf login
C:\WINDOWS\system32>cf login API endpoint> API endpoint>
Hope this helps with the recreation for bug fix. |
Command
cf login
What occurred, incl. error and/or stack trace
←[31;1mFAILED←[0m
Error read/writing config: unexpected end of JSON input
What you expected to occur
Open promt API>
CLI Version
_cf-cli-installer_6.22.2_winx64
Platform & Shell Details
Windows 8.1 64-bit
Any other relevant information
I reinstalled several times. Even I downloaded the binary and show the same error all the time
The text was updated successfully, but these errors were encountered: