-
Notifications
You must be signed in to change notification settings - Fork 3
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
coiled login
failure SSLCertVerificationError on cloud.coiled.io:443
#263
Comments
coiled login
failurecoiled login
failure SSLCertVerificationError on cloud.coiled.io:443
Hi! Looks like something is wrong with SSL in your local Python environment. A few steps that would help us help you debug it: Does this work, or give an error?
How about this?:
Or this?:
|
|
|
|
I have aiohttp 3.8.6 |
Hmm, looks like it's not Coiled-specific-- SSL is broken generally in this Python environment. If you list your other package versions (especially Is there any custom/special networking going on? (A corporate VPN, etc?) |
no vpn, no special networking.
|
Thank you so much for taking the time! |
We might be stuck for now, but will continue pondering. Sorry! As mentioned, whatever this is, I don't think it's Coiled-specific. If you can get HTTPS to work with aiohttp at all, then it should work for Coiled too. (I realize this might not be very helpful, though.) |
I was facing the same issue - I was able to ping using curl, but asyncio and aiohttp were failing with the SSL error. Setting this env resolved the coiled login issue - "export SSL_CERT_FILE=/path/to/your/ca-certificates.crt" |
If anyone with the problem wants to try something, I'd be curious what this shows: import ssl
ca_path = ssl.get_default_verify_paths().openssl_cafile
print(ca_path)
with open(ca_path) as f:
ca_certs = f.read()
# check for fingerprint of ISRG Root X1
print('96:bc:ec:06:26:49:76:f3:74' in ca_certs) |
Using python 3.11 on Linux with coiled 1.1.11 installed from pypi and doing
coiled login
:The text was updated successfully, but these errors were encountered: