Socket_mode internals uses its own SSL context and not the one provided by the client #1175
Labels
bug
M-T: A confirmed bug report. Issues are confirmed when the reproduction steps are documented
socket-mode
Version: 3x
Milestone
SocketModeHandler
doesn't seem to use the ssl_context provided to it by the client passed to it.I think it should use the context provided if available and fall back to the default context if not.
I'm work on a fix here: charlch@afd7cf0
Reproducible in:
The Slack SDK version
Python runtime version
OS info
Expected result:
I expect to be able to provide an SSL context for the websockets to use.
I can provide one to the WebClient:
and I want to use the same context for the websocket.
Actual result:
When the

SocketModeHandler
constructs aConnection
it usesssl.create_default_context()
for the context:and not the one I provide.
Requirements
For general questions/issues about Slack API platform or its server-side, could you submit questions at https://my.slack.com/help/requests/new instead. 🙇
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
The text was updated successfully, but these errors were encountered: