sajag007
Contributor
Contributor

vCenter SAML with Microsoft ADFS 3.0

Post configuring SAML with MS ADFS, get HTTP 500 error as below.  Can you please help what need to be done.

HTTP Status 500 - Request processing failed; nested exception is java.lang.IllegalArgumentException: requestState

type Exception report

message Request processing failed; nested exception is java.lang.IllegalArgumentException: requestState

description The server encountered an internal error that prevented it from fulfilling this request.

exception

  • org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.IllegalArgumentException: requestState

org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:982)

org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)

javax.servlet.http.HttpServlet.service(HttpServlet.java:648)

org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)

javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

com.vmware.identity.SecurityRequestWrapperFilter.doFilterInternal(SecurityRequestWrapperFilter.java:49)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

root cause

  1. java.lang.IllegalArgumentException: requestState

org.apache.commons.lang.Validate.notNull(Validate.java:192)

        com.vmware.identity.proxyservice.LogonProcessorImpl.authenticationError(LogonProcessorImpl.java:71)

com.vmware.identity.websso.client.endpoint.SsoResponseListener.consumeResponse(SsoResponseListener.java:100)

sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

java.lang.reflect.Method.invoke(Method.java:498)

org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220)

org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:134)

        org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:116)

org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)

org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)

org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)

org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)

org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)

        org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)

org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)

javax.servlet.http.HttpServlet.service(HttpServlet.java:648)

        org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)

javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

com.vmware.identity.SecurityRequestWrapperFilter.doFilterInternal(SecurityRequestWrapperFilter.java:49)

org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)

org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  note

The full stack trace of the root cause is available in the Apache Tomcat/8.5.8 logs.

0 Kudos
1 Reply
sajag007
Contributor
Contributor

In addition, In ADFS, the claim contains UPN with incoming claim as UPN.  When the vSphere URL is accessed, we find the URL is passing through sts page and hitting vSphere PSC.  Then, immediately get below HTTP 500 error.

0 Kudos