Skip to content

Instantly share code, notes, and snippets.

@msach22
Created July 12, 2018 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msach22/7c0d42425f073494bcafc6a9267cb328 to your computer and use it in GitHub Desktop.
Save msach22/7c0d42425f073494bcafc6a9267cb328 to your computer and use it in GitHub Desktop.
If you’re using Python 2.x, run the following snippet to check your environment
import urllib2
try:
response = urllib2.urlopen("https://preview.opentok.com/tls-check.json").read()
print "Connection successfully established with your current TLS configuration, no further action required"
except urllib2.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