2

Same question as

So the problem with git is:

git clone -- https://go.googlesource.com/tools
remote: Sending approximately 28.83 MiB ...
remote: Counting objects: 54, done
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
remote: Total 51879 (delta 33023), reused 51879 (delta 33023)
Receiving objects: 100% (51879/51879), 28.83 MiB | 4.53 MiB/s, done.
Resolving deltas: 100% (33023/33023), done.

I.e., it doesn't seem to be a big deal as git clone is able to recover from it. However, the problem for me is with go get:

$ go get -v -u golang.org/x/tools/cmd/goimports
get "golang.org/x/tools/cmd/goimports": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at //golang.org/x/tools/cmd/goimports?go-get=1
get "golang.org/x/tools/cmd/goimports": verifying non-authoritative meta tag
golang.org/x/tools (download)
# cd .; git clone -- https://go.googlesource.com/tools /home/me/l/ws/Go/src/golang.org/x/tools
Cloning into '.../Go/src/golang.org/x/tools'...
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
package golang.org/x/tools/cmd/goimports: exit status 128

I.e., even git clone has already successfully clone the repo, go get still fails.

Thus, I need to totally fix the issue.

xpt
  • 16,540
  • 26
  • 100
  • 179

0 Answers0