Hi guys,
So I’m also having “Kibana server is down. Please make sure whether Kibana server is running or not” problem.
and I checked the APIGateway.log and have
DEBUG PoolingHttpClientConnectionManager - Connection request: [route: {}->http://:9405][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20]
DEBUG PoolingHttpClientConnectionManager - Connection leased: [id: x][route: {}->http://:9405][total kept alive: 0; route allocated: 1 of 2; total allocated: 1 of 20]
DEBUG MainClientExec - Opening connection {}->http://:9405
DEBUG DefaultHttpClientConnectionOperator - Connecting to /:9405
DEBUG PoolingHttpClientConnectionManager - Connection released: [id: 8][route: {}->http://:9405][total kept alive: 0; route allocated: 0 of 2; total allocated: 0 of 20]
ERROR KibanaProxy - Connect to :9405 [/] failed: Connection refused (Connection refused)
DEBUG wire - http-outgoing-1195 << “{“dashboardInstance”:“http://:9405”}”
And checked the <SAG_Install_Directory>/profiles/IS_default/apigateway/config/uiconfiguration.properties
and I can’t see the “apigw.dashboard.url = http://<valid_hostname>:9405” in the setting.
I read the documentation of SAG and it was also talking about the same setting in the uiconfiguration.properties. Haven’t been able to setup kibana yet, so settings are at default.
Descided to restart API Gateway to see if kibana will still be down. server.log seems fine.
Kibana is up after the restart.
Checked APIGateway.log again and found this error trace.
2019-02-08 07:22:10 ERROR KibanaProxy - Error while processing the request
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:356)
at org.apache.catalina.connector.OutputBuffer.flushByteBuffer(OutputBuffer.java:808)
at org.apache.catalina.connector.OutputBuffer.writeByte(OutputBuffer.java:428)
at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:80)
at com.softwareag.apigateway.ui.kibana.KibanaProxy.executeProxyRequest(KibanaProxy.java:194)
at com.softwareag.apigateway.ui.kibana.KibanaProxy.doPost(KibanaProxy.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
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)
API GW version is 10.1, IS_10.1_Core_Fix6.
#API-Gateway#webMethods#API-Management