Unable to reach Elastic Search from the Logs Data Plateform
... / Unable to reach Elastic S...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
question

Unable to reach Elastic Search from the Logs Data Plateform

Par
DamienF12
Créé le 2021-11-25 16:33:29 (edited on 2024-09-04 12:01:53) dans Erreur connexion SSL

Hello,

Yesterday I have done some Curl requests to the "https://gra1.logs.ovh.com:9200/ldp-logs/message" endpoint and everything went well.

Today, I launch the exact same request and it fails with the below response :
{
"error": {
"root_cause": [
{
"type": "auth_exception",
"reason": "Couldn't authenticate user logs-nb-xxxxx against any of the backends."
}
],
"type": "auth_exception",
"reason": "Couldn't authenticate user logs-nb-xxxx against any of the backends.",
"caused_by": {
"type": "multi_auth_exception",
"reason": null
}
},
"status": 403
}

The problem seems very similar to this one : https://community.ovhcloud.com/community/fr/elasticsearch-down?id=community_question&sys_id=bda171cc81528210f0780f07683eb2ea

The GrayLog plateform is still up and available, but the Elastic Search API button (https://gra1.logs.ovh.com:9200/_cluster/health?pretty=true) returns to me the same error response.

Is there something Down?

My Curl Request :
`curl -H 'Content-Type: application/json' -u 'logs-nb-xxxx:abcdef12345' -XPOST https://gra1.logs.ovh.com:9200/ldp-logs/message -d '{ "X-OVH-TOKEN" : "xxxxxx-xxxxx-xxxx-xxxx-xxxxxxx" , "test_field" : "Hello" , "short_message" : "Hello World", "host" : "OVHcloud_doc" }'`

Thanks