When using Elasticsearch App Search we need to create index-based engines, but when we go to search for the index on GUI we encounter a 502 error. It seems to be because of the Index-searching box as it comes up with 0 results; whereas in our Prod environment this process works fine.
Some other notes:
Using the API to create index-based engines works
This problem persisted from our upgrade from ES 8.7.0 -> 8.18.1.
my running theory is we have some corrupted index?
This problem persisted from our upgrade from ES 8.7.0 -> 8.13.1.
Are you saying this problem occurred on 8.7 as well, and then you upgraded to 8.13.1, and it's still occurring?
Also - are your Elasticsearch instances running the same version as your Kibana instances and your Enterprise Search instances as well? (i.e. did you upgrade everything from 8.7 to 8.13.1, or only Elasticsearch?)
I have a feeling there might be a version mismatch somewhere, as the callout banner in your screenshot was not added until 8.16.
Yes, the problem occurred on 8.7 before we upgraded and is still occurring on 8.18.1 after we upgrade (as you can tell by the banner in the screenshot)
We did the upgrade through the upgrade-assistant/elastic cloud so I believe everything is the same version:
@ndesanto - thanks for the additional context - I did not realize that you were on an Elastic Cloud hosted environment... if you used the upgrade dialogues through that, then you should be on the same versions for all components...
If that fails, you can add in [the X-Enterprise-Search-Debug header] (Troubleshooting | App Search documentation [8.18] | Elastic) to get additional information about the query that App Search is sending to Elasticsearch which might help pinpoint the cause.
Since this appears to be a gateway error (502) - it might be a good case for opening a support case as well as we'd be able to then see your cluster's infrastructure and help diagnose this.
@ndesanto - Thanks for the additional note and correction on the versioning...
I would think that perhaps the next place to look would be in the Kibana logs for your cluster - that would most likely have a message regarding the 502 error, as well as more potential debugging information and messaging.
If this does not yield any good information, since you are on the Elastic Hosted Cloud - it might help to also open a support case so that our engineers would be able to help view your logs as well.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.