-
Notifications
You must be signed in to change notification settings - Fork 9
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
BUG: SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED errors for Twilio sends #1284
Comments
I tried upgrading
The latest version of botocore, 1.29.135, has the same urllib3 dependency, so remedying our problem by upgrading Python packages won't work. I'm going to proceed with changing the Alpine image from 3.17 to 3.16, which packages OpenSSL v1.1.1. |
…L v1.1.1, whereas Alpine v3.17 uses OpenSSL v3.0.8. The newer OpenSSL version causes problems with our Twilio integration until we can upgrade the "requests" and "urllib3" Python packages. #1284
Deployed to Perf. Regression on Perf passes: 90 passed, 1 xfailed in 120.27s (0:02:00) Twilio message is not sent. Will review logs. Notification ID for the test send is "id": "c8b27335-da3b-4aac-8941-d57355a15a23", |
Re-deploying, sent that test message with an undeliverable number. Will re-test. |
Deployed branch 1284-alpine-openssl to Perf (2nd try)
@kalbfled feel free to open a PR for review, I will start writing test cases for the QA repo. |
Merged to master, v1.6.3-1284-os is cut. I need to write the Twilio test cases, which may not be done until EOD Monday. |
Tests written and working for dev and perf. |
Staging has the new container code, but I need the twilio phone number that can be used in Staging (the one from dev/perf doesn't work). @jakehova |
This is blocked waiting for Kyle to discuss using a test Twilio number from the Enterprise account so that I can configure the QA suite with a number. |
There is a way to skip a parametrized tests, so I did that for two of them, only if the suite is run in staging. |
QA PR merged, closing ticket. |
See #1295. |
Description
On the deploy to PROD 5/17, numerous errors found in logs for Twilio sends, see additional info below.
Find the combo of OpenSSL, requests and urllib that all work together.
Related to the Alpine container OS upgrade.
Bug was not caught earlier but is reproducible in Perf when sending a Twilio message.
Steps to Reproduce
Workaround
Prod was rolled back to resolve this last night in that env.
Possible urllib3 workaround noted in Additional Info below.
Impact/Urgency
High. Unable to deploy the current code to PROD; all Twilio messages currently will fail in dev, perf and staging.
Expected Behavior
QA Considerations
Additional Info & Resources
Example log - search "SSL: UNSAFE_LEGACY_RENEGOTIATION_DISABLED" on Perf morning of 5/18 for more examples. Some sensitive data - do not re-post in ticket.
The text was updated successfully, but these errors were encountered: