<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vCenter | KC's Blog</title>
	<atom:link href="https://www.kjctech.net/tag/vcenter/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kjctech.net</link>
	<description></description>
	<lastBuildDate>Tue, 24 Jan 2023 18:20:53 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://i0.wp.com/www.kjctech.net/wp-content/uploads/2016/12/cropped-KC-Logo.png?fit=32%2C32&#038;ssl=1</url>
	<title>vCenter | KC's Blog</title>
	<link>https://www.kjctech.net</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">24634607</site>	<item>
		<title>Fixing the Famous 503 Service Unavailable (Failed to connect to Endpoint) Error When Trying to Connect to vCenter Web Portal</title>
		<link>https://www.kjctech.net/fixing-the-famous-503-service-unavailable-failed-to-connect-to-endpoint-error-when-trying-to-connect-to-vcenter-web-portal/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=fixing-the-famous-503-service-unavailable-failed-to-connect-to-endpoint-error-when-trying-to-connect-to-vcenter-web-portal</link>
					<comments>https://www.kjctech.net/fixing-the-famous-503-service-unavailable-failed-to-connect-to-endpoint-error-when-trying-to-connect-to-vcenter-web-portal/#respond</comments>
		
		<dc:creator><![CDATA[Kent Chen]]></dc:creator>
		<pubDate>Mon, 29 Mar 2021 17:57:57 +0000</pubDate>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[vCenter]]></category>
		<guid isPermaLink="false">https://www.kjctech.net/?p=4583</guid>

					<description><![CDATA[<p>If you are using VMware&#8217;s vCenter to manage your virtualization environment, the chances that you encounter this famous 503 Service Unavailable message are pretty high. 503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x00007fd8c00155b0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe) Most of the time, a restart would get you going again. But today, a simple restart won&#8217;t cut [&#8230;]</p>
The post <a href="https://www.kjctech.net/fixing-the-famous-503-service-unavailable-failed-to-connect-to-endpoint-error-when-trying-to-connect-to-vcenter-web-portal/">Fixing the Famous 503 Service Unavailable (Failed to connect to Endpoint) Error When Trying to Connect to vCenter Web Portal</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></description>
										<content:encoded><![CDATA[<p>If you are using VMware&#8217;s vCenter to manage your virtualization environment, the chances that you encounter this famous 503 Service Unavailable message are pretty high.</p>



<figure class="wp-block-pullquote"><blockquote><p>503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http20NamedPipeServiceSpecE:0x00007fd8c00155b0] _serverNamespace = / action = Allow _pipeName =/var/run/vmware/vpxd-webserver-pipe)</p></blockquote></figure>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="600" height="199" src="//i0.wp.com/kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window-600x199.png" alt="" class="wp-image-4584" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?resize=600%2C199&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?resize=450%2C149&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?resize=250%2C83&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?resize=768%2C254&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?resize=700%2C232&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?resize=520%2C172&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?resize=360%2C119&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?resize=100%2C33&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/2021-03-28-20_41_41-Window.png?w=988&amp;ssl=1 988w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<p>Most of the time, a restart would get you going again. But today, a simple restart won&#8217;t cut it. I had to try a few different ways to finally get the login page again.</p>



<p>First of all, if SSH isn&#8217;t an option, you will need to get access to the console, which mostly you can through the ESXi server management portal.</p>



<p>Press Alt+F1 to get to the login screen and use root user to log in. I hope you still remember your root password. If not, check <a href="https://www.kjctech.net/resetting-vcenter-server-appliance-root-and-single-sign-on-password/" target="_blank" rel="noreferrer noopener">this one</a> out.  Once logged in, launch shell, by</p>



<pre class="wp-block-preformatted">shell.set --enabled true
shell</pre>



<p>Then, run the following to check the services status. </p>



<pre class="wp-block-preformatted">service-control --status --all</pre>



<p>If you see any stopped services, run the following to start all services.</p>



<pre class="wp-block-preformatted">service-control --start --all</pre>



<figure class="wp-block-image size-large"><img decoding="async" width="600" height="470" src="//i0.wp.com/kjctech.net/wp-content/uploads/2021/03/image-2-600x470.png" alt="" class="wp-image-4587" srcset="https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?resize=600%2C470&amp;ssl=1 600w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?resize=450%2C352&amp;ssl=1 450w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?resize=250%2C196&amp;ssl=1 250w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?resize=768%2C601&amp;ssl=1 768w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?resize=700%2C548&amp;ssl=1 700w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?resize=520%2C407&amp;ssl=1 520w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?resize=360%2C282&amp;ssl=1 360w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?resize=100%2C78&amp;ssl=1 100w, https://i0.wp.com/www.kjctech.net/wp-content/uploads/2021/03/image-2.png?w=802&amp;ssl=1 802w" sizes="(max-width: 600px) 100vw, 600px" /></figure>



<p>Then wait for another 15 minutes before checking the web portal again.</p>



<p>While you are in the console, you should also check and make sure none of the logical drives should be full.</p>



<pre class="wp-block-preformatted">df -h</pre>



<h3 class="wp-block-heading">A few other resources to look at if the above doesn&#8217;t help.</h3>



<ul class="wp-block-list"><li>Reindex the database &#8211; https://www.running-system.com/vmware-vcsa-error-503-service-unavailable/</li><li>VMware KB &#8211; https://kb.vmware.com/s/article/67818</li><li>Due to the vSphere web client &#8211; https://chrisdsibug26.wordpress.com/503-service-unavailable-error-when-connecting-to-the-vcenter-server-using-the-vsphere-web-client/</li><li>Due to the corrupted certificate store &#8211; https://kb.vmware.com/s/article/80020</li></ul>



<h4 class="wp-block-heading">/Updated on Oct. 23, 2022/</h4>



<p>To fix the issue due to the corrupted certificate store,</p>



<p>Download the <strong>crl-fix.sh</strong> script attached to the VMware KB, and transfer the file to the vCenter Server via the tool WinSCP. You may need to follow <a href="https://kb.vmware.com/s/article/2107727" target="_blank" rel="noopener" title="">this</a> first.</p>



<p>Then run the script.</p>



<p>First, grant the script execution permission.</p>



<pre class="wp-block-preformatted">chmod +x crl-fix.sh</pre>



<p>Then, run the script.</p>



<pre class="wp-block-preformatted">./crl-fix.sh</pre>



<p>However, if you got the error message saying no such file or directory, run this first and try again.</p>



<pre class="wp-block-preformatted">sed -i -e 's/\r$//' crl-fix.sh</pre>



<p>It could take a quite long time to see any results from the script. When it is finished, it should stop and restart the vmafdd service again.</p>



<p>Then, restart all the services of the VCSA.</p>The post <a href="https://www.kjctech.net/fixing-the-famous-503-service-unavailable-failed-to-connect-to-endpoint-error-when-trying-to-connect-to-vcenter-web-portal/">Fixing the Famous 503 Service Unavailable (Failed to connect to Endpoint) Error When Trying to Connect to vCenter Web Portal</a> first appeared on <a href="https://www.kjctech.net">KC's Blog</a>.]]></content:encoded>
					
					<wfw:commentRss>https://www.kjctech.net/fixing-the-famous-503-service-unavailable-failed-to-connect-to-endpoint-error-when-trying-to-connect-to-vcenter-web-portal/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4583</post-id>	</item>
	</channel>
</rss>
