Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wont able to integrate kiban 4.5.4 with armor Courier Fetch Error: unhandled courier request error: [unknown_host_exception] No trusted proxies #22

Open
Ravi--Parmar opened this issue Sep 28, 2016 · 3 comments

Comments

@Ravi--Parmar
Copy link

I have using simple setting based authentication. And confiured kibana user and password in kibana yml file. But kibana is not able to connect to elastic search when armor is used.Screen shot of my error and acl rule has beenis attachecd

"acl": [
{
"Comment": "By default no filters are executed and no filters a by-passed. In such a case an exception is thrown and access will be denied.",
"filters_bypass": [],
"filters_execute": []
},
{
"Comment": "For role admin all filters are bypassed (so none will be executed). This means unrestricted access.",
"roles": [
"admin"
],
"filters_bypass": [""],
"filters_execute": []
},
{
"Comment": "Internal kibana index",
"roles": ["kibana"],
"indices": [".kibana"],
"filters_bypass": ["
"],
"filters_execute": []
}
]
}

Elastic yml file configuration as follows
armor.rewrite_get_as_search: true
armor.authentication.authentication_backend.impl: com.petalmd.armor.authentication.backend.simple.SettingsBasedAuthenticationBackend
armor.authentication.authorizer.impl: com.petalmd.armor.authorization.simple.SettingsBasedAuthorizator
armor.authentication.http_authenticator.impl: com.petalmd.armor.authentication.http.basic.HTTPBasicAuthenticator
armor.authentication.settingsdb.user.admin: password
armor.authentication.settingsdb.user.kibana: kibana
armor.authentication.authorization.settingsdb.roles.admin: ["admin"]
armor.authentication.authorization.settingsdb.roles.kibana: ["kibana"]
armor.actionrequestfilter.names: ["readonly"]
armor.actionrequestfilter.readonly.allowed_actions: ["indices:data/read/", "monitor"]
armor.actionrequestfilter.readonly.forbidden_actions: ["cluster:admin
", "indices:admin_", "indices:data/write_"]

kibana yml as follows
elasticsearch.username: "kibana"
elasticsearch.password: "kibana"

screenshot of kibana issue

2

Plese help if some one has faced the issue earlier

@jehuty0shift
Copy link
Contributor

Hello @Ravi--Parmar, what is the result of this command :
curl -u kibana:kibana -XGET http://localhost:9200/.kibana/_search
assuming localhost is the address of your cluster.

@Ravi--Parmar
Copy link
Author

kibana
I am getting this thing @jehuty0shift

@jehuty0shift
Copy link
Contributor

It seems that you are not trying the command tahn the same machine that launched Kibana. Could you try Kibana on your windows machine or the curl command on your Ubuntu Machine ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants