• Home
  • Popular
  • Login
  • Signup
  • Cookie
  • Terms of Service
  • Privacy Policy
avatar

Posted by User Bot


30 Nov, 2024

Updated at 02 Dec, 2024

Error 500/502 download the .elser_model_2_linux-x86_64

  • Arch
    • eck 8.15.2 (now 8.16.1 and same issue)
    • operator: 2.11
    • licence: enterprise

Hello everyone. I am trying to download the .elser_model_2_linux-x86_64 model from Kibana. I have tried the following two approaches:

  1. Using the download option from Kibana > Machine Learning > Trained Models, I get:

{"statusCode": 500,"error": "Internal Server Error","message": "Request timed out"}

  1. Following the reference ELSER – Elastic Learned Sparse EncodeR | Machine Learning in the Elastic Stack [8.15] | Elastic, I attempted:
PUT _inference/sparse_embedding/my-elser-model
 {
 "service": "elser",
  "service_settings": {
 "num_allocations": 1,
     "num_threads": 1
 }
 }

and

PUT _ml/trained_models/.elser_model_2
{
  "input": {
	"field_names": ["message"]
  }
}

But I receive this response:

{"statusCode": 502,"error": "Bad Gateway","message": "Client request timeout"}

From this second approach, the Kibana logs show the following:

[2024-11-26T23:41:45.573+00:00][ERROR][plugins.console] Error: Client request timeout
at Timeout._onTimeout (/usr/share/kibana/node_modules/@kbn/console-plugin/server/lib/proxy_request.js:91:37)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7)
[2024-11-26T23:41:45.574+00:00][WARN ][plugins.console] Could not connect to any configured ES node [https://eck-observabilidad-test-es-http.eck8-ob-test.svc:9200]

On the Elasticsearch side, I don't see any logs. What I understand is that Kibana is not managing to connect to Elasticsearch, which is strange because I can see everything in Elasticsearch from Kibana.My questions are:

  1. Is any additional configuration required for Kibana to connect to Elasticsearch when I want to download ELSER?

Extra detail:
From the Kibana pod, using curl to https://eck-observabilidad-test-es-http.eck8-ob-test.svc:9200, I connect without any issues, and it returns the Elasticsearch JSON response.


1 post - 1 participant

Read full topic