-
Notifications
You must be signed in to change notification settings - Fork 905
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
INTERNAL_ERROR(4) on any requests that goes to a site protected with CloudFlare #1069
Comments
@veteri thanks for reporting. I will try to look into it over the weekend. |
I faced the same issue with a cmake+vcpkg project, It worked fine after downgrading to version 1.9.3 vcpkg.json: { |
I can not confirm this issue. For me on Linux (Fedora) with all combinations (cpr That's what I used: https://github.com/libcpr/example-cmake-fetch-content |
Same issue here. Cloudflare changed something with their new certificates and public key pin not working anymore. Do this to domain with new cloudflare cert and you will get depth=2 C=US, O=Internet Security Research Group, CN=ISRG Root X1 Verbose:
Even tried all these opts: cpr::SslOptions sslOpts = cpr::Ssl( peer, host, alpn, verifyStatus ); Have not tried moving to non-vcpkg version yet. Has someone tried reporting this to vcpkg maintainers and got any response? |
Has somebody tested with openssl on Windows? On Linux, it wouldn't use schannel. |
No, haven't tested with openssl backend yet |
btw, regarding the problem with public key pin, cloudflare told me that this feature is not supported by new certificates anymore, so that is not the library issue, but this change broke https somehow for windows vcpkg version |
Description
If you perform a simple
get
requests to any site that isnt using CloudFlare, everything is fine and works as expected.However if you do the same with any site using cloudflare, the response has a status_code of 0 and INTERNAL_ERROR(4).
Example/How to Reproduce
This will result in the above mentioned INTERNAL_ERROR
This will work fine:
Possible Fix
No response
Where did you get it from?
vcpkg
Additional Context/Your Environment
The text was updated successfully, but these errors were encountered: