wangluozhe / requests

用于快速请求HTTP或HTTPS,并支持修改ja3、ja4指纹
GNU General Public License v3.0
417 stars 93 forks source link

uTlsConn.Handshake() error: remote error: tls: unexpected message #40

Closed aj3423 closed 11 months ago

aj3423 commented 1 year ago
func main() {
    req := url.NewRequest()
    req.Ja3 = `772,4865-4866-4867-49195-49199-49196-49200-52393-52392-49171-49172-156-157-47-53,0-23-65281-10-11-35-16-5-13-18-51-45-43-27-17513-41,29-23-24,0`

    r, err := requests.Get("https://scrapfly.io/web-scraping-tools/ja3-fingerprint", req)
    fmt.Println(r, err)
}

会报错:

uTlsConn.Handshake() error: remote error: tls: unexpected message

这个ja3是用浏览器访问 https://scrapfly.io/web-scraping-tools/ja3-fingerprint 得到的,请问为啥会报错。

wangluozhe commented 11 months ago

此问题在v1.1.16版本已被解决