req icon indicating copy to clipboard operation
req copied to clipboard

使用h2协议,设置随机TLS指纹的时候出现问题:http2: unexpected ALPN protocol ""; want "h2"

Open ChetWei opened this issue 11 months ago • 1 comments

response, err := req.C().EnableForceHTTP2(). SetTLSFingerprintChrome(). SetProxyURL(requestInfo.Proxy).R()......... 这样是没有问题的,但是当我使用SetTLSFingerprintRandomized() 或者 SetTLSFingerprintAndroid()都会报错: http2: unexpected ALPN protocol ""; want "h2" panic: runtime error: invalid memory address or nil pointer dereference。 其他类型的指纹也可能有类似的问题

ChetWei avatar Mar 19 '24 11:03 ChetWei