-
Notifications
You must be signed in to change notification settings - Fork 849
Fix proxy issue reported at #820 #821 #822
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #822 +/- ##
==========================================
- Coverage 87.31% 87.28% -0.04%
==========================================
Files 30 30
Lines 3752 3758 +6
Branches 334 337 +3
==========================================
+ Hits 3276 3280 +4
Misses 329 329
- Partials 147 149 +2
Continue to review full report at Codecov.
|
|
Also, I've verified all the integration tests pass with this change. In addition to that, I've verified the sample using proxy works now (I fails without this change). |
Summary
As reported at #820 #821 , the current implementation of
WebClient/WebhookClientwhen enablingproxyoption started failing to send requests to the Slack API server. The implementation introduced by #715 has been working with the server-side for three months but it doesn't work anymore.Other HTTP clients don't fail and the changes on the server-side look valid to me. I found that the implementation can be corrected in the way this PR does.
This issue is affecting some users in production. So, I will quickly release a new patch version after verifying the CI builds and running all the integration tests.
Then, the affected users can deal with this issue by either of:
HTTPS_PROXYenvironment variable over theproxyoption inWebClient/WebhookClientCategory (place an
xin each of the[ ])Requirements (place an
xin each[ ])python setup.py validateafter making the changes.