Skip to content
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

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002) #825

Open
May1234 opened this issue Oct 7, 2024 · 2 comments

Comments

@May1234
Copy link

May1234 commented Oct 7, 2024

When running spectacles command with Cloudflare WARP turning on, I am getting SSL certificate error. Can someone please give some advice?

spectacles sql --config-file configs/config.yaml --project abc

Connected to Looker version 24.14.35 using Looker API 4.0
Completed SQL validation in .

Encountered unexpected SSLCertVerificationError: "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1002)"
Full error traceback logged to file.

For support, please create an issue at https://github.com/spectacles-ci/spectacles/issues

@DylanBaker
Copy link
Collaborator

Hi @May1234. Could you confirm that when you don't have Cloudflare WARP on that this works as expected?

I expect there's something incorrect in the SSL certificate in the setup. I believe you would either need to remedy that issue or fork Spectacles to turn off SSL verification.

@May1234
Copy link
Author

May1234 commented Oct 10, 2024

Hi @DylanBaker, thanks for the reply.
There is no issue when turning off CloudFlare WARP. I tried many ways to resolve the problem, but all failed.
Since I thought Spectacles is python utility, I tried this way as well, but it didn't work.
https://developers.cloudflare.com/cloudflare-one/connections/connect-devices/warp/user-side-certificates/install-cloudflare-cert/#python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants