Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts.
Register and secure your Critical IT infrastructure

PCNS cannot connect to ESXi 5.5 host

APC UPS Data Center & Enterprise Solutions Forum

Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • APC UPS, Critical Power, Cooling and Racks
  • APC UPS Data Center & Enterprise Solutions Forum
  • PCNS cannot connect to ESXi 5.5 host
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
BillP
Administrator BillP Administrator
5060
voidstar_apc
Janeway voidstar_apc
196
Erasmus_apc
Sisko Erasmus_apc
112
TheNotoriousKMP_apc
Sisko TheNotoriousKMP_apc
108
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to APC UPS Data Center & Enterprise Solutions Forum
Solved
Anonymous user
Not applicable

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
7
1785
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

PCNS cannot connect to ESXi 5.5 host

I've just installed the PCNS4.2 virtual appliance for VMware, and want to have it communicate directly with my single host and the single UPS that protects it.  The UPS side of things is working perfectly; the host, not so much.

Initially I was unable to get it to connect to the host while running the setup wizard.  I found this discussion which led me to the Java security.policy file, and after commenting out the disabledAlgorithms directive per that note, I was able to complete the initial setup.

However, if I now visit the Communications Settings page of PCNS, I get a nasty red warning that "ESXi Host is inaccessible. Please verify that the ESXi Host logon credentials are correct and that the IP/Hostname is accessible over the network" on that page, and "Cannot connect to Host. PowerChute will not be able to issue commands to the Host" in the event log.

Examining /opt/APC/PowerChute/group1/error.log, I see

03-12-16 11:35:24,509 DEBUG qtp1559701045-55 com.apcc.m11.components.WebServer.servlets.AJAXCheckHostConnection - Connection to ESXi Host could not be made.
java.rmi.RemoteException: VI SDK invoke exception:javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

which tells me that I'm still having an SSL handshake problem, despite it working the first time during initial setup.

I've checked that the security.policy file remains unchanged, and verified that both systems' clocks are in sync anc timezones are set correctly, so I'm at a loss where to go from here.  I'm particularly puzzled and perturbed that it works during initial config, then turns around and fails during normal operation.

Any and all suggestions welcome.  Oh and BTW, the host is running ESXi 5.5 Update 3b, patch level 43545813.  Thanks!

Labels
  • Labels:
  • UPS Management Devices & PowerChute Software
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 05:48 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
0
1785
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:48 AM . Last Modified: ‎2024-03-13 12:29 AM

Hi,

Can you ping the updated host name from the PowerChute VM and is the host being added to PowerChute using the domain name or IP address? 

Something else you can try is change these to entries in the pcnsconfig.ini file 

[HostConfigSettings] VMware_connect_timeout = 10 VMware_read_timeout = 15 and increase the timeout settings to 30 seconds each, change the values to the following: VMware_connect_timeout = 30 VMware_read_timeout = 30

I would expect to see read timed out or connection timed out errors and not the HandshakeException error but increasing the timeouts may help.

See Answer In Context

Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 7
BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
0
1785
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

Jon,

Sorry to hear about the inconvenience. If you run the set-up wizard a second time does PCNS register with the host? Also, is the host fully licensed e.g running Standard, Enterprise, or Enterprise Plus license? 

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
0
1786
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

Hi, Bill, and thanks for responding.

I hadn't thought to try the cfgwizard a second time, but I just did and it is now failing with the same "javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake" error.

The host was initially installed from the free ESXi media, but I have subsequently applied an Essentials Plus license to it:

Attachments
Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
0
1785
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

Jon,

When you run this command from the PCNS Appliance does it connect to the host? 

openssl s_client -connect :443 (you need to replace host ip with the ip address of your host) 

If it does would you send what is shows the Server public key to be? It should read Server pubic key is XXXX bits and the next line should read Secure Renegotiation IS support. 

It would also be help full to know the Protocol. It should read Protocol : XXXXX with the Xs being replace with the proper protocol. 

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
0
1786
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

Hi, Bill.  Here's the response:

subject=/C=US/ST=California/L=Palo Alto/O=VMware, Inc/OU=VMware ESX Server Default Certificate/emailAddress=ssl-certificates@vmware.com/CN=localhost.obfuscated.net/unstructuredName=1401849230,564d7761726520496e632e
issuer=/O=VMware Installer
---
No client certificate CA names sent
---
SSL handshake has read 1161 bytes and written 447 bytes
---
New, TLSv1/SSLv3, Cipher is AES256-SHA
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
    Protocol  : TLSv1
    Cipher    : AES256-SHA
    Session-ID:
    Session-ID-ctx:
    Master-Key: 7A166AF1CCDF487356E3D90668EED663AD9CF8BE0B66F1445C25AA3D186AC875CB8954C235AD295309B87A28CF4D45D5
    Key-Arg   : None
    Krb5 Principal: None
    Start Time: 1481079094
    Timeout   : 300 (sec)
    Verify return code: 21 (unable to verify the first certificate)

I do note that the cert appears to be for the original name that the host picked up from my DHCP server when I first installed it.  Does PCNS check whether the name matches the DNS entry for the host, perhaps?

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
0
1786
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:47 AM . Last Modified: ‎2024-03-13 12:29 AM

Hi,

Would you try the following:

- add localhost.obfuscated.net to the hosts file of the PCNS VM if the PCNS VM is unable to resolve it i.e. if the hostname cannot be pinged.
- use localhost.obfuscated.net in the PCNS UI to connect to the ESXi host instead of the IP address.

Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-06-29 05:48 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
0
1784
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:48 AM . Last Modified: ‎2024-03-13 12:29 AM

Hi again, Bill.

I'm afraid that didn't help.  Thinking that perhaps the name mismatch (certificate name not matching the current DNS name) might have been contributing, I generated a new SSL certificate for the current name and restarted the management services on the host, but the problem still persists with the same error message:

11-12-16 02:30:02,906 DEBUG qtp1559701045-56 com.apcc.m11.components.WebServer.servlets.AJAXCheckHostConnection - Connection to ESXi Host could not be made.
java.rmi.RemoteException: VI SDK invoke exception:javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

Reply

Link copied. Please paste this link to share this article on your social media post.

BillP
Administrator BillP Administrator
Administrator

Posted: ‎2021-06-29 05:48 AM . Last Modified: ‎2024-03-13 12:29 AM

0 Likes
0
1786
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-06-29 05:48 AM . Last Modified: ‎2024-03-13 12:29 AM

Hi,

Can you ping the updated host name from the PowerChute VM and is the host being added to PowerChute using the domain name or IP address? 

Something else you can try is change these to entries in the pcnsconfig.ini file 

[HostConfigSettings] VMware_connect_timeout = 10 VMware_read_timeout = 15 and increase the timeout settings to 30 seconds each, change the values to the following: VMware_connect_timeout = 30 VMware_read_timeout = 30

I would expect to see read timed out or connection timed out errors and not the HandshakeException error but increasing the timeouts may help.

Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of