-
Notifications
You must be signed in to change notification settings - Fork 18k
net/http/pprof: pprof over HTTPS #16073
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
Comments
Your certificate is already being transported to the pprof tool over the HTTPS connection. The problem is it's not valid for the IP address 127.0.0.1. |
Ah yes that seemed to fixed it. Oddly enough browsers and test-tools accept both 127.0.0.1 and localhost locally for testing on that certificate tho. Now I'm not getting any output tho. I'm using Gin and have
Am I missing something? My overview page show this after calling some heavier URLs (milliseconds):
I also tried running build from the CLI and it also didn't create any UPDATE Now it shows something, but still weird results:
|
I'm guessing your service was idle during those 30 seconds, so there was nothing for pprof to measure. It seems like there's no bug here, so I'm going to optimistically close. Happy to reopen if mistaken though. If you have more questions about using Go (as opposed to suspected problems within Go itself), please see: https://github.com/golang/go/wiki/Questions Cheers |
Please answer these questions before submitting your issue. Thanks!
go version
)?1.6
go env
)?PPROF console/result
How can I actually hand my certificate over to the
pprof
tool?The text was updated successfully, but these errors were encountered: