VMware Cloud Community
phillipsnick
Contributor
Contributor

Administration > Roles is throwing a 500 error on XHR call

Fairly new to vCenter and just investigating it's usability in our environment.

Running VCSA 6.7.0 - 10244857

Only have one user currently, the administrator setup during installation.

Then go to Administration > Access Control > Roles results in the following screen with the 2 XHR errors.

Screen Shot 2018-12-24 at 18.48.35.png

The response of these is:

{

"cause": "com.vmware.vapi.client.exception.TransportProtocolException: HTTP response with status code 503 (enable debug logging for details): <HTML><BODY><H1>503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007f1728134e60] _serverNamespace = /site/api action = Allow _port = 12346)</H1></BODY></HTML>",

"stackTrace": "com.vmware.vapi.client.exception.TransportProtocolException: HTTP response with status code 503 (enable debug logging for details): <HTML><BODY><H1>503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007f1728134e60] _serverNamespace = /site/api action = Allow _port = 12346)</H1></BODY></HTML>\n\tat com.vmware.vapi.internal.protocol.client.rpc.http.ApacheHttpUtil.validateHttpResponse(ApacheHttpUtil.java:71)\n\tat com.vmware.vapi.internal.protocol.client.rpc.http.HttpClient.invoke(HttpClient.java:147)\n\tat com.vmware.vapi.internal.protocol.client.rpc.http.HttpClient.send(HttpClient.java:165)\n\tat com.vmware.vapi.internal.protocol.client.msg.json.JsonApiProvider.sendRequest(JsonApiProvider.java:126)\n\tat com.vmware.vapi.internal.protocol.client.msg.json.JsonApiProvider.invoke(JsonApiProvider.java:307)\n\tat com.vmware.vapi.internal.protocol.ExecutorApiProvider$1.run(ExecutorApiProvider.java:48)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat com.vmware.vise.util.concurrent.WorkerThreadFactory$1.run(WorkerThreadFactory.java:64)\n [wrapped] com.vmware.vapi.client.exception.TransportProtocolException: HTTP response with status code 503 (enable debug logging for details): <HTML><BODY><H1>503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x00007f1728134e60] _serverNamespace = /site/api action = Allow _port = 12346)</H1></BODY></HTML>\n\tat java.lang.Thread.getStackTrace(Thread.java:1559)\n\tat com.vmware.vapi.bindings.client.AsyncCallbackSyncAdapter.get_aroundBody1$advice(AsyncCallbackSyncAdapter.java:49)\n\tat com.vmware.vapi.bindings.client.AsyncCallbackSyncAdapter.get(AsyncCallbackSyncAdapter.java:1)\n\tat com.vmware.vapi.internal.bindings.Stub.invokeMethod(Stub.java:149)\n\tat com.vmware.cis.SessionStub.create(SessionStub.java:44)\n\tat com.vmware.cis.SessionStub.create(SessionStub.java:37)\n [wrapped] java.lang.reflect.InvocationTargetException\n\tat sun.reflect.GeneratedMethodAccessor3754.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat com.vmware.vise.vim.vapi.SessionBasedVapiConnectionAuthenticator.login(SessionBasedVapiConnectionAuthenticator.java:121)\n [wrapped] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException\n\tat com.vmware.vise.vim.vapi.SessionBasedVapiConnectionAuthenticator.login(SessionBasedVapiConnectionAuthenticator.java:129)\n\tat com.vmware.vise.vim.vapi.SessionBasedVapiConnectionAuthenticator.createSecurityContext(SessionBasedVapiConnectionAuthenticator.java:211)\n\tat com.vmware.vise.vim.vapi.StaticEndpointVapiConnectionManager.createStubConfig(StaticEndpointVapiConnectionManager.java:316)\n\tat com.vmware.vise.vim.vapi.StaticEndpointVapiConnectionManager.getStubConfig(StaticEndpointVapiConnectionManager.java:261)\n\tat com.vmware.vise.vim.vapi.StaticEndpointVapiConnectionManager.createServiceStub(StaticEndpointVapiConnectionManager.java:238)\n\tat com.vmware.vise.vim.vapi.LsDiscoveryVapiConnectionManager.createServiceStub(LsDiscoveryVapiConnectionManager.java:107)\n\tat sun.reflect.GeneratedMethodAccessor1082.invoke(Unknown Source)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:498)\n\tat org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)\n\tat org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)\n\tat org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\n\tat org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)\n\tat org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)\n\tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)\n\tat com.sun.proxy.$Proxy186.createServiceStub(Unknown Source)\n\tat com.vmware.vise.vim.vapi.VapiServiceTargetSource.getTarget(VapiServiceTargetSource.java:39)\n\tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:192)\n\tat com.sun.proxy.$Proxy204.batchQuery(Unknown Source)\n\tat com.vmware.vise.vim.security.accesscontrol.impl.AuthorizationServicePropertyAdapter.getGrantedPrivileges(AuthorizationServicePropertyAdapter.java:287)\n\tat com.vmware.vise.vim.security.accesscontrol.impl.AuthorizationServicePropertyAdapter.getProperties(AuthorizationServicePropertyAdapter.java:145)\n\tat com.vmware.vise.data.query.impl.DataManager.getDataFromPropertyProvider(DataManager.java:1302)\n\tat com.vmware.vise.data.query.impl.DataManager.getResultFromPropertyProvider(DataManager.java:1269)\n\tat com.vmware.vise.data.query.impl.DataManager.access$000(DataManager.java:78)\n\tat com.vmware.vise.data.query.impl.DataManager$1.call(DataManager.java:784)\n\tat com.vmware.vise.data.query.impl.DataManager$1.call(DataManager.java:780)\n\tat com.vmware.vise.util.concurrent.ExecutorUtil$2.call(ExecutorUtil.java:773)\n\tat com.vmware.vise.util.concurrent.ExecutorUtil$ThreadContextPropagatingTask.call(ExecutorUtil.java:1234)\n\tat com.vmware.vise.data.query.impl.DataServiceThreadPoolDecorator$1.call(DataServiceThreadPoolDecorator.java:174)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)",

"message": "java.lang.reflect.InvocationTargetException"

}

