The "unexpected keyword argument 'server_hostname'" error was resolved by 
an update to gevent (see my other 
thread https://groups.google.com/d/msg/scalr-discuss/dnxla5wwUME/tl5w5zRPCgAJ).

However, once the initial error was resolved I started getting an SSLError. 
My scalr server and the webhook endpoint are using certs generated by my 
internal CA (a FreeIPA server), and the CA cert had been added to the 
system trust on the scalr server. I ended up adding a line to 
dbqueue-event.py:

self.https_session = requests.Session()
self.https_session.mount('https://', helper.HttpsAdapter())
+ self.https_session.verify = <path to FreeIPA CA cert>

Now https webhooks are working as expected, even if this isn't the ideal 
solution (I would prefer to add the ca cert to whatever custom ca bundle 
scalr is using for verifications)

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to