0

I have just received a new notebook with Win onboard (21H2 build 19044.1415) and tried to install my Go project. After running go build I just keep receiving EOF errors.

I tried to sync dependencies in Jetbrains Goland, in VS Code (it is saying EOF when trying to install gopls) or just in plain command line - the result is the same everywhere. Please see the following error:

go get github.com/dgrijalva/jwt-go/v4 go: module github.com/dgrijalva/jwt-go/v4: Get "https://proxy.golang.org/github.com/dgrijalva/jwt-go/v4/@v/list": EOF

Any ideas ho to fix it would be welcome.

blackgreen
  • 34,072
  • 23
  • 111
  • 129
Jack
  • 857
  • 14
  • 39

1 Answers1

1

Issue solved. The problem was in wifi network I was connected to. There were some proxy servers that prevented dependencies from downloading (maybe GONOPROXY, GOPROXY, GONOSUMDB should be tweaked in this case). I connected to another network and everything was fine. Spent an hour or two trying to find out the problem though. Error message should definetely be changed to smth more informative.

Jack
  • 857
  • 14
  • 39