Open edX Tutor + Meilisearch: /multi-search returns 400 Bad Request with valid JWT and existing indexes

Hi everyone.
I have an issue with the Meilisearch API integration.

Currently, the Meilisearch service is running internally without SSL:

curl -X POST http://meilisearch:7700/multi-search

but it is also exposed externally via the following URL:

https://meilisearch.open.kaznu.kz

How this affects the platform: when I enter the CMS page

https://openedx/authoring/library/

I get an error (shown in the screenshot).

I already tried to align the MEILISEARCH_API_KEY value in config.yml with the API keys configured inside the Meilisearch container, but the issue persists.

My question: could this problem be caused by the absence or misconfiguration of an SSL certificate for Meilisearch?

I cloned the same project locally, and in the local environment everything works correctly.

some windows in the cms are not working properly. The ability to add a bank of questions has disappeared. There is an error with meil instead.

Welcome @Erarys !

@braden or @dave any advice on this meilisearch question?

@Erarys

could this problem be caused by the absence or misconfiguration of an SSL certificate for Meilisearch?

I don’t think so - your Meilisearch instance at https://meilisearch.open.kaznu.kz appears to be working fine.

Is it possible that you just need to (re-)create the Meilisearch indexes? You could see 400 errors if the indexes do not exist. If so, you just need to run tutor [local|dev|k8s] exec cms ./manage.py cms reindex_studio --experimental . For more details, see "Library Components Created Successfully but Not Displayed After Sandbox Upgrade from Sumac to Teak — Possible Meilisearch 400 Errors?" - #2 by braden