Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unbale to use the internal search engine #4487

Open
1 task done
mdc-webdb opened this issue Feb 24, 2025 · 0 comments
Open
1 task done

Unbale to use the internal search engine #4487

mdc-webdb opened this issue Feb 24, 2025 · 0 comments
Assignees
Labels

Comments

@mdc-webdb
Copy link

mdc-webdb commented Feb 24, 2025

This issue is unique

  • I have used the search tool and did not find an issue describing my bug.

Version information

6..0.0

Expected behavior

When updating to 6.0.0, study results are no longer displayed. The number is displayed, but then the list remains empty. The log shows that the built-in ES engine appears to have stopped responding.

2025-02-24 06:45:55,260 ERROR org.obiba.mica.search.AbstractDocumentService - Query execution error [Cannot invoke "co.elastic.clients.elasticsearch.core.SearchResponse.hits()" because "this.response" is null]
2025-02-24 06:46:21,497 WARN org.obiba.es.mica.ESSearchEngineService - Attempt 7/10 failed: Connection refused
2025-02-24 06:46:21,498 INFO org.obiba.es.mica.ESSearchEngineService - Retrying in 64000ms...
2025-02-24 06:47:25,503 WARN org.obiba.es.mica.ESSearchEngineService - Attempt 8/10 failed: Connection refused
2025-02-24 06:47:25,503 INFO org.obiba.es.mica.ESSearchEngineService - Retrying in 128000ms...
2025-02-24 06:49:33,509 WARN org.obiba.es.mica.ESSearchEngineService - Attempt 9/10 failed: Connection refused
2025-02-24 06:49:33,510 INFO org.obiba.es.mica.ESSearchEngineService - Retrying in 256000ms...
2025-02-24 06:53:49,517 ERROR org.obiba.es.mica.ESSearchEngineService - Failed to connect to Elasticsearch after 10 attempts.
2025-02-24 06:57:47,227 WARN org.obiba.shiro.web.filter.AuthenticationFilter - Previous executing subject was not properly unbound from executing thread. Unbinding now.
2025-02-24 06:57:47,353 ERROR org.obiba.mica.spi.search.Searcher - Failed to count network-published - {}
java.net.ConnectException: Connection refused
at org.elasticsearch.client.RestClient.extractAndWrapCause(RestClient.java:934)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:304)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:307)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:292)
at co.elastic.clients.transport.rest_client.RestClientHttpClient.performRequest(RestClientHttpClient.java:92)
at co.elastic.clients.transport.ElasticsearchTransportBase.performRequest(ElasticsearchTransportBase.java:145)

Actual behavior

The study details are no longer displayed.

Reproduction steps

  1. Start mica
  2. click on "Individual Studies"
  3. the result is empty

Operating System (OS)

RHEL-8

Browser

Firefox

Contact info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants