dqtl46964 2019-05-14 07:09
浏览 185

如何解决从go get调用的hg克隆期间sslv3警报握手失败?

I am trying to install package for golang using the following command:

go get github.com/go-redis/redis

However, I got the following error:

go: bitbucket.org/zombiezen/gopdf@v0.0.0-20150317163809-1c63dc69751b: hg clone -U https://bitbucket.org/zombiezen/gopdf . in $GOPATH/go/pkg/mod/cache/vcs/296ef794d9a4113ffd8a947e0289b60e1e2cdeaebc09fe0be1f071e0ced6dbaf: exit status 255:
abort: error: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)

go: error loading module requirements

It seems that hg clone is failing.

I tried few other package installation, such as:

go get bitbucket.org/zombiezen/gopdf/pdf
hg clone -U https://bitbucket.org/zombiezen/gopdf
hg clone https://github.com/golang/oauth2

But it produces the same error, which is abort: error: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)

I have tried this solution: SSLError: sslv3 alert handshake failure

But it does not work on my case.

Anyone can help?

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 不同尺寸货物如何寻找合适的包装箱型谱
    • ¥15 求解 yolo算法问题
    • ¥15 虚拟机打包apk出现错误
    • ¥15 用visual studi code完成html页面
    • ¥15 聚类分析或者python进行数据分析
    • ¥15 三菱伺服电机按启动按钮有使能但不动作
    • ¥15 js,页面2返回页面1时定位进入的设备
    • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
    • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
    • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