-
Notifications
You must be signed in to change notification settings - Fork 6
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
Python 2.7.9 fails due to CERTIFICATE_VERIFY_FAILED #2
Comments
It seems that Python < 2.7.9 didn't validate certificates in the HTTP client. Since the certificate returned by *.feomedia.se is self-signed, Python now throws an SSL: CERTIFICATE_VERIFY_FAILED error. Should be fixed in the newest version (simply switched to *.appspot.com) |
Switching to *.appspot.com does work indeed. Thanks a lot! |
you can monkeypatch ssl.: import ssl python bug tracker: |
Thanks this might come in handy if *.appspot.com won't work or makes the same trouble. |
Could someone tell me what you mean by switching to *.appspot.com? I'm also facing this issue, so need help solving it. |
Hi @sarathm09 just use the newest quizduellapi.py from this repository and you will be fine. Or modify the following line in your own copy of quizduellapi.py: @startmat Thank you for the patch, might indeed come in handy |
Okay, sure! thank you |
@sarathm09 awesome, your comment helped me accessing another api with similar problem. Strangely their ssl and certificate setup seemed to be alright. |
@dischinator , Welcome 👍 |
@startmat Yes, thank you for the patch way. I know that's called monkeypatch, but did save my day. |
Hi,
thanks for mainting the api! I use it on a daily basis. :-) I have an issue with Python 2.7.9:
With 2.7.8 everything is still alright:
https://www.python.org/downloads/release/python-279/
The text was updated successfully, but these errors were encountered: