Is there an official fix that I (and users) need to do to make things work?
This plugin uses both websocket and requests, but it's the request that's failing at the moment.
- Code: Select all
def authenticate(self, username, password):
auth_data = {
"email": username,
"password": password
}
# Create session
self.s = requests.session()
# Get auth token
try:
response = self.s.post(API_URL+'authenticate',
auth_data, timeout=self.api_timeout)
except Exception as e:
raise Exception('Connection failure: %s' % e)
# check for 200 return
if response.status_code != 200:
raise xAuthenticationException(
"Please check username and password. API Return Code: %s" %
response.status_code)
self.set_auth_data(response.json())
Traceback (most recent call last):
File "plugin.py", line 32, in startup
File "/Library/Application Support/Perceptive Automation/Indigo 7.3/Plugins/x.indigoPlugin/Contents/Server Plugin/xyz/xyz.py", line 26, in authenticate
Exception: Connection failure: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)
MacOS Sierra 10.12.6
Indigo 7.3.0