Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Specifying -http=":" to start an interactive web interface throws an error #413
What version of pprof are you using?
I'm using pprof via
What operating system and processor architecture are you using?
What did you do?
Start an interactive web-based interface to pprof by specifying
What did you expect to see?
An interactive web-based interface is started in my localhost on a random port as documented in https://github.com/google/pprof#run-pprof-via-a-web-interface which states that
What did you see instead?
An error is shown;
Looking at https://github.com/golang/go/blob/go1.10.3/src/cmd/vendor/github.com/google/pprof/internal/driver/webui.go, it appears that go 1.10.3 didn't have the fix 7a927a9#diff-8cab3d39997787bf3d625391eb003743. You can either use latest pprof from this repo, or specify the desired port like "-http :8080".