亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

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 關注
  • 157 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號