VMware Support Community
mlima87
Contributor
Contributor
Jump to solution

SSL Connection to target failed - Unexpected error while connecting to the target

SSL Connection to target failed - Unexpected error while connecting to the target after recovery from system network outage.

0 Kudos
1 Solution

Accepted Solutions
mlima87
Contributor
Contributor
Jump to solution

FYI 

Solution was to login to server and restart vmware-shd with below cmd. 

systemctl restart vmware-shd

thank you for your help. 

 

View solution in original post

10 Replies
araikwar
VMware Employee
VMware Employee
Jump to solution

It could be temporary issue please retry and update.

0 Kudos
mlima87
Contributor
Contributor
Jump to solution

This has not been temporary, 

I have tried a few possible solutions to SSL error on skylinehealth and still persists. 

Thank you for your help

0 Kudos
araikwar
VMware Employee
VMware Employee
Jump to solution

Could you share SHD logs, from SHD UI got to settings -> Help & Support -> download support bundle.

0 Kudos
mlima87
Contributor
Contributor
Jump to solution

.tgz not accepted? how can i get you the logs.

0 Kudos
araikwar
VMware Employee
VMware Employee
Jump to solution

check if you can attach .tgz to email id shd-support@vmware.com

0 Kudos
mlima87
Contributor
Contributor
Jump to solution

Hello

 

Email has been sent.

0 Kudos
araikwar
VMware Employee
VMware Employee
Jump to solution

Hi,

I looked at the log bundle shared by you, I can see there some system level issue captured in SHD logs.

I wanted to know if you have installed/upgrade python on your SHD machine manually?

========================================================

vmware-shd-update.log:2022-03-03 20:17:29,776 vmware-shd-update ERROR view_decorators:108 Checking for the availability of new updates failed - Download  failed - SSL handshake failed..

vmware-shd-update.log:    self._raise_ssl_error(self._ssl, result)

vmware-shd-update.log:  File "/usr/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1639, in _raise_ssl_error

vmware-shd-update.log:    _raise_current_error()

vmware-shd-update.log:  File "/usr/lib/python3.7/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue

vmware-shd-update.log:    raise exception_type(errors)

vmware-shd-update.log:OpenSSL.SSL.Error: [('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')]

vmware-shd-update.log:    raise ssl.SSLError('bad handshake: %r' % e)

vmware-shd-update.log:ssl.SSLError: ("bad handshake: Error([('', 'osrandom_rand_bytes', 'getrandom() initialization failed.')])",)

vmware-shd-update.log:    raise MaxRetryError(_pool, url, error or ResponseError(cause))

================================================================

 

0 Kudos
mlima87
Contributor
Contributor
Jump to solution

Hello

I clicked on the updates option, hoping an update was available to fix this, 

during which i received the same error SSL handshake failed, similar to the  SSL Connection to target failed

 

are there any instruction you can forward to possibly reinstalls vmware health diagnostics?

0 Kudos
mlima87
Contributor
Contributor
Jump to solution

FYI 

Solution was to login to server and restart vmware-shd with below cmd. 

systemctl restart vmware-shd

thank you for your help. 

 

T-pix
Contributor
Contributor
Jump to solution

Had the same problem and this solution worked like a charm.

Thank you!

0 Kudos