Uploaded image for project: 'Acumos'
  1. Acumos
  2. ACUMOS-3803

Federation is not working in Tech Mahindra Acumos instance

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Federation is not working in Tech Mahindra Acumos instance.

      As per the below federation document link

      https://docs.acumos.org/en/latest/submodules/federation/docs/config.html#configuration-properties

      we have performed below steps to configure federation gateway.

       Added entries in openssl.cnf file for .crt, .key and ip address in [alt_names] section.

      We executed commands to generate certificates mentioned in attached file (certificate_create_steps_and_logs.txt). 

      Below are the portal-be log:

       2019-11-19T09:53:31.309Z        http-nio-8083-exec-5    ERROR   org.acumos.portal.be.controller.GatewayController               User=admin, X-ACUMOS-Request-Id=bfc83b90-3ece-434c-b478-1eebd55f4f55, ClientIPAddress=172.21.0.1, ServerFQDN=10.150.0.9      Failed to get Connection        org.springframework.web.client.HttpServerErrorException$InternalServerError: 500

              at org.springframework.web.client.HttpServerErrorException.create(HttpServerErrorException.java:79)

              at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:124)

              at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:102)

              at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)

              at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:777)

              at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)

              at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:669)

              at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:607)

              at org.acumos.federation.client.ClientBase.handle(ClientBase.java:285)

              at org.acumos.federation.client.ClientBase.handleResponse(ClientBase.java:297)

              at org.acumos.federation.client.ClientBase.handleResponse(ClientBase.java:309)

              at org.acumos.federation.client.GatewayClient.ping(GatewayClient.java:95)

              at org.acumos.portal.be.controller.GatewayController.pingGateway(GatewayController.java:96)

              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.base/java.lang.reflect.Method.invoke(Unknown Source)

                              

      Below are the federation gateway log error:

       2019-11-19T09:46:37.003Z        background-preinit      WARN    org.springframework.http.converter.json.Jackson2ObjectMapperBuilder                     For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath

      2019-11-19T09:46:40.382Z        main    WARN    org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration                       Cannot find template location: classpath:/templates/ (please add some templates, check your Mustache configuration, or set spring.mustache.check-template-location=false)

      2019-11-19T09:46:43.363Z        main    WARN    org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration                       Cannot find template location: classpath:/templates/ (please add some templates, check your Mustache configuration, or set spring.mustache.check-template-location=false)

      2019-11-19T09:46:44.302Z        main    WARN    org.apache.tomcat.util.net.SSLUtilBase                  The JSSE TLS 1.3 implementation does not support authentication after the initial handshake and is therefore incompatible with optional client authentication

      2019-11-19T09:46:45.829Z        main    WARN    org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration                       Cannot find template location: classpath:/templates/ (please add some templates, check your Mustache configuration, or set spring.mustache.check-template-location=false)

      2019-11-19T09:46:45.967Z        main    WARN    org.apache.tomcat.util.net.SSLUtilBase                  The JSSE TLS 1.3 implementation does not support authentication after the initial handshake and is therefore incompatible with optional client authentication

      2019-11-19T09:53:31.293Z        https-jsse-nio-0.0.0.0-9011-exec-8      ERROR   org.apache.catalina.core.ContainerBase.[Tomcat-1].[localhost].[/].[dispatcherServlet]                        Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.client.HttpClientErrorException$NotFound: 404 ] with root cause    org.springframework.web.client.HttpClientErrorException$NotFound: 404

              at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:85)

              at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122)

              at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:102)

              at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)

              at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:778)

              at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:736)

              at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:670)

              at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:608)

              at org.acumos.federation.client.ClientBase.handle(ClientBase.java:285)

              at org.acumos.federation.client.ClientBase.handleResponse(ClientBase.java:297)

              at org.acumos.federation.client.ClientBase.handleResponse(ClientBase.java:309)

              at org.acumos.federation.client.FederationClient.ping(FederationClient.java:161)

              at org.acumos.federation.gateway.GatewayController$$Lambda$576.00000000681AFE10.apply(Unknown Source)

              at org.acumos.federation.gateway.GatewayController.callPeer(GatewayController.java:164)

              at org.acumos.federation.gateway.GatewayController.ping(GatewayController.java:123)

              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

             at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

              at java.base/java.lang.reflect.Method.invoke(Unknown Source)

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            AMOL55952 Amol Sarode
            Reporter:
            neerajb Neeraj Bhatnagar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: