req icon indicating copy to clipboard operation
req copied to clipboard

ImpersonateFirefox - ECDSA verification failure

Open powellnorma opened this issue 1 year ago • 2 comments

Using ImpersonateChrome instead works fine.

package main

import (
    "fmt"
    "log"
    
    "github.com/imroc/req/v3"
)

func main(){
    client := req.C().ImpersonateFirefox()
    
    // tls: invalid signature by the server certificate: ECDSA verification failure
    resp, err := client.R().Get("https://www.facebook.com/") 
    
    if err != nil {
        log.Fatal(err)
    }
    
    fmt.Println(resp.String())
}

powellnorma avatar Dec 07 '23 16:12 powellnorma