-
-
Notifications
You must be signed in to change notification settings - Fork 7
Random TLS error on bugs.python.org #4
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
I'm using Firefox 56 and OpenSSL 1.1.0f-fips 25 May 2017 on Fedora 26. Tell me if you need more information. |
I'm using bugs.python.org almost everyday (especially monday-friday), and I'm quite sure that it worked perfectly well until today. I don't know when exactly. |
Short shell script to test if you have the bug: run "openssl s_client" in a loop until it gets an error:
The script ends when the TLS connection fails and writes the full output into the file "out". I tested from a different compute on a different network, but still in France: I reproduced the bug at the first connection! EDIT: I removed the unneeded "-6" s_client option. |
I tried to run the command and got a failure after 5-6 iteration. The error I got is:
I did a second attempt with the same result after 12-13 iterations. |
I'm still getting this error :-( |
I've got no idea what's going on here. @MarkMangoba can you help us understand what the timeline looks like for the hosting migration of b.p.o? If it's nearing completion... we may be able to ride it out. FWIW the reproduction case ( Alternatively we could ask the hosting company currently supporting b.p.o. to take a look? |
i decided to go take a look at least, but don't have any privileges on bugs.python.org to view apache logs or configs |
I'm using |
There have been recent repeated TLS failures on bugs.python.org and ones that were having a serious negative impact today on python-dev workflow: causing failures in our Github webhooks for the python/cpython repo to update bugs.python.org. For more details, see the "Intermittent SSL signature issues" issue opened on the b.p.o metatracker here: http://psf.upfronthosting.co.za/roundup/meta/issue649 Try running the certificate checker repeatedly; I see occasional failures. And note that only TLS1.0 is supported. CCing: @ezio-melotti |
I’m going to take a look what we can do. @soltysh has been working on the new bugs infra, and we recently just got over a blocker. Will post an update on the new infra this week. |
I've put the current bugs instance behind Fastly via: https://www.bugs.python.org (https://bugs.python.org is not behind Fastly at the moment).
|
This looks a bit like something we encountered on Apache servers on various versions of Debian serving other WSGI applications. Can someone verify the Apache configuration? |
Same issue reported at python/bugs.python.org#15 |
Hum, I'm unable to reproduce this issue. Maybe the bug has been fixed in the meanwhile. |
Right now, "openssl s_client" always fail, whereas Firefox has no issue to access bugs.python.org:
|
SSL Labs gives an overall rating of C:
A colleague told me "HTTP server signature: BaseHTTP/0.3 Python/2.6.6". |
I came into this issue again because I have a script which uses XML-RPC to connect to bugs.python.org, but the TLS connection fails:
Output:
|
See also #13 |
Aha, "www.bugs.python.org" ("www." prefix) works (openssl s_client says "New, TLSv1.2, Cipher is ECDHE-RSA-AES128-GCM-SHA256"), bug "bugs.python.org" fails (handshake fails). |
such errors may indicate that the key got compromised: https://lukenotricks.blogspot.com/2010/03/recovering-rsa-private-keys-using.html or https://www.cryptologie.net/article/371/fault-attacks-on-rsas-signatures/ I would strongly suggest regenerating it after the underlying issue was fixed |
I tuned SSLContext to try to understand why the TLS handshake fails with Fedora system Python3 (/usr/bin/python3) but completes with Python 3.7 compiled manually. Fedora uses Summary:
|
Fedora 29 uses stricter security:
I tried to find the minimum cipher list which works:
But adding
|
The migration to new infra and up to date TLS stack is complete. If this reoccurs, please open a new issue. |
Great! Thank you very much! I will keep you in touch next month if something goes wrong. |
I get random TLS errors while trying to connect to bugs.python.org.
I get the same error on IPv4 and IPv6.
OpenSSL client:
Interesting part of the output:
The full verbose output:
The text was updated successfully, but these errors were encountered: