Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 26 May 2020 starting at approximately 10am CDT. It is expected to take around 30 minutes and will involve a short period of downtime, around 5 minutes, towards the end of the maintenance period. Please address any questions, comments, or concerns to uwm-help@cgca.uwm.edu.

Commit 5a6c2ece authored by Alexander Pace's avatar Alexander Pace

enable TLSv1.1

parent 9c4b7902
Pipeline #48575 failed with stages
in 3 minutes and 5 seconds
......@@ -164,6 +164,9 @@ class LVAlertClient(sleekxmpp.ClientXMPP):
# Point the clients to the certs. This needs to be addressed.
self.ca_certs = pkg_resources.resource_filename(__name__, 'certs.pem')
# Attempt to change the SSL/TLS version:
self.ssl_version=ssl.PROTOCOL_TLSv1_1
def _session_start(self, event):
self.get_roster()
self.send_presence()
......@@ -179,7 +182,7 @@ class LVAlertClient(sleekxmpp.ClientXMPP):
self._callback = callback
self.add_event_handler('pubsub_publish', self._pubsub_publish)
@catch_exception
#@catch_exception
def _pubsub_publish(self, msg):
if msg['type'] in ('chat', 'normal'):
self._callback(msg['pubsub_event']['items']['node'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment