ImportError: cannot import name HAS_TLSv1_3
Posted: Thu Jan 23, 2020 9:55 am
When installing ncpa 2.2.0 on a Windows 2016 server, the ncpa services were showing as “Starting” and not as “Started”. In program files(86)\Nagios\Log there seems to indicate some sort of TLS encryption problem. Has anyone seen this before?
[02212] 2020/01/13 09:28:53.314 Traceback (most recent call last):
[02212] 2020/01/13 09:28:53.314 File "C:\ncpa\agent\ncpa_windows.py", line 26, in <module>
[02212] 2020/01/13 09:28:53.314 File "C:\Python27\lib\ssl.py", line 126, in <module>
[02212] 2020/01/13 09:28:53.314 ImportError: cannot import name HAS_TLSv1_3
[02212] 2020/01/13 09:28:53.314 Traceback (most recent call last):
[02212] 2020/01/13 09:28:53.314 File "C:\ncpa\agent\ncpa_windows.py", line 26, in <module>
[02212] 2020/01/13 09:28:53.314 File "C:\Python27\lib\ssl.py", line 126, in <module>
[02212] 2020/01/13 09:28:53.314 ImportError: cannot import name HAS_TLSv1_3