# EntitlementBootstrap failure preventing startup: AttachNotSupportedException: Unable to open socket file

**URL:** <https://discuss.elastic.co/t/entitlementbootstrap-failure-preventing-startup-attachnotsupportedexception-unable-to-open-socket-file/382452>\
**Category:** Elasticsearch\
**Created:** [October 6, 2025, 4:40pm UTC](https://discuss.elastic.co/t/entitlementbootstrap-failure-preventing-startup-attachnotsupportedexception-unable-to-open-socket-file/382452 "2025-10-06T16:40:33Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![buitcj](https://avatars.discourse-cdn.com/v4/letter/b/a587f6/32.png) [@buitcj](https://discuss.elastic.co/u/buitcj)\
**Post date:** [October 10, 2025, 6:09pm UTC](https://discuss.elastic.co/t/entitlementbootstrap-failure-preventing-startup-attachnotsupportedexception-unable-to-open-socket-file/382452/20 "2025-10-10T18:09:27Z")

</div>

Update: I tried both java 21 and java 23 and we are still getting the entitlement error, so I think we can ignore this question/concern.

I forgot all about this post I created earlier where I noticed that the elasticsearch-entitlement jar does not have a version 17 (nor does it have a 24, fwiw. This may be relevant since I’ve only tried against java 17 and the pre-packaged java 24): [8.18 entitlement-search jar compatible with jre 17?](https://discuss.elastic.co/t/8-18-entitlement-search-jar-compatible-with-jre-17/379373)

```auto
$ pwd
<...>/elasticsearch-8.19.4/lib/elasticsearch-entitlement-8.19.4/META-INF/versions
$ ls
19 20 21 22 23

```

This is just interesting at the moment, though it would be nice to get a response on that thread

---

_[View the full topic](https://discuss.elastic.co/t/entitlementbootstrap-failure-preventing-startup-attachnotsupportedexception-unable-to-open-socket-file/382452)._
