-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Handle OpenSSL 3.2.0 new error message for unexpected unencrypted records #3268
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
Comments
Just to be clear if I skipped those test manually with
|
@ecerulm Thanks for reporting this, it looks like OpenSSL 3.2.0 may have changed the error message that gets raised for these cases. I believe extending our regex to catch this case should be all that's needed. |
I've been testing more For the 2 test cases below the issue seems to be timing
If at urllib3/test/with_dummyserver/test_socketlevel.py Line 1252 in 2ac4efa
it seems that the server is not ready that quick. |
I added PR #3271 to recognize the SSLError "record layer failure" and map it to "Your proxy appears to only use HTTP and not HTTPS..." |
Subject
I was expecting to all tests working on "main" branch but there are 3 failing test cases
Environment
Steps to Reproduce
Expected Behavior
The test should work, or they should be skipped, or if it's because they are not supported on macOS, then may it should be conditionally skipped.
Actual Behavior
3 test fails
The text was updated successfully, but these errors were encountered: