credhub-cli icon indicating copy to clipboard operation
credhub-cli copied to clipboard

"Malformed version" error

Open bruce-ricard opened this issue 4 years ago • 2 comments

When attempting to run several credhub commands, we got the error message:

Malformed version: "some crazy version"

This is supposed to be because the CLI cannot recognize the version of the CredHub server, and attempts to report it to the user. In our case, we knew that this wasn't our server version. We found out that the file in ~/.credhub/config.json has a version key whose value was "some crazy version". If you delete this config file, you should be able to run your credhub commands successfully after having logged back in.

We were not able to reproduce the creation of the bogus config file, and believe that it is very unlikely to happen. As a result, we will not be working on a fix. If you are able to reproduce it, please share the reproduction steps with us.

@peterhaochen47 and I

bruce-ricard avatar Jun 09 '21 18:06 bruce-ricard

@bruce-ricard @peterhaochen47 I vote this should be closed, if agreed, pleaase close it.

Tallicia avatar May 16 '23 12:05 Tallicia

@Tallicia This is a reproducible, minor bug. I recognize that we likely won't fix it in the short term, but I don't see a downside in just keeping this issue open, as a documentation of the known issue.

peterhaochen47 avatar May 16 '23 21:05 peterhaochen47

Closing old inactive issues.

hsinn0 avatar Jan 13 '25 19:01 hsinn0