I have configured the discovery service and it works properly I think.
As a piece of evidence, I can call the /api/v1/course_runs/ API and get appropriate results:
but I can’t get results from Elasticsearch. and when I call the above API with q query string: https://discovery.example.com/api/v1/course_runs/?limit=100&q=org%3A(-HarvardX) I get nothing as result:
@mahyard, I don’t know the answer for the first part, but we’ve also noticed this second bug in Koa. In Course Discovery Django admin -> Core -> Partners, we’ve had an entry with the Name Open edX, Short Code edX, and Site set to the proper one. We had to add the following data there:
LMS URL,
Courses API URL.
After this change, the update_index management command has started importing course runs normally.
from the admin page, you mentioned above I can confirm that the values have been properly set.
Do you see any wrong value here? or any other idea?
again I appreciate your effort