There's a repeated error inside vpxd.log which I haven't been able to resolve yet either and I'm not sure it's related?

2018-12-24T18:51:08.273Z info vpxd[05965] [Originator@6876 sub=vpxLro opID=W0-31] [VpxLRO] -- BEGIN lro-575226 -- AuthorizationManager -- vim.AuthorizationManager.hasPrivilegeOnEntities -- 52bf6986-e2c1-297d-0218-e62132e39d89(5235c0cf-62f9-26fd-50bd-d787b3cdd9f5)

2018-12-24T18:51:08.273Z info vpxd[05965] [Originator@6876 sub=vpxLro opID=W0-31] [VpxLRO] -- FINISH lro-575226

2018-12-24T18:51:08.276Z info vpxd[06152] [Originator@6876 sub=vpxLro opID=W0-W69978-7a] [VpxLRO] -- BEGIN lro-575227 -- ViewManager -- vim.view.ViewManager.createContainerView -- 52bf6986-e2c1-297d-0218-e62132e39d89(5235c0cf-62f9-26fd-50bd-d787b3cdd9f5)

2018-12-24T18:51:08.277Z info vpxd[06152] [Originator@6876 sub=vpxLro opID=W0-W69978-7a] [VpxLRO] -- FINISH lro-575227

2018-12-24T18:51:08.279Z info vpxd[05976] [Originator@6876 sub=vpxLro opID=W0-W69978-74] [VpxLRO] -- BEGIN lro-575229 -- session[52bf6986-e2c1-297d-0218-e62132e39d89]5226326f-96d3-732f-e40e-1d2ea3c1cd09 -- vim.view.View.destroy -- 52bf6986-e2c1-297d-0218-e62132e39d89(5235c0cf-62f9-26fd-50bd-d787b3cdd9f5)

2018-12-24T18:51:08.279Z info vpxd[05976] [Originator@6876 sub=vpxLro opID=W0-W69978-74] [VpxLRO] -- FINISH lro-575229

2018-12-24T18:51:09.349Z info vpxd[05973] [Originator@6876 sub=vpxLro opID=64b24fab] [VpxLRO] -- BEGIN lro-575230 -- ServiceInstance -- vim.ServiceInstance.retrieveContent -- 52eb598c-6182-ed16-cfac-54a899b795b2

2018-12-24T18:51:09.349Z info vpxd[05973] [Originator@6876 sub=vpxLro opID=64b24fab] [VpxLRO] -- FINISH lro-575230

2018-12-24T18:51:09.351Z info vpxd[05895] [Originator@6876 sub=vpxLro opID=768c9732] [VpxLRO] -- BEGIN lro-575231 -- ServiceInstance -- vim.ServiceInstance.retrieveInternalContent -- 52577003-185b-e162-5d1e-1e79332a0b95

2018-12-24T18:51:09.351Z info vpxd[05895] [Originator@6876 sub=vpxLro opID=768c9732] [VpxLRO] -- FINISH lro-575231

