-
Notifications
You must be signed in to change notification settings - Fork 44
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
Taking 10-20 seconds to do anything. #88
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/171085072 The labels on this github issue will be updated when the story is started. |
@mboldt fascinating. Thank you very much for reporting this. I'm having trouble reproducing locally, but I'm not on your same version of Darwin (I'm on 10.14.6 Mojave):
How would you feel about using |
@ankeesler Yes, it is strange. I don't believe I can profile, because if I recompile the issue goes away. I also discovered that if I I fired it up an a debugger, and
|
Guessing it's getting stuck here: https://github.com/golang/go/blob/3eab754cd061bf90ee7b540546bc0863f3ad1d85/src/crypto/x509/root_darwin.go#L201 When I get some time, I'll try to see if the |
Wow, I love these kinds of bugs. Per some poking around online, it looks like this is an Apple issue and other people are running into it.
Are you running into this issue on other machines? Do you have a ton of stuff in your keychain? I would be interested if you do get time to profile |
I haven't seen any other machines that hit it. Tried with the
Running the same thing on my newly-compiled CLI (which runs fast, per
|
Sure, enough, deleted all the random Ops Manager Tempest certs, and now it runs fine:
I think what had happened was I used Safari for a while, and when I accepted the self-signed certs it must have added them to my keychain. |
What version of the credhub server you are using?
Server Version: 2.3.0
What version of the credhub cli you are using?
CLI Version: 2.6.2 on darwin
If you were attempting to accomplish a task, what was it you were attempting to do?
credhub --version
(or anything else beyond--help
)What did you expect to happen?
See results on the order of 1 second
What was the actual behavior?
See results in 10-20 seconds.
Please confirm where necessary:
If you are a PCF customer with an Operation Manager (PCF Ops Manager) please direct your questions to support (https://support.pivotal.io/)
When I use the latest darwin CLI release, any operation seems to take 10-20 seconds. I've rebuilt the CLI locally, both with the latest on
master
and with the tag from the 2.6.2 release, and the results come back quickly.The only changes I see is the golang version and perhaps go module updates. I imagine just cutting a new release would fix whatever is going on.
FWIW, I'm on MacOS Catalina 10.15.3 on a MacBook Pro (Retina, 15-inch, Mid 2015).
The text was updated successfully, but these errors were encountered: