Net file
Closed this issue · 6 comments
thecrewwh commented
By adding this it is breaking calling of sites that require 1_2 or above in Kodi 18
elif six.PY2 or 'android' in kodi.py_ver.lower():
try:
import ssl
ctx = ssl.SSLContext(ssl.PROTOCOL_TLSv1_1)
if self._http_debug:
handlers += [urllib_request.HTTPSHandler(context=ctx, debuglevel=1)]
else:
handlers += [urllib_request.HTTPSHandler(context=ctx)]
except:
pass
Gujal00 commented
Can you please let me know which site is affected. This fix was implemented so that lot of streamers behind cloudflaressl that use cloudflare cert dont work with TLS1.2 in Kodi18 and on Android on Kodi 19
thecrewwh commented
Gitlab is affected it requires 1.2 or above to request anything hosted there
classymouse commented
there are more, bitbucket also requires 1.2 as of dec. '18
Gujal00 commented
@thecrewwh @classymouse
Can you test with the attached net.py and let me know if it fixes the issue for you. I will work on a general release once you confirm.
thecrewwh commented
Yes this works perfectly thank you
classymouse commented
Working, Thank you Gujal ;)