# ssl issues with hipchat module?

**URL:** <https://forum.ansible.com/t/ssl-issues-with-hipchat-module/18854>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [July 26, 2015, 3:25am UTC](https://forum.ansible.com/t/ssl-issues-with-hipchat-module/18854 "2015-07-26T03:25:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toshio\_Kuratomi](https://avatars.discourse-cdn.com/v4/letter/t/41988e/32.png) [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Post date:** [July 26, 2015, 3:25am UTC](https://forum.ansible.com/t/ssl-issues-with-hipchat-module/18854/1 "2015-07-26T03:25:32Z")

</div>

> So here’s what I did. If I run it from source (source ansible/hacking/env-setup) it seems to work. However, I created an RPM for my RH5 boxes (don’t ask) and installed it across our web servers.

So this is an rpm of a source checkout? And you’re running it on rhel5. Did you also create a newer python package?

> I dont know if this means anything but I am getting the following message when running “ansible --version”
> 
> ansible 1.9.2  
> configured module search path = None
> 
> Now when running my role, everything before it works (installing RPMs) but the hipchat part is throwing an error.
> 
> failed: [127.0.0.1 → 127.0.0.1] =\> {“failed”: true, “parsed”: false}  
> Traceback (most recent call last):  
> File “/home/deployment/.ansible/tmp/ansible-tmp-1437759950.33-224089137808292/hipchat”, line 1918, in ?  
> PROTOCOL = ssl.PROTOCOL\_TLSv1  
> NameError: name ‘ssl’ is not defined

This should have been fixed (the throwing of a traceback) on Friday. Be sure your checkout is the very latest. However, if the ssl module is missing (for instance, when running on python2.4 which didn’t have the ssl module built-in to the stdlib) this may fail later with a message that the server’s certificates could not be verified. There is a python-ssl module which might be available via epel to fix that problem, though.

-Toshio
