11:07:17.097 [Thread-4] INFO nia.activedata.repository.ActiveDataRepository - listener timeout after waiting for [30000] ms


(Nirmala) #1

11:07:17.097 [Thread-4] INFO nia.activedata.repository.ActiveDataRepository - listener timeout after waiting for [30000] ms
Get this problem even when i try to read data from elasicsearch


(David Pilato) #2

This trace is not coming from elasticsearch right?
May be explain exactly what you are doing and how?


(Nirmala) #3

i thought this is coming from elatic search. This is in java client, let me paste you the code
public SearchResponse executeRequest(SearchRequest searchRequest) {

SearchResponse response = null ;

try {

response = restHighLevelClient.search(searchRequest);

} catch (Exception ee) {

logger .info(ee.getMessage());

}

ee.getMessage give this message. I am thining this is comng from rest client


(David Pilato) #4

This message comes from your java application which prints an elasticsearch message.

So we now know a little more. You are writing a java application using the rest client.

Do you think you can share more meaningful information?

Like elasticsearch version? How you create the client? Elasticsearch server full logs...?
There's barely no way to help if you just paste a message like listener timeout after waiting for [30000] ms.

Also please format your code, logs or configuration files using </> icon as explained in this guide and not the citation button. It will make your post more readable.

Or use markdown style like:

```
CODE
```

This is the icon to use if you are not using markdown format:

There's a live preview panel for exactly this reasons.

Lots of people read these forums, and many of them will simply skip over a post that is difficult to read, because it's just too large an investment of their time to try and follow a wall of badly formatted text.
If your goal is to get an answer to your questions, it's in your interest to make it as easy to read and understand as possible.
Please update your post.


(Nirmala) #5
indent preformatted text by 4 spaces

elastic version 6.1.4. High level rest client is what we are using right now. Rest java client is created by using below lines
restHighLevelClient = new RestHighLevelClient(
RestClient.builder(
new HttpHost(EsHost, 9200, "http")));

do u see any isssues with this


(David Pilato) #6

No. I don't.


(system) closed #7

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.