-
Notifications
You must be signed in to change notification settings - Fork 33
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
Windows build failing with SSL error #733
Comments
Yikes, this one is bad. Filed in January 2019, still not fixed: https://bugs.python.org/issue35665. Apparently there are some bad certs in the Windows CA store and the Python There is some code posted as a workaround: yt-dlp/yt-dlp@599ca41. Although if we are hitting this problem why isn't it being reported as a |
Yes it is! I just tried this workaround: jupyter/notebook#4245 (comment) (copying DLLs) and it didn't have any effect unfortunately.
We're not handling the certs ourselves (tornado is, according to the stacktrace), so it would be tricky to use that workaround. |
Looks like it's possible to fix by monkey patching the SSL method for windows... |
This is very nasty, I agree. I'm worried about us fiddling around with certificates in our imports, that seems very heavy-handed and potentially makes us a vector for security issues. What I don't understand is why this has started happening now. What has changed in our dependency chain that has caused this? Shouldn't this be an upstream issue with whatever library is provoking it? I mean, we're not directly doing anything with the network, so it seems weird that we'd be monkey-patching SSL libraries. |
@jeromekelleher, I agree. I'm not sure why this has started happening, it's been present since Python 3.7 I think, so perhaps GA actions changed the version or configuration of the Windows OS it runs on? Since this is blocking the build, I think we should either use the monkey-patched solution (and open an issue to track its removal), or disable the windows build. |
Agreed, I vote to merge. Perhaps we just do the monkey patching in CI then as a non intrusive workaround? |
Good idea. I've updated the PR to do this now, but the windows runner doesn't seem to be available... |
This reverts commit ea577ba.
From https://github.com/pystatgen/sgkit/runs/3844122469?check_suite_focus=true:
Looks like it might be this error: jupyter/notebook#4245.
The text was updated successfully, but these errors were encountered: