Dears,
While I am running resilient-circuits config -c on the integration server I got below error regarding TLS issue as it isn't compatible with python 2.7.
/usr/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py:52: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography import x509
Traceback (most recent call last):
File "/usr/bin/resilient-circuits", line 5, in <module>
from resilient_circuits.bin.resilient_circuits_cmd import main
File "/usr/lib/python2.7/site-packages/resilient_circuits/__init__.py", line 9, in <module>
from .actions_component import ResilientComponent
File "/usr/lib/python2.7/site-packages/resilient_circuits/actions_component.py", line 39, in <module>
from resilient_circuits.stomp_component import StompClient
File "/usr/lib/python2.7/site-packages/resilient_circuits/stomp_component.py", line 34, in <module>
class StompClient(BaseComponent):
File "/usr/lib/python2.7/site-packages/resilient_circuits/stomp_component.py", line 46, in StompClient
ssl_version=ssl.PROTOCOL_TLS if sys.version_info.major == 2 else ssl.PROTOCOL_TLS_CLIENT,
AttributeError: 'module' object has no attribute 'PROTOCOL_TLS'
Appreciate support if anyone hit with this problem before and if it is applicable to install python 3 on integration server with apphost.
Thanks,
------------------------------
mohamed khalil
------------------------------