weaviate / weaviate-go-client

BSD 3-Clause "New" or "Revised" License
30 stars 11 forks source link

Can't download module via go mod tidy cause by checksum mismatch #187

Closed 1Ckpwee closed 7 months ago

1Ckpwee commented 1 year ago

When I follow the waeviate quickstart complete code and type go mod tidy I got error as below:

go mod tidy
go: finding module for package [github.com/weaviate/weaviate-go-client/v4/weaviate/auth](http://github.com/weaviate/weaviate-go-client/v4/weaviate/auth)
go: finding module for package [github.com/weaviate/weaviate-go-client/v4/weaviate](http://github.com/weaviate/weaviate-go-client/v4/weaviate)
go: downloading [github.com/weaviate/weaviate-go-client/v4](http://github.com/weaviate/weaviate-go-client/v4) v4.10.0
go: downloading [github.com/weaviate/weaviate-go-client](http://github.com/weaviate/weaviate-go-client) v1.1.2
go: found [github.com/weaviate/weaviate-go-client/v4/weaviate](http://github.com/weaviate/weaviate-go-client/v4/weaviate) in [github.com/weaviate/weaviate-go-client/v4](http://github.com/weaviate/weaviate-go-client/v4) v4.10.0
go: found [github.com/weaviate/weaviate-go-client/v4/weaviate/auth](http://github.com/weaviate/weaviate-go-client/v4/weaviate/auth) in [github.com/weaviate/weaviate-go-client/v4](http://github.com/weaviate/weaviate-go-client/v4) v4.10.0
go: downloading [golang.org/x/oauth2](http://golang.org/x/oauth2) v0.8.0
go: downloading [github.com/weaviate/weaviate](http://github.com/weaviate/weaviate) v1.21.0
go: downloading [github.com/go-openapi/strfmt](http://github.com/go-openapi/strfmt) v0.21.3
go: downloading [google.golang.org/appengine](http://google.golang.org/appengine) v1.6.7
go: downloading [go.mongodb.org/mongo-driver](http://go.mongodb.org/mongo-driver) v1.11.3
go: downloading [github.com/asaskevich/govalidator](http://github.com/asaskevich/govalidator) v0.0.0-20210307081110-f21760c49a8d
go: downloading [github.com/go-openapi/errors](http://github.com/go-openapi/errors) v0.20.3
go: downloading [github.com/google/go-cmp](http://github.com/google/go-cmp) v0.5.8
go: downloading [github.com/tidwall/pretty](http://github.com/tidwall/pretty) v1.0.0
[github.com/1ckpwee/weaviate_starter](http://github.com/1ckpwee/weaviate_starter) imports
        [github.com/weaviate/weaviate-go-client/v4/weaviate](http://github.com/weaviate/weaviate-go-client/v4/weaviate) imports
        [github.com/weaviate/weaviate-go-client/v4/weaviate/backup](http://github.com/weaviate/weaviate-go-client/v4/weaviate/backup) imports
        [github.com/weaviate/weaviate/entities/models](http://github.com/weaviate/weaviate/entities/models): [github.com/weaviate/weaviate@v1.21.0](http://github.com/weaviate/weaviate@v1.21.0): verifying module: checksum mismatch
        downloaded: h1:ULv1RjMzWGgKOQctm148phR1iZpdLKn5D6nEvBUNsgw=
        [sum.golang.org](http://sum.golang.org/): h1:hP0g74nr9OQEMfuvS5niA+0OEBLiQ/faGuqkMweIuDo=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.
1Ckpwee commented 1 year ago

The issue was resolved when I downgraded theweaviate-go-client to v4.9.0.

msj121 commented 7 months ago

I did not have an issue with v4.13.1