ImportError: cannot import name HAS_TLSv1_3

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
meganwilliford
Posts: 101
Joined: Tue Aug 06, 2019 7:49 am

ImportError: cannot import name HAS_TLSv1_3

Post by meganwilliford »

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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: ImportError: cannot import name HAS_TLSv1_3

Post by lmiltchev »

I haven't been able to recreate the issue in house.

The only reference that I found about this issue is this one:

https://github.com/NagiosEnterprises/ncpa/issues/357

Feel free to chime in on the GitHub page. Our NCPA developer is not in the office at the moment but will see your feedback.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked