# App Search : Engines gives an internal server error...Please contact your system administrator if the problem persists

**URL:** <https://discuss.elastic.co/t/app-search-engines-gives-an-internal-server-error-please-contact-your-system-administrator-if-the-problem-persists/295521>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [January 26, 2022, 11:38pm UTC](https://discuss.elastic.co/t/app-search-engines-gives-an-internal-server-error-please-contact-your-system-administrator-if-the-problem-persists/295521 "2022-01-26T23:38:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mirellaj](https://avatars.discourse-cdn.com/v4/letter/m/e9bcb4/32.png) [@mirellaj](https://discuss.elastic.co/u/mirellaj)\
**Post date:** [January 26, 2022, 11:38pm UTC](https://discuss.elastic.co/t/app-search-engines-gives-an-internal-server-error-please-contact-your-system-administrator-if-the-problem-persists/295521/1 "2022-01-26T23:38:10Z")

</div>

I have installed locally Elasticsearch/Kibana/EnterpriseSearch (7.16). If I log in as enterprise\_search user, the only thing available in the main menu is Management Menu. ( Kibana and Advance Settings). If I log in as elastic user, the Enterprise Search Menu is available, but once I choose App Search, the Engine overview page show an error : "Enterprise Search encountered an internal server error. Please contact your system administrator if the problem persists." The console of the web browser says: "Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self" . Either the unsafe-inline keyword, a hash, or a nonce is required to enable inline execution.  
Any idea where to look for the Content Security Policy?

Problem solved!: make sure the JDK is 8 or 11. Mine was JDK17, and once I replaced it with JDK 11 , everything was working fine.

---

<div class="post-metadata">

**Author:** ![Sean\_Story](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sean_story/32/69987_2.png) [@Sean\_Story](https://discuss.elastic.co/u/Sean_Story)\
**Post date:** [February 1, 2022, 9:29pm UTC](https://discuss.elastic.co/t/app-search-engines-gives-an-internal-server-error-please-contact-your-system-administrator-if-the-problem-persists/295521/2 "2022-02-01T21:29:23Z")

</div>

Glad to hear that you got this working! I've raised this with the team. You may have seen on start up a message in the logs like:

> WARNING: Elastic Enterprise Search does not officially support Java versions higher than 11

We'll visit if this should be an error instead, or should have increased visibility.

Thanks for reporting!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 1, 2022, 9:29pm UTC](https://discuss.elastic.co/t/app-search-engines-gives-an-internal-server-error-please-contact-your-system-administrator-if-the-problem-persists/295521/3 "2022-03-01T21:29:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
