org.elasticsearch.rest.action.readonlyrest.acl.RuleConfigurationError: insufficient or invalid configuration for rule: 'full access if Basic HTTP auth'

GitHub | ngenain | 10 months ago
  1. 0

    Issue with Http Rest only on es 1.7.4

    GitHub | 10 months ago | ngenain
    org.elasticsearch.rest.action.readonlyrest.acl.RuleConfigurationError: insufficient or invalid configuration for rule: 'full access if Basic HTTP auth'

    Root Cause Analysis

    1. org.elasticsearch.rest.action.readonlyrest.acl.RuleConfigurationError

      insufficient or invalid configuration for rule: 'full access if Basic HTTP auth'

      at org.elasticsearch.rest.action.readonlyrest.acl.Rule.build()
    2. org.elasticsearch.rest
      ReadonlyRestAction.<init>
      1. org.elasticsearch.rest.action.readonlyrest.acl.Rule.build(Rule.java:90)
      2. org.elasticsearch.rest.action.readonlyrest.acl.ACL.readRules(ACL.java:31)
      3. org.elasticsearch.rest.action.readonlyrest.acl.ACL.<init>(ACL.java:20)
      4. org.elasticsearch.rest.action.readonlyrest.ReadonlyRestAction.<init>(ReadonlyRestAction.java:49)
      4 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      4 frames
    4. ElasticSearch
      Elasticsearch.main
      1. org.elasticsearch.common.inject.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:54)
      2. org.elasticsearch.common.inject.ConstructorInjector.construct(ConstructorInjector.java:86)
      3. org.elasticsearch.common.inject.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:98)
      4. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:45)
      5. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:837)
      6. org.elasticsearch.common.inject.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:42)
      7. org.elasticsearch.common.inject.Scopes$1$1.get(Scopes.java:57)
      8. org.elasticsearch.common.inject.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:45)
      9. org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:200)
      10. org.elasticsearch.common.inject.InjectorBuilder$1.call(InjectorBuilder.java:193)
      11. org.elasticsearch.common.inject.InjectorImpl.callInContext(InjectorImpl.java:830)
      12. org.elasticsearch.common.inject.InjectorBuilder.loadEagerSingletons(InjectorBuilder.java:193)
      13. org.elasticsearch.common.inject.InjectorBuilder.injectDynamically(InjectorBuilder.java:175)
      14. org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:110)
      15. org.elasticsearch.common.inject.Guice.createInjector(Guice.java:93)
      16. org.elasticsearch.common.inject.Guice.createInjector(Guice.java:70)
      17. org.elasticsearch.common.inject.ModulesBuilder.createInjector(ModulesBuilder.java:59)
      18. org.elasticsearch.node.internal.InternalNode.<init>(InternalNode.java:210)
      19. org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:159)
      20. org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:77)
      21. org.elasticsearch.bootstrap.Bootstrap.main(Bootstrap.java:245)
      22. org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:32)
      22 frames