2018-12-24T18:51:09.354Z info vpxd[05881] [Originator@6876 sub=vpxLro opID=81a906c] [VpxLRO] -- BEGIN lro-575232 -- SessionManager -- vim.SessionManager.loginExtensionByCertificate -- 52c6e54b-6b19-9496-069b-efb8a3e046b8

2018-12-24T18:51:13.355Z info vpxd[05881] [Originator@6876 sub=vpxLro opID=81a906c] [VpxLRO] -- FINISH lro-575232

2018-12-24T18:51:13.355Z info vpxd[05881] [Originator@6876 sub=Default opID=81a906c] [VpxLRO] -- ERROR lro-575232 -- SessionManager -- vim.SessionManager.loginExtensionByCertificate: vim.fault.InvalidLogin:

--> Result:

--> (vim.fault.InvalidLogin) {

-->    faultCause = (vmodl.MethodFault) null,

-->    faultMessage = <unset>

-->    msg = ""

--> }

--> Args:

-->

--> Arg extensionKey:

--> "com.vmware.vim.eam"

--> Arg locale:

-->

2018-12-24T18:51:14.887Z info vpxd[05947] [Originator@6876 sub=vpxLro opID=7ae088c8] [VpxLRO] -- BEGIN lro-575234 -- ViewManager -- vim.view.ViewManager.createContainerView -- 52bf6986-e2c1-297d-0218-e62132e39d89(5235c0cf-62f9-26fd-50bd-d787b3cdd9f5)

2018-12-24T18:51:14.887Z info vpxd[05947] [Originator@6876 sub=vpxLro opID=7ae088c8] [VpxLRO] -- FINISH lro-575234

2018-12-24T18:51:14.890Z info vpxd[05922] [Originator@6876 sub=vpxLro opID=73b7cd5a] [VpxLRO] -- BEGIN lro-575236 -- session[52bf6986-e2c1-297d-0218-e62132e39d89]52f14310-dd8e-1ec7-77d5-93af4c48835a -- vim.view.View.destroy -- 52bf6986-e2c1-297d-0218-e62132e39d89(5235c0cf-62f9-26fd-50bd-d787b3cdd9f5)

2018-12-24T18:51:14.890Z info vpxd[05922] [Originator@6876 sub=vpxLro opID=73b7cd5a] [VpxLRO] -- FINISH lro-575236

2018-12-24T18:51:18.273Z info vpxd[05932] [Originator@6876 sub=vpxLro opID=W0-58] [VpxLRO] -- BEGIN lro-575239 -- AuthorizationManager -- vim.AuthorizationManager.hasPrivilegeOnEntities -- 52bf6986-e2c1-297d-0218-e62132e39d89(5235c0cf-62f9-26fd-50bd-d787b3cdd9f5)

2018-12-24T18:51:18.273Z info vpxd[05932] [Originator@6876 sub=vpxLro opID=W0-58] [VpxLRO] -- FINISH lro-575239

2018-12-24T18:51:18.276Z info vpxd[06197] [Originator@6876 sub=vpxLro opID=W0-W69979-b8] [VpxLRO] -- BEGIN lro-575240 -- ViewManager -- vim.view.ViewManager.createContainerView -- 52bf6986-e2c1-297d-0218-e62132e39d89(5235c0cf-62f9-26fd-50bd-d787b3cdd9f5)

2018-12-24T18:51:18.277Z info vpxd[06197] [Originator@6876 sub=vpxLro opID=W0-W69979-b8] [VpxLRO] -- FINISH lro-575240

2018-12-24T18:51:18.279Z info vpxd[13564] [Originator@6876 sub=vpxLro opID=W0-W69979-a3] [VpxLRO] -- BEGIN lro-575242 -- session[52bf6986-e2c1-297d-0218-e62132e39d89]5203a23a-95f1-e65b-9f3e-6b3bc7afe589 -- vim.view.View.destroy -- 52bf6986-e2c1-297d-0218-e62132e39d89(5235c0cf-62f9-26fd-50bd-d787b3cdd9f5)

2018-12-24T18:51:18.279Z info vpxd[13564] [Originator@6876 sub=vpxLro opID=W0-W69979-a3] [VpxLRO] -- FINISH lro-575242

Can anyone point me in the right direction to resolve this issue (or two issues)?

0 Kudos
1 Reply
l00ptr
Contributor
Contributor

Hello,

We use  VCSA version 6.7.0.20000 - 10244745 and we have the same problem. Did you find a solution/a workaround for this problem ?

I know we are 2 updates behind. Maybe upgrading to the latest version will fix this problem.

Best regards,

J.

0 Kudos