qpython-android / qpython

QPython is an Android Python engine primarily designed for Python and AI learners. It offers a range of impressive features to enhance Python programming experience.
https://www.qpython.org
1.03k stars 191 forks source link

CERTIFICATE_VERIFY_FAILED #170

Closed sloth-ontabasco closed 4 years ago

sloth-ontabasco commented 5 years ago

so I was just trying to connect to my discord bot using my token

import discord
client = discord.Client()
client.run(MY_TOKEN)

and I keep getting CERTIFICATE_VERIFY_FAILED Is there any issues with the SSL implimenting?

riverfor commented 4 years ago

Thank you for feedback.

It will be fixed in next QPython's update.

I have changed python's built-in ssl.py ``` 518 _create_default_https_context = _get_https_context_factory() to 518 _create_default_https_context = _create_unverified_context #_get_https_context_factory() ```