-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local error: tls: no renegotiation #3553
Comments
This should be an issue in $ httpx -v -u https://moh.gov.sy
...
[DBG] Failed 'https://moh.gov.sy': GET https://moh.gov.sy giving up after 1 attempts: Get "https://moh.gov.sy": local error: tls: no renegotiation |
Working Go snippet. Might be useful to compare nuclei/httpx TLS config against it: package main
import (
"crypto/tls"
"fmt"
"io"
"net/http"
)
func main() {
tr := &http.Transport{
TLSClientConfig: &tls.Config{Renegotiation: tls.RenegotiateOnceAsClient},
}
http.DefaultClient.Transport = tr
res, err := http.DefaultClient.Get("https://moh.gov.sy")
if err != nil {
panic(err)
}
defer res.Body.Close()
_, err = io.Copy(io.Discard, res.Body)
if err != nil {
panic(err)
}
fmt.Println(res.StatusCode)
} |
it's an issue affecting both project, a similar fix will be applied on both projects. |
looks like this needs to be fixed in projectdiscovery/retyrablehttp-go as it used in both http , nuclei and also in other projects |
Nuclei version:
dev | main
Current Behavior:
Expected Behavior:
Steps To Reproduce:
Anything else:
curl -v https://moh.gov.sy
)The text was updated successfully, but these errors were encountered: