I have geonetwork on debian server (With Jetty). On the geonetwork home/main page, message saying "No search service available currently!". On the dashborad, it seems to have 3  non critical system errors. One regarding dashboard application. Another regards index is in readonly mode. Another regards metadata index errors. And one remote index critical system error. When i click on the remote index, there is the following message :

   

     Connection refused 
    
        java.net.ConnectException: Connexion refusée
        	at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:881)
        	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:283)
        	at org.elasticsearch.client.RestClient.performRequest(RestClient.java:270)
        	at org.elasticsearch.client.RestHighLevelClient.performClientRequest(RestHighLevelClient.java:2082)
        	at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1732)
        	at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1702)
        	at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1672)
        	at org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java:1128)
        	at org.fao.geonet.index.es.EsRestClient.query(EsRestClient.java:315)
        	at org.fao.geonet.index.es.EsRestClient.query(EsRestClient.java:271)
        	at org.fao.geonet.index.es.EsRestClient.query(EsRestClient.java:261)
        	at org.fao.geonet.kernel.search.EsSearchManager.query(EsSearchManager.java:751)
        	at org.fao.geonet.monitor.health.IndexHealthCheck$1.check(IndexHealthCheck.java:47)
        	at com.yammer.metrics.core.HealthCheck.execute(HealthCheck.java:165)
        	at com.yammer.metrics.core.HealthCheckRegistry.runHealthChecks(HealthCheckRegistry.java:53)
        	at org.fao.geonet.monitor.webapp.GeonetworkHealthCheckServlet.doGet(GeonetworkHealthCheckServlet.java:83)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
        	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        	at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1459)
        	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
        	at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1656)
        	at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:292)
        	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
        	at org.fao.geonet.web.CORSResponseFilter.doFilter(CORSResponseFilter.java:129)
        	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
        	at org.fao.geonet.monitor.webapp.WebappMetricsFilter.doFilter(WebappMetricsFilter.java:121)
        	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
        	at org.fao.geonet.monitor.webapp.MetricsRegistryInitializerFilter.doFilter(MetricsRegistryInitializerFilter.java:58)
        	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
        	at org.fao.geonet.web.XFrameOptionsFilter.doFilter(XFrameOptionsFilter.java:110)
        	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
        	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
        	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
        	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
        	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
        	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:337)
        	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
        	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:81)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:122)
        	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:116)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:126)
        	at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:81)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:109)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:223)
        	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:217)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:166)
        	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at jeeves.config.springutil.PassthroughFilter.doFilter(PassthroughFilter.java:50)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:103)
        	at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:89)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:117)
        	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:112)
        	at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:82)
        	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:346)
        	at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:221)
        	at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:186)
        	at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358)
        	at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271)
        	at jeeves.config.springutil.JeevesDelegatingFilterProxy.doFilter(JeevesDelegatingFilterProxy.java:74)
        	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
        	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
        	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
        	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
        	at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)
        	at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1626)
        	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:552)
        	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
        	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
        	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
        	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
        	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
        	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1440)
        	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
        	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:505)
        	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
        	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
        	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1355)
        	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        	at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)
        	at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
        	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
        	at org.eclipse.jetty.server.Server.handle(Server.java:516)
        	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:487)
        	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:732)
        	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:479)
        	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
        	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
        	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
        	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
        	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
        	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
        	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
        	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
        	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
        	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
        	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
        	at java.lang.Thread.run(Thread.java:748)
        Caused by: java.net.ConnectException: Connexion refusée
        	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        	at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
        	at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvent(DefaultConnectingIOReactor.java:174)
        	at org.apache.http.impl.nio.reactor.DefaultConnectingIOReactor.processEvents(DefaultConnectingIOReactor.java:148)
        	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:351)
        	at org.apache.http.impl.nio.conn.PoolingNHttpClientConnectionManager.execute(PoolingNHttpClientConnectionManager.java:221)
        	at org.apache.http.impl.nio.client.CloseableHttpAsyncClientBase$1.run(CloseableHttpAsyncClientBase.java:64)
        	... 1 more