java.lang.RuntimeException: ElasticsearchException[Security configuration cannot be loaded for unknown reasons]

GitHub | vkhazin | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 21#245734056

    GitHub | 5 months ago | vkhazin
    java.lang.RuntimeException: ElasticsearchException[Security configuration cannot be loaded for unknown reasons]

    Root Cause Analysis

    1. java.lang.RuntimeException

      ElasticsearchException[Security configuration cannot be loaded for unknown reasons]

      at com.petalmd.armor.filter.ArmorActionFilter.apply()
    2. com.petalmd.armor
      ArmorActionFilter.apply
      1. com.petalmd.armor.filter.ArmorActionFilter.apply(ArmorActionFilter.java:98)
      1 frame
    3. ElasticSearch
      TransportAction$RequestFilterChain.proceed
      1. org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:170)
      1 frame
    4. com.petalmd.armor
      AbstractActionFilter.apply
      1. com.petalmd.armor.filter.FLSActionFilter.applySecure(FLSActionFilter.java:96)
      2. com.petalmd.armor.filter.AbstractActionFilter.apply(AbstractActionFilter.java:118)
      2 frames
    5. ElasticSearch
      TransportAction$RequestFilterChain.proceed
      1. org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:170)
      1 frame
    6. com.petalmd.armor
      AbstractActionFilter.apply
      1. com.petalmd.armor.filter.DLSActionFilter.applySecure(DLSActionFilter.java:95)
      2. com.petalmd.armor.filter.AbstractActionFilter.apply(AbstractActionFilter.java:118)
      2 frames
    7. ElasticSearch
      TransportAction$RequestFilterChain.proceed
      1. org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:170)
      1 frame
    8. com.petalmd.armor
      AbstractActionFilter.apply
      1. com.petalmd.armor.filter.RequestActionFilter.applySecure(RequestActionFilter.java:72)
      2. com.petalmd.armor.filter.AbstractActionFilter.apply(AbstractActionFilter.java:118)
      2 frames
    9. ElasticSearch
      RestController$ControllerFilterChain.continueProcessing
      1. org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:170)
      2. org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:144)
      3. org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:85)
      4. org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:58)
      5. org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)
      6. org.elasticsearch.client.FilterClient.doExecute(FilterClient.java:52)
      7. org.elasticsearch.rest.BaseRestHandler$HeadersAndContextCopyClient.doExecute(BaseRestHandler.java:83)
      8. org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:359)
      9. org.elasticsearch.client.support.AbstractClient.search(AbstractClient.java:582)
      10. org.elasticsearch.rest.action.search.RestSearchAction.handleRequest(RestSearchAction.java:85)
      11. org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:54)
      12. org.elasticsearch.rest.RestController.executeHandler(RestController.java:205)
      13. org.elasticsearch.rest.RestController$RestHandlerFilter.process(RestController.java:279)
      14. org.elasticsearch.rest.RestController$ControllerFilterChain.continueProcessing(RestController.java:260)
      14 frames
    10. com.petalmd.armor
      AbstractACRestFilter.process
      1. com.petalmd.armor.rest.RestActionFilter.processSecure(RestActionFilter.java:58)
      2. com.petalmd.armor.rest.AbstractACRestFilter.process(AbstractACRestFilter.java:138)
      2 frames
    11. ElasticSearch
      RestController$ControllerFilterChain.continueProcessing
      1. org.elasticsearch.rest.RestController$ControllerFilterChain.continueProcessing(RestController.java:263)
      1 frame
    12. com.petalmd.armor
      AbstractACRestFilter.process
      1. com.petalmd.armor.rest.DefaultRestFilter.processSecure(DefaultRestFilter.java:38)
      2. com.petalmd.armor.rest.AbstractACRestFilter.process(AbstractACRestFilter.java:199)
      2 frames
    13. ElasticSearch
      HttpRequestHandler.messageReceived
      1. org.elasticsearch.rest.RestController$ControllerFilterChain.continueProcessing(RestController.java:263)
      2. org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:176)
      3. org.elasticsearch.http.HttpServer.internalDispatchRequest(HttpServer.java:128)
      4. org.elasticsearch.http.HttpServer$Dispatcher.dispatchRequest(HttpServer.java:86)
      5. org.elasticsearch.http.netty.NettyHttpServerTransport.dispatchRequest(NettyHttpServerTransport.java:449)
      6. org.elasticsearch.http.netty.HttpRequestHandler.messageReceived(HttpRequestHandler.java:61)
      6 frames
    14. Netty
      DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream
      1. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
      2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
      3 frames
    15. ElasticSearch
      HttpPipeliningHandler.messageReceived
      1. org.elasticsearch.http.netty.pipelining.HttpPipeliningHandler.messageReceived(HttpPipeliningHandler.java:60)
      1 frame
    16. Netty
      DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream
      1. org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:88)
      2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      3. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
      4. org.jboss.netty.handler.codec.http.HttpChunkAggregator.messageReceived(HttpChunkAggregator.java:145)
      5. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
      6. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      7. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
      8. org.jboss.netty.handler.codec.http.HttpContentDecoder.messageReceived(HttpContentDecoder.java:108)
      9. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
      10. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      11. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
      12. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296)
      13. org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:459)
      14. org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:536)
      15. org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:435)
      16. org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70)
      17. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      18. org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791)
      18 frames
    17. ElasticSearch
      OpenChannelsHandler.handleUpstream
      1. org.elasticsearch.common.netty.OpenChannelsHandler.handleUpstream(OpenChannelsHandler.java:75)
      1 frame
    18. Netty
      DeadLockProofWorker$1.run
      1. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564)
      2. org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:559)
      3. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:268)
      4. org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:255)
      5. org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:88)
      6. org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
      7. org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
      8. org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
      9. org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)
      10. org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
      11. org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
      11 frames
    19. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames