-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
net::ERR_CONNECTION_CLOSED net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH #580
Comments
Please add a valid |
thanks |
@go-rog/everyone |
|
I changed the first block of main function with this : buf, err := rod.New().ControlURL(u).MustConnect().Timeout(30 * time.Second).MustIgnoreCertErrors(true).MustPage(uri).
MustWaitLoad().Screenshot(true, &proto.PageCaptureScreenshot{
Format: proto.PageCaptureScreenshotFormatJpeg,
Quality: gson.Int(90),
}) now most of the urls with bad ssl are being screenshot. However a new but similar error appeared :
|
Then you can manually ignore this err, read the doc: |
I'm already catching the error above but these errors will directly panic instead, making the
I'm so done. |
why not use the
If you don't want to panic, you should use non-Must prefixed functions, please read the doc: https://go-rod.github.io/#/error-handling?id=error-handling |
Rod Version: v0.105.1
Screenshotting urls with bad ssl certificate fails and raises error.
The code I wrote :
Error raised by it :
How can I make rod ignore the SSL certificate check?
The text was updated successfully, but these errors were encountered: