Skip to content

import/path: issue title #68317

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

Closed
hktalent opened this issue Jul 5, 2024 · 2 comments
Closed

import/path: issue title #68317

hktalent opened this issue Jul 5, 2024 · 2 comments

Comments

@hktalent
Copy link

hktalent commented Jul 5, 2024

Go version

go version go1.21.4 darwin/amd64

Output of go env in your module/workspace:

GO111MODULE='on'
GOARCH='amd64'
GOBIN=''
GOCACHE='/Users/51pwn/Library/Caches/go-build'
GOENV='/Users/51pwn/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/Users/51pwn/go/pkg/mod'
GONOPROXY='github.com/hktalent/zbServer'
GONOSUMDB='github.com/hktalent/zbServer'
GOOS='darwin'
GOPATH='/Users/51pwn/go'
GOPRIVATE='github.com/hktalent/zbServer'
GOPROXY='https://goproxy.cn'
GOROOT='/usr/local/go/'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/darwin_amd64'
GOVCS=''
GOVERSION='go1.21.4'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/Users/51pwn/MyWork/goSqlite_gorm/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/_l/pnb2t_9s0f192bqlz1348vpr0000gn/T/go-build1603043107=/tmp/go-build -gno-record-gcc-switches -fno-common'

What did you do?

go tool pprof -seconds=600 -http=:9999 https://127.0.0.1:8081/debug/pprof/heap

What did you see happen?

Fetching profile over HTTP from https://127.0.0.1:8081/debug/pprof/heap?seconds=600
Please wait... (10m0s)
https://127.0.0.1:8081/debug/pprof/heap: Get "https://127.0.0.1:8081/debug/pprof/heap?seconds=600": tls: failed to verify certificate: x509: “Cloudflare” certificate is not standards compliant
failed to fetch any source profiles

What did you expect to see?

I expect to ignore the tls error and work properly. Moreover, this certificate is issued by Cloudflare and can work in a formal environment.

ok

now run

go tool pprof -seconds=1800 -http=:9999 https+insecure://127.0.0.1:8081/debug/pprof/heap

is ok

@seankhliao
Copy link
Member

Duplicate of #51991

@seankhliao seankhliao marked this as a duplicate of #51991 Jul 5, 2024
@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants