# X-Pack extension Custom Realm Error

**URL:** https://discuss.elastic.co/t/x-pack-extension-custom-realm-error/122047
**Category:** Elasticsearch
**Created:** [March 1, 2018, 11:40am UTC](https://discuss.elastic.co/t/x-pack-extension-custom-realm-error/122047 "2018-03-01T11:40:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![PinkiMondal](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@PinkiMondal](https://discuss.elastic.co/u/PinkiMondal)
#### Post date: [March 1, 2018, 11:40am UTC](https://discuss.elastic.co/t/x-pack-extension-custom-realm-error/122047/1 "2018-03-01T11:40:33Z")

</div>

Hi All

I am getting below exception:

D: /..elasticsearch-5.5.1\bin\x-pack\>extension install file:///D:/.../spring-security-x-pack-realm.zip  
-\> Downloading file:///D:/.../spring-security-x-pack-realm.zip  
Exception in thread "main" java.nio.file.NoSuchFileException: D:...\elasticsearch-5.5.1\plugins\x-pack\extensions.installing-5210527504536241974\x-pack-extension-descriptor.properties  
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79)  
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)  
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)  
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230)  
at java.nio.file.Files.newByteChannel(Files.java:361)  
at java.nio.file.Files.newByteChannel(Files.java:407)  
at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384)  
at java.nio.file.Files.newInputStream(Files.java:152)  
at org.elasticsearch.xpack.extensions.XPackExtensionInfo.readFromProperties(XPackExtensionInfo.java:59)  
at org.elasticsearch.xpack.extensions.InstallXPackExtensionCommand.verify(InstallXPackExtensionCommand.java:163)  
at org.elasticsearch.xpack.extensions.InstallXPackExtensionCommand.install(InstallXPackExtensionCommand.java:204)  
at org.elasticsearch.xpack.extensions.InstallXPackExtensionCommand.execute(InstallXPackExtensionCommand.java:114)  
at org.elasticsearch.xpack.extensions.InstallXPackExtensionCommand.execute(InstallXPackExtensionCommand.java:101)  
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:67)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:69)  
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:122)  
at org.elasticsearch.cli.Command.main(Command.java:88)  
at org.elasticsearch.xpack.extensions.XPackExtensionCli.main(XPackExtensionCli.java:36)

---

<div class="post-metadata">

### Author: ![LeeDr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leedr/32/9289_2.png) [@LeeDr](https://discuss.elastic.co/u/LeeDr)
#### Post date: [March 9, 2018, 1:29pm UTC](https://discuss.elastic.co/t/x-pack-extension-custom-realm-error/122047/2 "2018-03-09T13:29:53Z")

</div>

Are you using this? [https://github.com/skmonga/X-Pack-spring-security-realm](https://github.com/skmonga/X-Pack-spring-security-realm)

You might have to ask the author of that plugin for help.

---

<div class="post-metadata">

### Author: ![PinkiMondal](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@PinkiMondal](https://discuss.elastic.co/u/PinkiMondal)
#### Post date: [March 12, 2018, 9:22am UTC](https://discuss.elastic.co/t/x-pack-extension-custom-realm-error/122047/4 "2018-03-12T09:22:29Z")

</div>

Okay I will ask. Thanks

---

<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: [April 9, 2018, 9:22am UTC](https://discuss.elastic.co/t/x-pack-extension-custom-realm-error/122047/5 "2018-04-09T09:22:47Z")

</div>

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