Created
July 12, 2018 22:07
-
-
Save msach22/9bc8d6c602110eb51d388657e6aaf375 to your computer and use it in GitHub Desktop.
If you’re using Python 3.x, run the following snippet to check your environment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
import urllib.error | |
try: | |
response = urllib.request.urlopen("https://preview.opentok.com/tls-check.json").read() | |
print ("Connection successfully established with your current TLS configuration, no further action required") | |
except urllib.error.URLError: | |
print ("Failed to connect to OpenTok, please check your system and upgrade your environment as needed.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment