问题描述:
windows 环境,改用了 nebula-importer v2.5.0后
运行go run importer.go --config ./config.yaml
yaml与上次相同
error:
verifying module: checksum mismatch
downloaded: h1:7w3bUYTAtvEA20go5XFoEDx5HbnzlOgo5VBSP3AvXtE=
sum.golang.org: h1:A4wZoGqR1W1mQ9y/X+tV1wCMIsDkuhFMthTQKMeT8Yc=
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.
For more information, see ‘go help module-auth’.
我使用了
go clean -modcache
go mod tidy
甚至重装了go 1.7.3版本,相同问题
回到2.6.0版本,出现了上次verifyclientVersion failed错误
在我十分确定应该是bug后,我找到了nebula-go,https://github.com/vesoft-inc/nebula-go,里面提到了
NOTE Installing Nebula Go v2.5.0 could cause checksum mismatch, use v2.5.1 instead.
!!!!!!!
改用v2.5.1后,报了一个panic: runtime error: invalid memory address or nil pointer dereference,修改配置文件withHeader:false(原来是true)
后正常运行nebula-importer
撒花!
siwei老师不要再让别人用nebula-importer v2.5.0啦,