为了账号安全,请及时绑定邮箱和手机立即绑定

arm 上的 autocert 中缺少字段或方法签名方案

arm 上的 autocert 中缺少字段或方法签名方案

Go
素胚勾勒不出你 2023-05-15 15:45:16
我正在编写一个程序,它向不同的服务器发出 HTTP 请求并读取响应。该程序在 Windows/Mac 上运行得非常好,但是当我在基于 ARM 的 Rasp Pi 3 和 Rasbian OS 上运行该程序时,它失败了。每次我尝试构建代码时都会抛出此错误,有什么可以暗示我在这里做错了什么吗?# golang.org/x/crypto/acme/autocert../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:301: hello.SupportedProtos undefined (type *tls.ClientHelloInfo has no field or method SupportedProtos)../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:311: hello.SignatureSchemes undefined (type *tls.ClientHelloInfo has no field or method SignatureSchemes)../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:314: hello.SignatureSchemes undefined (type *tls.ClientHelloInfo has no field or method SignatureSchemes)../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:315: undefined: tls.SignatureScheme../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:317: undefined: tls.ECDSAWithP256AndSHA256../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:318: undefined: tls.ECDSAWithP384AndSHA384../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:318: undefined: tls.ECDSAWithP521AndSHA512../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:344: undefined: tls.TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256../../go/src/golang.org/x/crypto/acme/autocert/autocert.go:347: undefined: tls.TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305预先感谢您的支持,如果您需要更多信息,请告诉我。
查看完整描述

1 回答

?
白衣染霜花

TA贡献1796条经验 获得超10个赞

确保使用与其他平台相同的 Go 版本。某些功能可能已添加到较新的版本中。



查看完整回答
反对 回复 2023-05-15
  • 1 回答
  • 0 关注
  • 126 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信