Is there anything wrong with proxy.glang.org?

152 views
Skip to first unread message

Darren Hoo

unread,
Sep 27, 2019, 3:24:09 AM9/27/19
to golang-nuts
Try to get this package:

 
go: finding github.com/bilibili/kratos v0.2.3
go: downloading github.com/bilibili/kratos v0.2.3
go: extracting github.com/bilibili/kratos v0.2.3
go get: github.com/bilibili/kra...@v0.2.3 requires
golang.org/x/ti...@v0.0.0-20190513212739-9d24e82272b4: invalid pseudo-version: does not match version-control timestamp (2019-03-08T20:28:27Z)

it reports  

golang.org/x/ti...@v0.0.0-20190513212739-9d24e82272b4: invalid pseudo-version: does not match version-control timestamp (2019-03-08T20:28:27Z)


it returns

not found: golang.org/x/ti...@v0.0.0-20190513212739-9d24e82272b4: invalid pseudo-version: does not match version-control timestamp (2019-03-08T20:28:27Z)

While both (replace proxy.golang.org with goproxy.io or goproxy.cn)


returns OK with: 

module golang.org/x/time


Deep Datta

unread,
Sep 27, 2019, 7:40:47 PM9/27/19
to golang-nuts
That an international module? That might be why - but you can also try this proxy: https://search.gocenter.io/stats

On Friday, September 27, 2019 at 12:24:09 AM UTC-7, Darren Hoo wrote:
Try to get this package:

 
go: finding github.com/bilibili/kratos v0.2.3
go: downloading github.com/bilibili/kratos v0.2.3
go: extracting github.com/bilibili/kratos v0.2.3
golang.org/x/ti...@v0.0.0-20190513212739-9d24e82272b4: invalid pseudo-version: does not match version-control timestamp (2019-03-08T20:28:27Z)

ank...@jfrog.com

unread,
Oct 11, 2019, 6:45:59 PM10/11/19
to golang-nuts
Are you using Go 1.13? Version validation is done as part of Go 1.13 (https://golang.org/doc/go1.13#modules). In Go 1.12, this would have succeeded.

However, if a goproxy has this version, then a go get will be successful. Example: https://search.gocenter.io/github.com~2Fbilibili~2Fkratos/info

You can set GOPROXY to https://gocenter.io to be unblocked but would encourage you to follow up with the module author to get their dependencies fixed.


On Friday, September 27, 2019 at 12:24:09 AM UTC-7, Darren Hoo wrote:
Try to get this package:

 
go: finding github.com/bilibili/kratos v0.2.3
go: downloading github.com/bilibili/kratos v0.2.3
go: extracting github.com/bilibili/kratos v0.2.3
golang.org/x/ti...@v0.0.0-20190513212739-9d24e82272b4: invalid pseudo-version: does not match version-control timestamp (2019-03-08T20:28:27Z)
Reply all
Reply to author
Forward
0 new messages