Translate to:
Please select
  • English (English)
  • French (Français)
  • German (Deutsch)
  • Indonesian (Bahasa Indonesia)
  • Italian (Italiano)
  • Portuguese (Português)
  • Russian (Русский)
  • Spanish (Español)
  • Thai (ไทย)
  • Turkish (Türkçe)
  • Vietnamese (Tiếng Việt)
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

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.

Search in

Improve your search experience:

  • Exact phrase → Use quotes " " (e.g., "error 404")
  • Wildcard → Use * for partial words (e.g., build*, *tion)
  • AND / OR → Combine keywords (e.g., login AND error, login OR sign‑in)
  • Keep it short → Use 2–3 relevant words , not full sentences
  • Filters → Narrow results by section (Knowledge Base, Users, Products)
Enter a search word
    Turn off suggestions

    Didn't find what you were looking for? Explore advanced search

    Enter a search word
      Turn off suggestions

      Didn't find what you were looking for? Explore advanced search

      Enter a user name or rank
        Turn off suggestions

        Didn't find what you were looking for? Explore advanced search

        Enter a search word
          Turn off suggestions

          Didn't find what you were looking for? Explore advanced search

          Enter a search word
            Turn off suggestions

            Didn't find what you were looking for? Explore advanced search

            cancel
            Turn on suggestions
            Showing results for 
            Show  only  | Search instead for 
            Did you mean: 
            Important Note
            • Home
            • Schneider Electric Community
            • APC UPS, Critical Power, Cooling and Racks
            • APC UPS Data Center & Enterprise Solutions Forum
            • Re: PCNS cannot connect to ESXi 5.5 host
            Options
            • 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
            Teken
            Spock Teken
            136
            Erasmus_apc
            Sisko Erasmus_apc
            112
            View All

            Free

            English

            Data Center Certified Associate Exam Development Path

            Strengthen your foundational knowledge in Data Centers for free, enroll in this path today and start your learning journey!

            4.0
            Register Browse SE University
            Related Topics
            • PCNS 4.0 on esxi 5.5 (free edition) agent communication

            • PCNS @ vMA + ESXi

            • PCNS v4.2 Configuration - vCenter / ESXi

            • PCNS trying to logon unsuccessfully to ESXi hosts every minute

            • Install PCNS on ESXi Host

            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
            Start a Topic
            Solved
            Anonymous user
            Not applicable

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

            0 Likes
            7
            1986
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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

            Authentication Failed.

            • Authentication Ticket Mismatched, failed authentication.

            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
            1986
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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
            1986
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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
            1987
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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
            Capture.PNG
            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
            1986
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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
            1987
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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
            1987
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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
            1985
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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
            1987
            • Mark as New
            • Bookmark
            • Subscribe
            • Mute
            • 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

            li.media.uploader-dialog.title

            • li.media.uploader-dialog.tabs.upload li.media.uploader-dialog.tabs.upload
            • li.media.uploader-dialog.tabs.web li.media.uploader-dialog.tabs.web
            • li.media.uploader-dialog.tabs.saved li.media.uploader-dialog.tabs.saved
            li.media.album-selector.label
            • li.media.album-selector.title
            • li.media.album-selector.new.title
            • li.media.album-selector.label
              • li.media.album-selector.title
              • li.media.album-selector.new.title
              li.media.image-upload.drag
              li.media.image-upload.drop
              li.media.image-upload.mobile.instruction
              li.media.image-upload.no-flash
            li.media.uploader-dialog.title

            never-displayed

            You must be signed in to add attachments

            never-displayed

             

            You’ve reached the end of your document

            WHAT’S NEXT?

            Ask our Experts

            Didn't find what you are looking for? Ask our experts!

            My Dashboard

            Check out the new Feeds and activities that are relevant to you.

            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
            Welcome to Schneider Electric Community!
            Forum-Icon

            You have two options to continue your visit.

            LOGIN / Register

            Why logging in?
            • You enable the complete set of features available, such as posting, sharing, subscribing, private messaging and more.
            • You unlock the access to the whole content that Schneider Electric Community has to offer, including the gated items and the special events.
            And it’s free of charge!!!

            OR

            Continue as a guest

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

            Welcome!

            Welcome to your new personalized space.

            of 1

            Explore
            Translating the page…
            The page is currently translating. Please wait.
            Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.