-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 error prints traceback despite being caught. #3912
Comments
Unfortunately, I can't seem to be able to build aiohttp/aiohttp/client_exceptions.py Lines 224 to 225 in 7a324fd
Which should also include |
Duplicate of #3675. |
Awesome, thank you for clarifying! Closing issue. |
SSLCertVerificationError problem is not solved. |
Long story short
As the title suggests, in some specific cases
ssl
prints error traceback when utilizingClientSession().get()
, despite explicit catch withtry
/except
.Expected behaviour
If an error is caught neither error nor traceback should be shown.
Actual behaviour
Despite being caught
ssl
error traceback still prints.Steps to reproduce
Outputs:
Your environment
Side Note
Some SSL certificates still get past the
aiohttp
SSL checks despite being invalid and caught by Chrome (I understand this has to do withssl
and notaiohttp
, but just a sidenote.)The text was updated successfully, but these errors were encountered: