Closed nicwaller closed 2 years ago
This seems isolated to macOS. I was unable to reproduce the issue from an Ubuntu 20.04 virtual machine.
I tried re-installing Python and noticed this warning in the installer which is probably related:
Certificate verification and OpenSSL
This package includes its own private copy of OpenSSL 1.1.1. The trust certificates in system and user keychains managed by the Keychain Access application and the security command line utility are not used as defaults by the Python ssl module. A sample command script is included in /Applications/Python 3.9 to install a curated bundle of default root certificates from the third-party certifi package (https://pypi.org/project/certifi/). Double-click on Install Certificates to run it.
The bundled pip has its own default certificate store for verifying download connections.
✅ bolt-python is working for me now after I ran /Applications/Python\ 3.10/Install Certificates.command
.
My install was originally missing the /Applications/Python\ 3.10
directory because I had not chosen to install GUI tools when running the Python installer. After re-installing with GUI tools, I was able to run Install Certificates.command
.
Hello, I am having the same issue that you had — I already installed certifi and ran the Python certificate install. Do you have any other suggestions? Thanks!
I tried starting a new project with bolt-python and I ran into an SSL certificate error before adding any of my own code.
Reproducible in:
I get an error immediately after calling this line of code:
See detailed steps to reproduce below.
The
slack_bolt
versionPython runtime version
OS info
Steps to reproduce:
Full transcript below:
Expected result:
Actually, I wouldn't expect anything to happen until I run
app.start()
. So it's pretty surprising to me that it's failing here.But also, I would expect to see a line like this:
Actual result:
I get an exception traceback (as detailed above)
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.