VMware Cloud Community
ocsitspecialist
Contributor
Contributor
Jump to solution

503 Service Unavailable (Failed to connect to endpoint:

Error Message:

503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::LocalServiceSpec:0x000001d47454d440] _serverNamespace = /ui action = Allow _port = 5090)

error.png

Hello guys good evening, I was encountered this error on my host machine when accessing the vcenter server with vSphere Client (HTML5) - partial functionality, any solution or recommendation to solve my current issues on my vCenter Server 6.5 thank you guys and GOD BLESS US ALL...

50 Replies
Mokshir
Enthusiast
Enthusiast
Jump to solution

I am running into the same issue but the vpxd log is showing a different error.

cat /var/log/vmware/vpxd/vpxd.log | grep -i error

2018-05-24T18:01:56.545Z error vpxd[7FE19ACE7800] [Originator@6876 sub=MoOptionMgr] Unable to read from '/etc/motd':N7Vmacore23FileIONotFoundExceptionE(FileIO error: Could not find file  : /etc/motd)

2018-05-24T18:01:56.549Z error vpxd[7FE19ACE7800] [Originator@6876 sub=MoOptionMgr] [OptionMgr] Skipping bad entry config.vpxd.enableDebugBrowse from DB. Resetting to default.Exception: vmodl.fault.InvalidArgument

2018-05-24T18:01:59.021Z error vpxd[7FE19ACE7800] [Originator@6876 sub=DbBulkLoader] [VpxdDbBulkLoader::Load] Failed to load tableDef 41 from database: Column DVS_ID does not exist in table VPX_DVS_NRP

Before this happened, i had VC VM running on local datastore and the datastore ran out of space. So swap couldnt expand. I reserved all the memory and was able to start the VC VM. But now i am getting the same 503 error

I don't want to rebuild this VC since i have other applications connected to it.

help...!!!

MK

Reply
0 Kudos
pikmaster
Contributor
Contributor
Jump to solution

503 Service Unavailable (Failed to connect to endpoint: [class Vmacore::Http::NamedPipeServiceSpec:0x000000061c9e0f80] _serverNamespace = / action = Allow _pipeName =\\.\pipe\vmware-vpxd-webserver-pipe)


This is what was in the Windows Event Log:

Log Name:      Application

Source: VMware VirtualCenter Server

Date: 08/07/2018 10:06:19

Event ID:      1000

Task Category: None

Level: Warning

Keywords: Classic

User: N/A

Computer: extdubesxvc501.eu.dsext.susq.com

Description:

Failed to report event. Reason: Data error (cyclic redundancy check)

Apparently there is a lot of services depending on the connection to this service, producing similar error but with completely different causes. This time we ran out of space on the SQL database logs filesystem. Clearing down that filesystem allowed us to make the vsphere operational again. We didn't want to rebuild the whole ESX cluster.

Last time it was the (already mentioned before in this thread) lack of permissions for local user to log on as service (our group policy overwrote the permissions that were done during the installation of vSphere. Not sure if the error number was exactly the same, but the message was strikingly similar.

Reply
0 Kudos
ew0506
Contributor
Contributor
Jump to solution

Hello All,

If no one has found an answer to this yet, I have a solution that worked for me and was pretty easy actually.

Log in to VCSA using SSH and modify /etc/hosts. Make you enable SSH first if you don't know how to do that please research. I have the answer but I'm sure most of you can figure that out.

Type ---- > shell.set --enabled TRUE

Type ----- > shell

Type ----- >vi /etc/hosts or you can "cat" the file first to look at it but you will need to edit more than likely.

I ADDED A LINE HERE THAT SAID THE FOLLOWING WITHIN THE "HOST":

I inserted this right below the 127.0.0.1 line .......

192.168.x.x <INSERT FQDN>.LOCAL

SAVED FILE AND REBOOTED VCSA

Once I rebooted VCSA and the servers started up completely, took a few minutes, I was able to access VCSA just fine using the FQDN name URL.

My initial error message was the following:

503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007fe854035a70] _serverNamespace = /vsphere-client action = Allow _port = 9090)

http://www.settlersoman.com/wp-content/uploads/2016/07/How-to-change-vCenter-Appliance-VCSA-6.x-IP-A...

Hope this helps someone. 

Reply
0 Kudos
wellschen90
Contributor
Contributor
Jump to solution

I have the same case.And you are right.Thanks.

Reply
0 Kudos
chi201110141
Contributor
Contributor
Jump to solution

recently upgraded from v6.0.0.30400 build 74641010 to v6.0.0.30800 Build Number 9448190.

Getting same error as above, but ours is space related.

login as: root

VMware vCenter Server Appliance 6.0.0.30800

Type: vCenter Server with an embedded Platform Services Controller

root@192.168.2.53's password:

vcenterdr:~ # df -h

Filesystem                            Size  Used Avail Use% Mounted on

/dev/sda3                              11G   11G     0 100% /

udev                                  4.0G  164K  4.0G   1% /dev

tmpfs                                 4.0G   32K  4.0G   1% /dev/shm

/dev/sda1                             128M   39M   83M  32% /boot

/dev/mapper/core_vg-core               26G  1.4G   23G   6% /storage/core

/dev/mapper/log_vg-log                 21G   13G  7.5G  63% /storage/log

/dev/mapper/db_vg-db                   12G  1.2G   11G  10% /storage/db

/dev/mapper/dblog_vg-dblog            5.9G  363M  5.3G   7% /storage/dblog

/dev/mapper/seat_vg-seat               12G  2.3G  9.0G  21% /storage/seat

/dev/mapper/netdump_vg-netdump        2.0G   18M  1.9G   1% /storage/netdump

/dev/mapper/autodeploy_vg-autodeploy   13G  154M   12G   2% /storage/autodeploy

/dev/mapper/invsvc_vg-invsvc          5.9G  222M  5.4G   4% /storage/invsvc

vcenterdr:~ #

Cant seem to increase the disks....

Reply
0 Kudos
uldericozemacha
Contributor
Contributor
Jump to solution

Hi all, I have the same problem, vcenter server 6.7 on win server 2012 on esxi 6.5 platform.

I did:

C:\ProgramData\VMware\vCenterServer\bin

service-control --stop vsphere-client

service-control --start vsphere-client

then

service-control --start vsphere-ui

All works perfectly.

Thansk

Rico

Reply
0 Kudos
SAPTCO
Contributor
Contributor
Jump to solution

HI,

This is Link VMware Knowledge Base  Solve My Issue Completely.

BR,,

parvezaliusmani
Contributor
Contributor
Jump to solution

It works for all Port related issues, thanks for suggestion.

Reply
0 Kudos
NgBenjamin
Contributor
Contributor
Jump to solution

While my error is a little different from the OP, mine was this:

"503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x000055f28255ebb0] _serverNamespace = /ui action = Allow _port = 5090)"

I checked the audit.log and it was not hugh and took up all the space.   Then I went on to check the health of the VCSA by going  to

https://vcsa:5480

Everything was fine.  So I attempted to update and then I got an error saying my root password expired.  Change it before retrying (something like).

Once I changed the root password of the vcsa, my web-gui came back immediately.

I wish this is some kind of notification that my root password expired.  The kicker is that I was able to login as root using expired password.  Once login, no message to prompt me to change password. 

Hope this helps someone.

Reply
0 Kudos
Yogesh2
Contributor
Contributor
Jump to solution

Have a look in  the datastore space as well, we found the similar issue and when checked the datastore have 0% of free space left.

 

After making some breathing space, the VC start responding.

Reply
0 Kudos