【发布时间】:2022-01-16 18:24:15
【问题描述】:
我正在尝试将 mongoDB golang 驱动程序下载到在 VS 代码终端中运行此命令的 VS 代码项目中:
go get go.mongodb.org/mongo-driver/mongo
但我收到这样的 403 禁止错误:
go: downloading github.com/klauspost/compress v1.13.6
go.mongodb.org/mongo-driver/mongo imports
github.com/klauspost/compress/zstd: github.com/klauspost/compress@v1.13.6: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.13.6.zip: 403 Forbidden
我认为我的 IP 地址可能受到限制,因此我尝试使用 psiphon 和热点盾等几个 VPN 下载它,但我仍然遇到同样的错误。
【问题讨论】:
标签: mongodb go visual-studio-code http-status-code-403