3 Replies Latest reply on Mar 8, 2017 12:27 AM by igaydajiev

    vRO 7.2.0 Problem with Authentication Provider

    Susie1703 Novice

      Hi all,

       

      yesterday I changed the Authentication Provider in my vRO 7.2.

       

      Authentication Mode: vRealize Automation

      Host address: my_vRA_Appliance.my.domain

      Default Tenat : My_Default_Tenant

      Admin group: my.domain\vRAAdmins

       

      I saved everything but when testing the Login I aways get following Error:

       

      <!DOCTYPE html><html><head><title>Error report</title></head><body><h1>HTTP Status 500 - Request processing failed; nested exception is javax.ws.rs.BadRequestException: HTTP 400 Bad Request</h1></body></html>


      And I cannot login to my Orchestrator client anymore... I already Googled alot but didn't find anything.


      Hopefully someone can help me with that problem!


      Thanks in advance

      Susie

        • 1. Re: vRO 7.2.0 Problem with Authentication Provider
          iiliev Champion
          VMware EmployeesCommunity Warriors

          Hi Susie,

           

          By 'testing the login', do you mean testing your user name/credentials in Control Center authentication page > Test Login tab? Or trying to login in vRO workflow designer?

           

          The usual recommendation to start the troubleshooting is to check vRO log files for errors/exceptions. You can either export the log bundle from Control Center UI, or make a SSH connection to vRO appliance and check the log files under /var/log/vco/configuration/ (logs for Control Center) and /var/log/vco/app-server/ (logs for vRO server).

          • 2. Re: vRO 7.2.0 Problem with Authentication Provider
            Susie1703 Novice

            Hi,

            I tested in the Control Center authentication page > Test Login Tab and it dien't work

             

            I exported the Logs and will try to find something in there... Thanks for the advice.

             

            Thats the full Error:

             

            2017-03-03 11:58:32.617+0000 [https-jsse-nio-8283-exec-7] ERROR [ConfigureAuthProvider] [079a560f-b424-4a6f-980b-18c8a2ee933a] Test login error: <!DOCTYPE html><html><head><title>Error report</title></head><body><h1>HTTP Status 500 - Request processing failed; nested exception is javax.ws.rs.BadRequestException: HTTP 400 Bad Request</h1></body></html>
            org.springframework.security.authentication.AuthenticationServiceException: <!DOCTYPE html><html><head><title>Error report</title></head><body><h1>HTTP Status 500 - Request processing failed; nested exception is javax.ws.rs.BadRequestException: HTTP 400 Bad Request</h1></body></html>
                at com.vmware.vcac.authentication.oauth.support.OAuthAccessTokenRetriever.contactHorizonAuthenticationEndpoint(OAuthAccessTokenRetriever.java:258)
                at com.vmware.vcac.authentication.oauth.support.OAuthAccessTokenRetriever.getAccessToken(OAuthAccessTokenRetriever.java:157)
                at com.vmware.vcac.authentication.oauth.support.OAuthAccessTokenRetriever.getAccessTokenByUserNameAndPassword(OAuthAccessTokenRetriever.java:132)
                at com.vmware.o11n.configuration.authentication.services.OAuthAuthenticationServiceAdapter.test(OAuthAuthenticationServiceAdapter.java:187)
                at com.vmware.o11n.configuration.authentication.services.SsoAuthenticationService.test(SsoAuthenticationService.java:290)
                at com.vmware.o11n.configuration.authentication.services.CafeAuthenticationService.test(CafeAuthenticationService.java:250)
                at com.vmware.o11n.configuration.authentication.ConfigureAuthProvider.test(ConfigureAuthProvider.java:449)
                at com.vmware.o11n.controlcenter.authentication.AuthenticationController.testWizzard(AuthenticationController.java:207)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.lang.reflect.Method.invoke(Method.java:498)
                at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
                at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
                at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:114)
                at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
                at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
                at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
                at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963)
                at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
                at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
                at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
                at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
                at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
                at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
                at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:177)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
                at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
                at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
                at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
                at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
                at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
                at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
                at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
                at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
                at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
                at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
                at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
                at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
                at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:677)
                at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
                at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:240)
                at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
                at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
                at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)
                at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
                at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)
                at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)
                at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
                at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
                at java.lang.Thread.run(Thread.java:745)
            Caused by: org.springframework.web.client.HttpServerErrorException: 500 
                at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:94)
                at com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleRestError(ResponseErrorHandler.java:91)
                at com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError(ResponseErrorHandler.java:59)
                at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:667)
                at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:620)
                at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:580)
                at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:380)
                at com.vmware.vcac.platform.rest.client.impl.RestClientImpl.post(RestClientImpl.java:400)
                at com.vmware.vcac.authentication.oauth.support.OAuthAccessTokenRetriever$1.doWithRestClient(OAuthAccessTokenRetriever.java:188)
                at com.vmware.vcac.authentication.oauth.support.OAuthAccessTokenRetriever$1.doWithRestClient(OAuthAccessTokenRetriever.java:158)
                at com.vmware.vcac.authentication.oauth.support.OAuthAccessTokenRetriever.contactHorizonAuthenticationEndpoint(OAuthAccessTokenRetriever.java:248)
                ... 80 more
            
            
            • 3. Re: vRO 7.2.0 Problem with Authentication Provider
              igaydajiev Expert
              VMware Employees

              If I remember correctly after changing default tenant configuration it is required to unregister and register again vRO in vRA.