niemeyer / gopkg

Source code for the gopkg.in service.
Other
539 stars 85 forks source link

Git transfer failure when fetching with Go 1.12 or older #76

Closed bk2204 closed 3 years ago

bk2204 commented 3 years ago

As can be seen in this Actions run, it appears that gopkg.in is failing when transferring Git data with the following message:

go: gopkg.in/jcmturner/gokrb5.v5@v5.3.0: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /home/runner/go/pkg/mod/cache/vcs/5c47be3b930307a5e0d3122c9efa0cbd4a4568f01f1e652415f2bfc142f4d873: exit status 128:
    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    fatal: the remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed

I can confirm this behavior on my laptop (running Debian unstable) by running git clone https://gopkg.in/jcmturner/gokrb5.v5 without using Go; in that case, I additionally see this error message:

fetch-pack: unexpected disconnect while reading sideband packet

I suspect this is because the proxy is being used by default in Go 1.13 and newer so this isn't a problem there.

If there's any other helpful information I can provide, please let me know.

bk2204 commented 3 years ago

It looks like this has magically resolved itself, so I'm going to close this. Let me know if you want to reopen and need more information.